Accton Technology ES4626 User Manual
Page 470

470
The followings are just configurations for all layer3 switches in area 1, configurations
for layer3 switches of the other areas are omitted. The following are the configurations of
SwitchA SwitchB.SwitchC and SwitchD:
1)SwitchA:
Configure IP address for interface vlan2
SwitchA#config
SwitchA(config)# interface vlan 2
SwitchA(config-If-Vlan2)# ip address 10.1.1.1 255.255.255.0
SwitchA(config-If-Vlan2)#exit
Enable OSPF protocol, configure the area number for interface vlan2.
SwitchA(config)#router ospf
SwitchA(config-router)#network 10.1.1.0/24 area 1
SwitchA(config-router)#exit
Configure simple key authentication.
SwitchA(config)#interface vlan 2
SwitchA(config-If-Vlan2)#ip ospf authentication
SwitchA(config-If-Vlan2)#ip ospf authentication-key DCS
SwitchA(config-If-Vlan2)exit
Configure IP address and area number for interface vlan1.
SwitchA(config)# interface vlan 1
SwitchA(config-If-Vlan1)#ip address 20.1.1.1 255.255.255.0
SwitchA(config-If-Vlan1)#exit
SwitchA(config)#router ospf
SwitchA(config-router)#network 20.1.1.0/24 area 1
SwitchA(config-router)#exit
2)SwitchB:
Configure IP address for interface vlan2
SwitchB#config
SwitchB(config)# interface vlan 2
SwitchB(config-If-Vlan2)# ip address 10.1.1.2 255.255.255.0
SwitchB(config-If-Vlan2)#exit
Enable OSPF protocol, configure the area number for interface vlan2.
SwitchB(config)#router ospf
SwitchB(config-router)#network 10.1.1.0/24 area 1
SwitchB(config-router)#exit
SwitchB(config)#interface vlan 2
Configure simple key authentication.
SwitchB(config)#interface vlan 2