3Com 4200G, 5500G, 4210 manual # Configure Ospf for the backbone area, # Configure Ospf for area

Models: 4210 5500 5500G 4200G

1 336
Download 336 pages 59.74 Kb
Page 107
Image 107

Configuring a (Totally) Stub Area 107

Product series

Software version

Hardware version

 

 

 

Switch 5500G

Release V03.02.04

All versions

Switch 4500

Release V03.03.00

All versions

 

 

 

Configuration Procedure Non-backbone area and backbone area configuration (area 1 is a non-backbone area)

Configure Switch A.

#Create VLANs and configure IP addresses for the VLAN interfaces. The configuration procedure is omitted.

#Configure OSPF for area 1.

<SwitchA> system-view

[SwitchA] ospf 1 router-id 1.1.1.1 [SwitchA-ospf-1] area 1 [SwitchA-ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255

# Configure OSPF for the backbone area.

[SwitchA-ospf-1] area 0 [SwitchA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255

Configure Switch B (refer to “Configure Switch A.” on page 107).

Configure Switch C.

#Create VLANs and configure IP addresses for the VLAN interfaces. The configuration procedure is omitted.

#Configure OSPF for area 1.

<SwitchC> system-view

[SwitchC] ospf 1 router-id 3.3.3.3 [SwitchC-ospf-1] area 1 [SwitchC-ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255

[SwitchC-ospf-1-area-0.0.0.1] network 10.4.1.0 0.0.0.255

Configure Switch D.

#Create VLANs and configure IP addresses for the VLAN interfaces. The configuration procedure is omitted.

#Configure a static route of 1.0.0.0/8.

<SwitchD> system-view

[SwitchD] ip route-static 1.0.0.0 8 10.5.1.2

# Configure OSPF for area 2.

[SwitchD] ospf 1 router-id 4.4.4.4 [SwitchD-ospf-1] area 2 [SwitchD-ospf-1-area-0.0.0.2] network 10.3.1.0 0.0.0.255

[SwitchD-ospf-1-area-0.0.0.2] network 10.5.1.0 0.0.0.255

[SwitchD-ospf-1-area-0.0.0.2] quit

Page 107
Image 107
3Com 4200G, 5500G, 4210 manual # Configure Ospf for the backbone area, # Configure Ospf for area