D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-102
DES-7200(config)# interface loopback 0
DES-7200(config-if-Loopback 0)# ip address 3.3.3.3 255.255.255.255
# Enable BGP, disable the BGP RF filtering function, and set up neighbor relations with PE1-AS1
and ASBR2.
DES-7200# configure terminal
DES-7200(config)# router bgp 1
DES-7200(config-router)# no bgp default route-target filter
DES-7200(config-router)# neighbor 1.1.1.1 remote-as 1
DES-7200(config-router)# neighbor 1.1.1.1 update-source loopback 0
DES-7200(config-router)# neighbor 30.30.30.2 remote-as 2
DES-7200(config-router)# address-family vpnv4 unicast
DES-7200(config-router-af)# neighbor 1.1.1.1 activate
DES-7200(config-router-af)# neighbor 30.30.30.2 activate
DES-7200(config-router-af)# end
# Configure MPLS signaling and enable MPLS on a public network interface.
DES-7200# configure terminal
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 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 10.10.10.2
255.255.255.0
DES-7200(config-if-gigabitethernet 1/1)# label-switching
DES-7200(config-if-gigabitethernet 1/1)# mpls ip
DES-7200(config-if-gigabitethernet 1/1)# end
# Run OSPF on the backbone network to transmit routes and redistribute directly connected
network routes.
DES-7200# configure terminal
DES-7200(config)# router ospf 10
DES-7200(config-router)# network 10.10.10.0 0.0.0.255 area 0
DES-7200(config-router)# network 3.3.3.3 0.0.0.0 area 0
DES-7200(config-router)# redisteibute connected subnets
DES-7200(config-router)# end