H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples
Routing Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135 Chapter 3 Comprehensive Configuration Example
3-8
# Run OSPF on interfaces connected to networks 162.1.1.0/24, 162.1.2.0/24, and
166.1.1.0/24 and specify their area ID as 10.
<S200_10> system-view
[S200_10] ospf
[S200_10-ospf-1] area 10
[S200_10-ospf-1-area-0.0.0.10] network 162.1.1.0 0.0.0.255
[S200_10-ospf-1-area-0.0.0.10] network 162.1.2.0 0.0.0.255
[S200_10-ospf-1-area-0.0.0.10] network 166.1.1.0 0.0.0.255
Figure 3-4 shows the network diagram of AS 400.
Device Interface IP address Area
S400 Vlan-int 16 206.1.6.3/24 0
S400_0 Vlan-int 16 206.1.6.1/24 0
Vlan-int 663 166.1.3.1/24 0.0.1.44
Vlan-int 664 166.1.4.1/24 0.0.1.44
Figure 3-4 Network diagram for AS 400 configuration
z Configure S400.
# Run OSPF on the interface connected to network 206.1.6.0/24 and specify its area ID
as 0.
<S400> system-view
[S400] ospf
[S400-ospf-1] area 0
[S400-ospf-1-area-0.0.0.0] network 206.1.6.0 0.0.0.255
z Configure S400_0.
# Run OSPF on the interface connected to network 206.1.6.0/24 and specify its area ID
as 0.
<S400_0> system-view
[S400_0] ospf
[S400_0-ospf-1] area 0
[S400_0-ospf-1-area-0.0.0.0] network 206.1.6.0 0.0.0.255
[S400_0-ospf-1-area-0.0.0.0] quit
# Run OSPF on interfaces connected to networks 166.1.3.0/24 and 166.1.4.0/24 and
specify their area ID as 0.0.1.44.
[S400_0-ospf-1] area 0.0.1.44
[S400_0-ospf-1-area-0.0.1.44] network 166.1.3.0 0.0.0.255