User's Manual

408
PE_config#interface vlan 1
Enters the interface configuration mode
PE_config_v1#ip vrf forwarding vrf-name
Relate the interface to VRF
PE_config_v1#ip address ip-address
subnet-mask
Configures the IP address of the interface.
56.3.3 Configuring the Target VPN Expansion Attribute of VRF
To configure the target VPN expansion attribute of VRF, do as follows:
Command Purpose
PE_config#ip vrf ce
Enters the configuration mode of VRF
PE_config_vrf_ce#rd ASN:nn or IP-
address:nn
Configures VRF routing tag and creates VRF
table.
PE_config_vrf_ce#route-target [export |
import | both ]ASN:nn or IP-address:nn
Configures input of VRF and output target
expansion attribute.
PE_config_vrf_ce#import map WORD
Configures route-map filter of the route
adding to VRF routing table.
PE_config_vrf_ce#export map WORD
Add target VPN expansion attribute
complying with route-map condition to the
output target VPN expansion attribute of
VRF.
Before publish the local route to other PE routing device, the entrance PE will add a route target
attribute to every route learned from the direct station. The target value affiliated to the route is based on
the VRF value configured in the output target expansion attribute.
Before installing the remote route published by other PE on the local VRF, every VRF on the entrance
PE route device will be configured with one input target expansion attribute. The PE routing device can
only be installed on a certain VRF until the routing target attribute borne by VPN-IPv4 matching with the
VRF input target.
56.3.4 Configuring Description of VRF
To configure the description of VRF, do as follows: