314
peer as-path-acl (BGP-VPNv4 subaddress family view)
Description
Use the peer as-path-acl command to specify filter routes received from or advertised to a specific peer or
peer group based on an AS_PATH list.
Use the undo peer as-path-acl command to remove the configuration.
By default, no AS filtering list is applied to a peer or peer group.
Syntax
peer { group-name | ip-address } as-path-acl as-path-acl-number { import | export }
undo peer { group-name | ip-address } as-path-acl as-path-acl-number { import | export }
View
BGP-VPNv4 subaddress family view
Default level
2: System level
Parameters
group-name: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
as-path-acl-number: Specifies the AS_PATH filtering list number, ranging from 1 to 256.
import: Filters the received routes.
export: Filters the routes to be advertised.
Examples
# In BGP-VPNv4 subaddress family view, apply AS filtering list 3 to routes advertised by peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test as-path-acl 3 export
peer capability-advertise orf ip-prefix (BGP-VPNv4 subaddress
family view)
Description
Use the peer capability-advertise orf ip-prefix command to enable the ORF capability for a BGP peer or
peer group.
Use the undo peer capability-advertise orf ip-prefix command to disable the ORF capability for a BGP
peer or peer group.
By default, the ORF capability is not enabled for a BGP peer or peer group.
• With the ORF capability enabled, the local BGP router negotiates the ORF capability with the BGP
peer through Open messages. After the negotiation succeeds, the BGP router can process Route-
refresh messages with the standard ORF information from the peer, or send Route-refresh messages
with the standard ORF information to the peer.