3Com 3031 Command Reference Manual page 649

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

peer as-path-acl
peer connect-interface
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
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
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.
BGP Configuration Commands
649

Advertisement

Table of Contents
loading

Table of Contents