R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

315
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.
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Parameters
group-name: Name of the peer group, a string of 1 to 47 characters.
ip-address: IP address of the peer.
both: Supports sending and receiving Route-refresh messages with ORF information.
receive: Supports receiving Route-refresh messages with ORF information.
send: Supports sending Route-refresh messages with ORF information.
Usage guidelines
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.
If you disable the ORF capability, the local BGP router does not negotiate the ORF capability with the
specified peer or peer group.