SGS-6341-Series User Manual

Table Of Contents
Initiate the OSPF protocol, configu
re the OSPF area to which interf
ace vlan3 belongs
Switch3(config)#router ospf
Switch3(config-router)# network 20.1.1.0/24 area 1
Switch3(config-router)#exit
Switch3(config)#exit
Switch3#
Layer 3 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 shutdown
Switch4(config-if-vlan3)#exit
Enable OSPF protocol, configure the OSPF area interfaces vlan3 resides in.
Switch4(config)#router ospf
Switch4(config-router)# network 30.1.1.0/24 area 0
Switch4(config-router)#exit
Switch4(config)#exit
Switch4#
Layer 3 Switch5:
Configuration of the IP address for interface vlan2
Switch5#config
Switch5(config)# interface vlan 2
Switch5(config-if-vlan2)# ip address 100.1.1.2 255.255.255.0
Switch5(config-if-vlan2)#no shutdown
Switch5(config-if-vlan2)#exit
Configuration of the IP address for interface vlan3
Switch5(config)# interface vlan 3
Switch5(config-if-vlan3)# ip address 30.1.1.1 255.255.255.0
Switch5(config-if-vlan3)#no shutdown
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)# network 30.1.1.0/24 area 0
26-36
User’s Manual of SGS-6341 series