Accton Technology ES4626 Switch User Manual


 
423
Switch3(Config-If-Vlan2)#exit
!Configuration of the IP address and area number for interface vlan3
Switch3(Config)# interface vlan 3
Switch3(Config-If-Vlan3)#ip address 20.1.3.1 255.255.255.0
Switch3(Config-If-Vlan3)#ip ospf enable area 1
Switch3(Config-If-Vlan3)#exit
!Configuration of the IP address and area number for interface vlan1
Switch3(Config)# interface vlan 1
Switch3(Config-If-Vlan1)#ip address 10.1.5.1 255.255.255.0
Switch3(Config-If-Vlan1)#ip ospf enable area 0
!Configure MD5 key authentication.
Switch3 (Config-If-Vlan1)#ip ospf authentication md5 key
Switch3 (Config-If-Vlan1)#exit
Switch3(Config)#exit
Switch3#
4)Switch4:
!Configuration of the IP address for interface vlan2
Switch4#config
Switch4(Config)# interface vlan 2
Switch4(Config-If-Vlan2)# ip address 10.1.1.4 255.255.255.0
Switch4(Config-If-Vlan2)#exit
Enable OSPF protocol, configure the area number for interface vlan2.
Switch4(Config)#router ospf
Switch4(Config-router-ospf)#exit
Switch4(Config)#interface vlan 2
Switch4(Config-If-Vlan2)#ip ospf enable area 1
!Configure simple key authentication.
Switch4(Config-If-Vlan2)#ip ospf authentication simple key
Switch4(Config-If-Vlan2)#exit
!Configuration of the IP address and area number for interface vlan1
Switch4(Config)# interface vlan 1
Switch4(Config-If-Vlan1)# ip address 10.1.6.1 255.255.255.0
Switch4(Config-If-Vlan1)#ip ospf enable area 0
!Configure MD5 key authentication.
Switch4(Config-If-Vlan1)#ip ospf authentication md5 key
Switch4(Config-If-Vlan1)exit
Switch4(Config)#exit
Switch4#