3com S7906E Guide De Référence
1-20
Use the undo peer allow-as-loop command to remove the configuration.
Examples
# Allow the local AS number to appear repeatedly in the AS-PATH attribute of a route received from
peer 1.1.1.1 for up to twice.
<Sysname> system-view
[Sysname] bgp 100
[Sysname] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer 1.1.1.1 allow-as-loop 2
peer group
Syntax
peer ip-address group group-name [ as-number as-number ]
undo peer ip-address group group-name
View
BGP-VPN instance view
Default Level
2: System level
Parameters
ip-address: IP address of a peer.
group-name: Name of a peer group, a string of 1 to 47 characters.
as-number as-number: Specifies an AS number, which ranges from 1 to 65535.
Description
Use the peer group command to add a peer to a peer group.
Use the undo peer group command to remove a peer from a peer group.
Examples
# Add the peer with the IP address 1.1.1.1 to the peer group named “test”.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer 1.1.1.1 group test
refresh bgp vpn-instance
Syntax
refresh bgp vpn-instance vpn-instance-name { ip-address | all | external | group group-name }
{ export | import }
View
User view