488
SwitchA(config-router)#exit
SwitchA(config)#router ospf 200 vpnc
SwitchA(config-router)#network 20.1.1.0/24 area 0
SwitchA(config-router)#redistribute bgp
b) The Layer 3 switch SwitchB of CE1:
Configure the IP address of Ethernet E 1/2
SwitchB#config
SwitchB(config)# interface Vlan1
SwitchB(config-if-vlan1)# ip address 10.1.1.2 255.255.255.0
SwitchB (config-if-vlan1)exit
Enable OSPF protocol and configuring OSPF segments
SwitchB(config)#router ospf
SwitchB(config-router-rip)#network 10.1.1.0/24 area 0
SwitchB(config-router-rip)#exit
c) The Layer 3 switch SwitchC of CE2
Configure the IP address of Ethernet E 1/2
SwitchC#config
SwitchC(config)# interface Vlan1
SwitchC(config-if-vlan1)# ip address 20.1.1.2 255.255.255.0
SwitchC (config-if-vlan1)#exit
Initiate OSPF protocol and configuring OSPF segments
SwitchC(config)#router ospf
SwitchC(config-router)#network 20.1.1.0/24 area 0
SwitchC(config-router)#exit
14.6.5 OSPF Troubleshooting Help
The OSPF protocol may not be working properly due to errors such as physic
connection, configuration error when configuring and using the OSPF protocol. So users
should pay attention to following:
First ensure the physic connection is correct
Second, ensure the interface and link protocol are UP (use show interface command)
Configure different IP address from different segment on each interface
Then initiate OSPF protocol (use router-ospf command) and configure the OSPF
area on corresponding interface
After that, a OSPF protocol feature should be checked---the OSPF backbone area
should be continuous and apply virtual link to ensure it is continuous. if not; all non 0
areas should only be connected to other non 0 area through 0 area; a border Layer 3
switch means that one part of the interfaces of this switch belongs to 0 area, the other