3com MSR 20-20 참조 매뉴얼
987
undo peer { group-name | ip-address } as-path-acl as-path-acl-number { export |
import }
import }
View
BGP view/BGP-VPN instance view
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
as-path-acl-number: AS path ACL number, in the range 1 to 256.
export: Filters outgoing routes.
import: Filters incoming routes.
Description
Use the peer as-path-acl command to configure the filtering of routes incoming
from or outgoing to a peer/peer group based on a specified AS path ACL.
from or outgoing to a peer/peer group based on a specified AS path ACL.
Use the undo peer as-path-acl command to remove the configuration.
By default, no AS path ACL filtering is configured.
Related commands:
Examples
# In BGP view, reference the AS path ACL 1 to filter routes outgoing to the peer
group test.
group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test as-path-acl 1 export
# In BGP-VPN instance view, reference the AS path ACL 1 to filter routes outgoing
to the peer group test (the VPN has been created).
to the peer group test (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test as-path-acl 1 export
peer capability-advertise conventional
Syntax
peer { group-name | ip-address } capability-advertise conventional
undo peer { group-name | ip-address } capability-advertise conventional
View
BGP view
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.