R3303-HP HSR6800 Routers MPLS Command Reference
319
peer as-path-acl (BGP-VPNv4 subaddress family view)
Use peer as-path-acl to specify to filter routes received from, or to be advertised to, a specific peer or
peer group based on an AS_PATH list.
Use undo peer as-path-acl to remove the configuration.
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 }
Default
No AS filtering list is applied to a peer or peer group.
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, 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 in the range of 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)
Use peer capability-advertise orf ip-prefix to enable the ORF capability for a BGP peer or peer group.
Use undo peer capability-advertise orf ip-prefix to disable the ORF capability for a BGP peer or peer
group.
Syntax
peer { group-name | ip-address } capability-advertise orf ip-prefix { both | receive | send }
undo peer { group-name | ip-address } capability-advertise orf ip-prefix { both | receive | send }
Default
The ORF capability is not enabled for a BGP peer or peer group.










