Accton Technology ES4626 Switch User Manual


 
422
Switch1(Config-If-Vlan2)exit
!Configuration of the IP address and area number for interface vlan1
Switch1(Config)# interface vlan 1
Switch1(Config-If-Vlan1)#ip address 20.1.1.1 255.255.255.0
Switch1(Config-If-Vlan1)#ip ospf enable area 1
Switch1(Config-If-Vlan1)#exit
2)Switch2:
!Configuration of the IP address for interface vlan2
Switch2#config
Switch2(Config)# interface vlan 2
Switch2(Config-If-Vlan2)# ip address 10.1.1.2 255.255.255.0
Switch2(Config-If-Vlan2)#exit
Enable OSPF protocol, configure the area number for interface vlan2.
Switch2(Config)#router ospf
Switch2(Config-router-ospf)#exit
Switch2(Config)#interface vlan 2
Switch2(Config-If-Vlan2)#ip ospf enable area 1
!Configure simple key authentication.
Switch2(Config-If-Vlan2)#ip ospf authentication simple key
Switch2(Config-If-Vlan2)#exit
!Configuration of the IP address and area number for interface vlan1
Switch2(Config)# interface vlan 1
Switch2(Config-If-Vlan1)#ip address 20.1.2.1 255.255.255.0
Switch2(Config-If-Vlan1)#ip ospf enable area 1
Switch2(Config-If-Vlan1)#exit
Switch2(Config)#exit
Switch2#
3)Switch3:
!Configuration of the IP address for interface vlan2
Switch3#config
Switch3(Config)# interface vlan 2
Switch3(Config-If-Vlan2)# ip address 10.1.1.3 255.255.255.0
Switch3(Config-If-Vlan2)#exit
Enable OSPF protocol, configure the area number for interface vlan2.
Switch3(Config)#router ospf
Switch3(Config-router-ospf)#exit
Switch3(Config)#interface vlan 2
Switch3(Config-If-Vlan2)#ip ospf enable area 1
!Configure simple key authentication.
Switch3(Config-If-Vlan2)#ip ospf authentication simple key