SGS-6340 Series User Manual

Table Of Contents
Configuratio
n 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
Switch5(config-router)# network 100.1.1.0/24 area 0
Switch5(config-router)#exit
Switch5(config)#exit
Switch5#
Scenario 2: Typical OSPF protocol complex topology.
Area 3
Area 2
Area 1
N3
N1
N8
N5
N6
N9
N10
N4
N2
N15 N14
N7
N11
Area 0
N12
N13
Swi
tch H
Switch G
Switch J
Switch K
Switch L
Switch I
Switch F
Switch E
Switch D
Switch C
Switch B
Switch A
Figure 26-5
Typical complex OSPF autonomous system
This scenario is a typical complex OSPF autonomous system network topology. Area1 include
network N1-N4 and Layer 3 SwitchA-SwitchD, area2 include network N8-N10, host H1 and
Layer 3 SwitchH, area3 include N5-N7 and Layer 3 SwitchF, SwitchG SwitchA0 and Switch11,
and network N8-N10 share a summary route with host H1(i.e. area3 is defined as a STUB
area). Layer 3 SwitchA, SwitchB, SwitchD, SwitchE, SwitchG, SwitchH, Switch12 are in-area
Layer 3 switches, SwitchC, SwitchD, SwitchF, Switch10 and Switch11 are edge Layer 3
switches of the area, SwitchD and SwitchF are edge Layer 3 switches of the autonomous
system.
26-37