D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 8 VRF
Configuration
8-12
interface into VLAN and configure IP address for interface are omitted here.
SwitchC(config)#router ospf 1
SwitchC(config-router)#network 10.10.30.0 0.0.0.255 area 0
SwitchC(config-router)#network 192.168.20.0 0.0.0.255 area 0
Configure OSPF routing protocol on MCE device
MCE(config)#router ospf 1 vrf vpnc
MCE(config-router)#network 10.10.30.0 0.0.0.255 area 0
MCE(config-router)#network 10.10.60.0 0.0.0.255 area 0
Configure OSPF routing protocol on PE device
PE(config)#router ospf 1 vrf vpnc
PE(config-router)#network 10.10.60.0 0.0.0.255 area 0
Verify Configurations
1) Display routing information of VPNa instance
View routing information on SwitchA (access device of VPNa site)
SwitchA (config)#show ip route
Gateway of last resort is 10.10.10.3 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 10.10.10.3
C 10.10.10.0/24 is directly connected, VLAN 10
C 10.10.10.2/32 is local host.
C 192.168.10.0/24 is directly connected, FastEthernet 0/23
C 192.168.10.1/32 is local host.
View routing information of VPNa instance on MCE device
MCE#show ip route vrf vpna
Routing Table: vpna
C 10.10.10.0/24 is directly connected, VLAN 10
C 10.10.10.3/32 is local host.
C 10.10.40.0/24 is directly connected, VLAN 40
C 10.10.40.1/32 is local host.
S 192.168.10.0/24 [1/0] via 10.10.10.2
View routing information of VPNa instance on PE device
PE#show ip route vrf vpna
Routing Table: vpna
S 10.10.10.0/24 [1/0] via 10.10.40.1
C 10.10.40.0/24 is directly connected, VLAN 40
C 10.10.40.2/32 is local host.