D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-7
DES-7200(config-if-type ID)# show
running-config
View all configuration information.
# Configure an MPLS network.
DES-7200# configure terminal
DES-7200(config)# mpls router ldp
DES-7200(config-mpls-router)# ldp router-id interface loopback 0 force
DES-7200(config-mpls-router)# exit
DES-7200(config)#interface gigabitethernet 1/1
# The no switchport command is used to switch the port mode on switches to routed port mode.
It is not applicable to routers. You are not required to run this command on routers.
DES-7200(config-if-gigabitethernet 1/1)# no switchport
DES-7200(config-if-gigabitethernet 1/1)# ip address 192.168.10.1 255.255.255.0
DES-7200(config-if-gigabitethernet 1/1)# label-switching
DES-7200(config-if-gigabitethernet 1/1)# mpls ip
2.3.1.2 Configuring a VPN Routing Instance
A VPN routing instance is the VRF that is configured on PEs. The CE and P devices do not
have VRFs.
The configuration of a VRF includes defining the VRF, assigning RD and RT values to the VRF,
and associating the VRF with an interface. The configuration procedure is as follows:
Command Function
DES-7200# configure terminal
Enter the global configuration mode.
DES-7200(config)# ip vrf
vrf-name
Create a VRF and enter the VRF configuration
mode.
DES-7200(config-vrf)# rd rd-value
Set the RD value.
Ruiije(config-vrf)# route-target
{both | export | import} rt-value
Set the RT value.
DES-7200(config-vrf)# exit
Quit the VRF configuration mode.
DES-7200(config-if-type ID)#
interface type ID
Enter the interface configuration mode.
DES-7200(config-if-type ID)# ip
vrf forwarding vrf-name
Associate the interface with the VRF.
DES-7200(config-if-type ID)# ip
address address mask
Assign an IP address to the interface.