HPE 5800 Series Configuration Manual page 96

Layer 3 - ip routing
Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

Figure 24 Network diagram
Switch A
Vlan-int200
10.2.1.1/24
Area 1
Vlan-int200
10.2.1.2/24
Switch C
Configuration procedure
Configure IP addresses for interfaces. (Details not shown.)
1.
Configure OSPF basic functions:
2.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] ospf
[SwitchA-ospf-1] area 0
[SwitchA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[SwitchA-ospf-1-area-0.0.0.0] quit
[SwitchA-ospf-1] area 1
[SwitchA-ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255
[SwitchA-ospf-1-area-0.0.0.1] quit
[SwitchA-ospf-1] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] ospf
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] area 2
[SwitchB-ospf-1-area-0.0.0.2] network 10.3.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.2] quit
[SwitchB-ospf-1] quit
# Configure Switch C
<SwitchC> system-view
[SwitchC] ospf
[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
[SwitchC-ospf-1-area-0.0.0.1] quit
[SwitchC-ospf-1] quit
# Configure Switch D
<SwitchD> system-view
[SwitchD] ospf
[SwitchD-ospf-1] area 2
Area 0
Vlan-int100
10.1.1.1/24
Vlan-int100
10.1.1.2/24
Vlan-int300
Vlan-int300
10.4.1.1/24
10.5.1.1/24
Switch B
Vlan-int200
10.3.1.1/24
Vlan-int200
Area 2
10.3.1.2/24
Switch D
85

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents