D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-143
DES-7200(config-router)# network 10.1.0.0 0.0.255.255 area 0
DES-7200(config-router)# exit
DES-7200(config)# router ospf 2
DES-7200(config-router)# network 1.1.1.1 0.0.0.0 area 0
DES-7200(config-router)# network 5.5.5.0 0.0.0.255 area 0
DES-7200(config-router)# exit
# Configure MPLS network
DES-7200(config)# mpls ip
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 tunnel 0
# In case of a router, enable fast forwarding on the interface (not applicable to a switch)
DES-7200(config-if)# ip ref
DES-7200(config-if)# mpls ip
DES-7200(config-if)# label-switching
DES-7200(config-if)# exit
# Configure MPLS VPN
## Configure VRF
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 0/1
# In case of a switch, configure the interface to RoutedPort interface (not applicable to a
router)
DES-7200(config-if)# no switchport
# In case of a router, enable fast forwarding on the interface (not applicable to a switch)
DES-7200(config-if)# ip ref
DES-7200(config-if)# ip vrf forwarding vpn1
DES-7200(config-if)# ip address 192.168.1.1 255.255.255.0
DES-7200(config-if)# no shutdown
DES-7200(config-if)# exit
## Configure MP-IBGP
DES-7200(config)# router bgp 100
DES-7200(config-router)# neighbor 2.2.2.2 remote-as 100
DES-7200(config-router)# neighbor 2.2.2.2 update-source Loopback 0