peer as-path-acl (IPv6 address family view)
Syntax
View
Parameters
Description
Examples
peer capability-advertise route-refresh
Syntax
View
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test external
[Sysname-bgp-af-ipv6] peer test as-number 100
peer { group-name | ipv4-address | ipv6-address } as-path-acl as-path-acl-number
{ import | export }
undo peer { group-name | ipv4-address | ipv6-address } as-path-acl
as-path-acl-number { import | export }
IPv6 address family view
group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address: IPv4 address of a peer.
ipv6-address: IPv6 address of a peer.
as-path-acl-number: Number of an AS path ACL, in the range 1 to 256.
import: Filters incoming routes.
export: Filters outgoing routes.
Use the
peer as-path-acl
incoming from or outgoing to a peer/peer group.
Use the
undo peer as-path-acl
By default, no AS path list is specified for filtering.
# Specify the AS path ACL 3 to filter routes outgoing to the peer 1:2::3:4.
<Sysname> system-view
[Sysname] ip as-path-acl 3 permit ^200
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-path-acl 3 export
peer { ipv6-group-name | ipv6-address } capability-advertise route-refresh
undo peer { ipv6-group-name | ipv6-address } capability-advertise route-refresh
IPv6 address family view
command to specify an AS path ACL to filter routes
command to remove the configuration.
1245