D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-166
DES-7200(config-if-GigabitEthernet 1/1)# mpls ip
DES-7200(config-if-GigabitEthernet 1/1)# end
# Configure routing protocol for the backbone network
DES-7200# configure terminal
DES-7200(config)# router ospf 1
DES-7200(config-router)# network 172.168.10.0 0.0.0.255 area 0
DES-7200(config-router)# network 172.168.0.1 0.0.0.0 area 0
DES-7200(config-router)# end
P1:
The configuration steps are similar to that of P in the MPLS backbone network
SITEB:
# Configure Trunk link between PE and CE
DES-7200# configure terminal
DES-7200(config)# interface gigabitethernet 1/0
# VLAN is the configuration command used on switch products, and is not applicable to routers
(except for the switching card interface). Routers can use the routing interface to connect with
PE.
DES-7200(config-if-GigabitEthernet 1/0)# switchport mode trunk
DES-7200(config-if-GigabitEthernet 1/0)# end
# Configure tow VRFs to represent different services and bind respective interfaces
DES-7200# configure terminal
DES-7200(config)# ip vrf VPN1
DES-7200(config-vrf)# exit
DES-7200(config)# VLAN 10
DES-7200(config)# interface vlan 30
# VLAN is the configuration command used on switch products, and is not applicable to routers
(except for the switching card interface). Routers can use the subinterface to bind VRF.
DES-7200(config-if-vlan 10)# ip vrf forwarding VPN1
DES-7200(config-if-vlan 10)# ip address 192.168.30.2 255.255.255.0
DES-7200(config)# ip vrf VPN2
DES-7200(config-vrf)# exit