D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-111
# Configure a multi-hop MP-EBGP session and disable IPv4 route exchange for the session.
The configuration procedure is similar to that of Inter AS VPN OptionC: Enabling IPv4 Label
Exchange Between EBGP Neighbors and is not described here.
# Set up an IBGP session with the ASBR and enable IPv4 label switching.
DES-7200# configure terminal
DES-7200(config)# router bgp 1
DES-7200(config-router)# neighbor 3.3.3.3 remote-as 1
DES-7200(config-router)# neighbor 3.3.3.3 update-source loopback 0
DES-7200(config-router)# address-family ipv4
DES-7200(config-router-af)# neighbor 3.3.3.3 activate
DES-7200(config-router-af)# neighbor 3.3.3.3 send-label
DES-7200(config-router-af)# end
# Configure CE neighbors through EBGP.
Refer to the configuration procedure in Running BGP Between a PE and CE to Transmit VPN
Routes and the related configurations in Intranet Configuration Examples.
# 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/0
# 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/0)# no switchport
DES-7200(config-if-gigabitethernet 1/0)# ip address 20.20.20.1
255.255.255.0
DES-7200(config-if-gigabitethernet 1/0)# label-switching
DES-7200(config-if-gigabitethernet 1/0)# mpls ip
DES-7200(config-if-gigabitethernet 1/0)# end
# Run OSPF on the backbone network to transmit routing information.
DES-7200# configure terminal
DES-7200(config)# router ospf 10
DES-7200(config-router)# network 20.20.20.0 0.0.0.255 area 0