Accton Technology ES4626 Switch User Manual


 
418
Switch1(Config)#interface vlan2
Switch1 (Config-if-vlan2)#ip ospf enable area 0
Switch1 (Config-if-vlan2)#exit
Switch1(Config)#exit
Switch1#
Layer3 switch Switch2:
!Configure the IP address for interface vlan1 and vlan2.
Switch2#config
Switch2(Config)# interface vlan 1
Switch2(Config-if-vlan1)# ip address 10.1.1.2 255.255.255.0
Switch2(Config-if-vlan1)#no shut-down
Switch2(Config-if-vlan1)#exit
Switch2(Config)# interface vlan 3
Switch2(Config-if-vlan3)# ip address 20.1.1.1 255.255.255.0
Switch2(Config-if-vlan3)#no shut-down
Switch2(Config-if-vlan3)#exit
Enable OSPF protocol, configure the OSPF area interfaces vlan1 and vlan3 in.
Switch2(Config)#router ospf
Switch2(Config-router-ospf)#exit
Switch2(Config)#interface vlan 1
Switch2(Config-if-vlan1)#ip ospf enable area 0
Switch2(Config-if-vlan1)#exit
Switch2(Config)#interface vlan 3
Switch2(Config-if-vlan3)#ip ospf enable area 1
Switch2(Config-if-vlan3)#exit
Switch2(Config)#exit
Switch2#
Layer3 switch Switch3:
!Configuration of the IP address for interface vlan3
Switch3#config
Switch3(Config)# interface vlan 3
Switch3(Config-if-vlan1)# ip address 20.1.1.2 255.255.255.0
Switch3(Config-if-vlan3)#no shut-down
Switch3(Config-if-vlan3)#exit
Enable OSPF protocol, configure the OSPF area interfaces vlan3 resides in.
Switch3(Config)#router ospf
Switch3(Config-router-ospf)#exit
Switch3(Config)#interface vlan 3
Switch3(Config-if-vlan3)#ip ospf enable area 1