3com 8807 Reference Guide

Page of 1099
746
C
HAPTER
 40: BGP/MPLS VPN C
ONFIGURATION
 C
OMMANDS
Example
# Add a CE neighbor to a peer group.
[3Com-bgp] ipv4-family vpn-instance vrf1
 
[3Com-bgp-af-vpn-instance] peer 1.1.1.1 group ebgp as-number 600
 
[3Com-bgp-af-vpn-instance] quit
 
[3Com-bgp] ipv4-family vpnv4
 
[3Com-bgp-af-vpn] peer 1.1.1.1 vpn-instance vrf1 group ebgp 
peer vpn-instance 
route-policy import
Syntax
peer { peer-address | group-name } vpn-instance vpn-instance-name 
route-policy policy-name import
undo peer { peer-address | group-name } vpn-instance vpn-instance-name 
route-policy policy-name import
View
BGP-VPNv4 sub-address family view
Parameter
peer-address: IP address of a peer, in dotted decimal.
group-name: Name of a peer group.
vpn-instance-name: Name of the VPN instance the CE peer belongs to.
policy-name: Name of the routing policy to be applied.
Description
Use the peer vpn-instance route-policy import command to configure the 
routing policy applied by the CE peer to VPNv4 routes it received.
Use the undo peer vpn-instance route-policy import command to cancel the 
configuration.
By default, no routing policy is configured.
The ingress routing policy configured for a peer takes precedence over the 
configuration for the peer group.
Example
# Configure the peer group ebgp to apply the routing policy named comtest to 
the ingress routes.
[3Com-bgp-af-vpn] peer ebgp vpn-instance vrf1 route-policy comtest import 
policy vpn-target
Syntax
policy vpn-target
undo policy vpn-target
View
BGP-VPNv4 sub-address family view