OSPF routing configuration

Networking Requirements
all switches running OSPF, the autonomous system is divided into three areas, the ABR SwitchA and B as to forward routing information between areas of FIG followsOSPF routing configuration

Step 1: Configure IP address of each interface
, for example: 100 VLAN
Port G 1/0/10
quit
int VLAN 100
IP 24 10.1.1.2 the Add
quit

Step two: to Switch A and B, the basic configuration of OSPF configuration
example: Router ID 10.2.1.1
OSPF
Area 0
Network 10.1.1.0 0.0.0.255
quit

Third Step: Verify the configuration
using the ping test on Switch D
ping 10.4.1.1

View related configuration commands
display ospf peer verbose (see OSPF neighbors
display ospf routing (see ospf routing information
display ospf abr-asbr (see ABR / ASBR information

Redistribute routes.
Configure a static route to the destination network segment
OSPF. 1
Import-route static

Guess you like

Origin blog.51cto.com/14221761/2402426