Command Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration Commands
1-49
Default Level
2: System level
Parameters
ip-address
: IP address of the peer.
group-name
: Name of the peer group.
route-policy-name
: Name of the routing policy.
import
: Filters the received routes.
export
: Filters the routes to be advertised.
Description
Use the
peer route-policy
command to apply a routing policy to a peer or peer group.
Use the
undo peer route-policy
command to remove the application.
By default, no routing policy is applied to a peer or peer group.
Examples
# In BGP-VPNv4 subaddress family view, apply routing policy test-policy to peer group
test to filter the received routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test route-policy test-policy import
1.1.41 peer upe
Syntax
peer
{
ip-address
|
group-name
}
upe
undo
peer
{
ip-address
|
group-name
}
upe
View
BGP-VPNv4 subaddress family view
Default Level
2: System level
Parameters
ip-address
: IP address of the peer.
group-name
: Name of the peer group.