D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-142
# 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 address 172.1.4.1 255.255.255.0
DES-7200(config-if)# no shutdown
DES-7200(config-if)# exit
# Configure IGP routing instance
DES-7200(config)# router ospf 1
DES-7200(config-router)# network 172.1.1.0 0.0.0.255 area 0
DES-7200(config-router)# network 172.1.5.0 0.0.0.255 area 0
DES-7200(config-router)# network 172.1.4.0 0.0.0.255 area 0
DES-7200(config-router)# network 10.1.0.0 0.0.255.255 area 0
DES-7200(config-router)# exit
Configure PE device. Here we will take PE1 as the example. The configurations of other devices
are the same.
# Configure public-network interface and IP address
DES-7200(config)# interface Loopback 0
DES-7200(config-if)# ip address 1.1.1.1 255.255.255.255
DES-7200(config-if)# exit
DES-7200(config)# interface gigabitEthernet 0/0
# 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 address 10.1.0.1 255.255.0.0
DES-7200(config-if)# no shutdown
DES-7200(config-if)# exit
# Create GRE tunnel
DES-7200(config)# interface tunnel 0
DES-7200(config-if)# ip address 5.5.5.1 255.255.255.0
DES-7200(config-if)# tunnel mode gre ip
DES-7200(config-if)# tunnel source 10.1.0.1
DES-7200(config-if)# tunnel destination 10.2.0.1
DES-7200(config-if)# exit
# Configure IGP route
DES-7200(config)# router ospf 1