3Com 4200G Switch User Manual


 
Configuring OSPF Route Summarization 119
# Configure the static routes 2.1.3.0/24, 2.1.4.0/24, 2.1.5.0/24, 2.1.6.0/24, and
2.1.7.0/24.
<SwitchC> system-view
[SwitchC] ip route-static 2.1.3.0 24 20.1.2.2
[SwitchC] ip route-static 2.1.4.0 24 20.1.2.2
[SwitchC] ip route-static 2.1.5.0 24 20.1.2.2
[SwitchC] ip route-static 2.1.6.0 24 20.1.2.2
[SwitchC] ip route-static 2.1.7.0 24 20.1.2.2
# Redistribute the static routes and configure the NSSA attribute of Switch C.
[SwitchC] ospf 1
[SwitchC-ospf-1] import-route static
[SwitchC-ospf-1] area 1
[SwitchC-ospf-1-area-0.0.0.1] nssa
[SwitchC-ospf-1-area-0.0.0.1] quit
Configure Switch B.
# Create VLANs and configure IP addresses for the VLAN interfaces. The
configuration procedure is omitted.
# Configure OSPF basic functions. The configuration procedure is omitted.
Configure Switch D.
# Create VLANs and configure IP addresses for the VLAN interfaces. The
configuration procedure is omitted.
# Configure OSPF basic functions. The configuration procedure is omitted.
# Configure the static routes 1.1.3.0/24, 1.1.4.0/24, 1.1.5.0/24, 1.1.6.0/24, and
1.1.7.0/24.
<SwitchD> system-view
[SwitchD] ip route-static 1.1.3.0 24 30.1.2.2
[SwitchD] ip route-static 1.1.4.0 24 30.1.2.2
[SwitchD] ip route-static 1.1.5.0 24 30.1.2.2
[SwitchD] ip route-static 1.1.6.0 24 30.1.2.2
[SwitchD] ip route-static 1.1.7.0 24 30.1.2.2
# Redistribute the static routes.
[SwitchD] ospf 1
[SwitchD-ospf-1] import-route static
ABR route summarization configuration
n
This configuration is applicable when an ABR needs to summarize the Type-3 LSAs
of an area. The following takes the ABR route summarization configuration on
Switch B as an example.
Based on “OSPF basic configuration and area configuration” on page 118,
perform the following configuration: