Accton Technology ES4626 Switch User Manual


 
419
Switch3(Config-if-vlan3)#exit
Switch3(Config)#exit
Switch3#
Layer3 switch Switch4:
!Configuration of the IP address for interface vlan3
Switch4#config
Switch4(Config)# interface vlan 3
Switch4(Config-if-vlan3)# ip address30.1.1.2 255.255.255.0
Switch4(Config-if-vlan3)#no shut-down
Switch4(Config-if-vlan3)#exit
Enable OSPF protocol, configure the OSPF area interfaces vlan3 resides in.
Switch4(Config)#router ospf
Switch4(Config-router-ospf)#exit
Switch4(Config)#interface vlan 3
Switch4(Config-if-vlan3)#ip ospf enable area 0
Switch4(Config-if-vlan3)#exit
Switch4(Config)#exit
Switch4#
Layer3 switch Switch5:
!Configuration of the IP address for interface vlan2
Switch5#config
Switch5(Config)# interface vlan 2
Switch5(Config-if-vlan2)# ip address 30.1.1.1 255.255.255.0
Switch5(Config-if-vlan2)#no shut-down
Switch5(Config-if-vlan2)#exit
! Configuration of the IP address for interface vlan3
Switch5(Config)# interface vlan 3
Switch5(Config-if-vlan3)# ip address 100.1.1.2 255.255.255.0
Switch5(Config-if-vlan3)#no shut-down
Switch5(Config-if-vlan3)#exit
Enable OSPF protocol, configure the number of the area in which interface vlan2
and vlan3 reside in.
Switch5(Config)#router ospf
Switch5(Config-router-ospf)#exit
Switch5(Config)#interface vlan 2
Switch5(Config-if-vlan2)#ip ospf enable area 0
Switch5(Config-if-vlan2)#exit
Switch5(Config)#interface vlan 3
Switch5(Config-if-vlan3)#ip ospf enable area 0