BGP Configuration Commands
649
Description
Using the peer as-number command, you can specify the peer AS number of peer
group. Using the undo peer as-number command, you can delete the AS number
of peer group.
By default, no AS number is configured.
Example
Specify the peer AS number for the peer test as 100.
[3Com-bgp] peer test as-number 100
peer as-path-acl
Syntax
peer {
group-name
|
peer-address
} as-path-acl
acl-number
{ import | export }
undo peer {
group-name
|
peer-address
} as-path-acl
acl-number
{ import | export }
View
BGP view, VPNv4 view, VPN instance view
Parameter
■
group-name: Specifies the name of peer group.
■
peer-address: Specifies the IP address of the peer.
■
acl-number: Specifies the filter list number of an AS regular expression. The
range is 1 to 199.
■
import: Import distribution list.
■
export: Export distribution list.
Description
Using the peer as-path-acl command, you can specify BGP route filtering policy
based on AS path list. Using the undo peer as-path-acl command, you can cancel
the existing configuration.
By default, the peer group has no AS path list.
Example
Set the AS path ACL of the peer group test.
[3Com-bgp] peer test as-number 100
[3Com-bgp] peer test as-path-acl 3 export
peer connect-interface
Syntax
peer {
group-name | peer-address
} connect-interface
interface-name
undo peer {
group-name | peer-address
} connect-interface
interface-name
View
BGP view
Parameter
■
group-name: Specifies the name of the peer group.
■
peer-address: Specifies the IP address of the peer.
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...