D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-8
DES-7200(config-if-type ID)#
show running-config
View all configuration information.
# Configure a VRF and bind it to Gigabitethernet 1/1.
DES-7200(config)# ip vrf vpn1
DES-7200(config-vrf)# rd 100: 1
DES-7200(config-vrf)# route-target both 100: 1
DES-7200(config-vrf)# 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 vrf forwarding vpn1
DES-7200(config-if-gigabitethernet 1/1)# ip address 192.168.10.1
255.255.255.0
Caution
1. If the VRF on a PE is defined with an RD value or the PE is enabled
with BGP VRF, the RD value cannot be modified or deleted. In this
case, you can only delete the VRF and create the VRF again to set
the RD value.
2. Two different VRFs on the same PE cannot be assigned with the
same RD.
3. If you enter the ip vrf forwarding vrf-name command, the IP address
assigned to the interface earlier is deleted. In this case, you need to
redefine the IP address in the interface mode.
2.3.1.3 Configuring PEs to Transmit VPN Routes
PEs transmit routing information through BGP. Since a PE needs to transmit VPN routing
information rather than common IPv4 routing information with another PE, you need to enter the
VPN address family mode to configure the PE to transmit VPN routes with the peer PE. The
configuration procedure is as follows:
Command Function
DES-7200# configure terminal
Enter the global configuration mode.
DES-7200(config)# router bgp
asn-num
Create a BGP domain and enter the BGP
configuration mode.