Ospf Configuration Examples; Basic Ospf Configuration Example - HP 6125XLG Layer 3 - Ip Routing Configuration Manual

Blade switch
Hide thumbs Also See for 6125XLG:
Table of Contents

Advertisement

Task
Re-enable OSPF route
redistribution.

OSPF configuration examples

These configuration examples only cover commands for OSPF configuration.

Basic OSPF configuration example

Network requirements
Enable OSPF on all switches, and split the AS into three areas.
Configure Switch A and Switch B as ABRs.
Figure 22 Network diagram
Switch A
Vlan-int200
10.2.1.1/24
Area 1
Vlan-int200
10.2.1.2/24
Switch C
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Enable OSPF:
# Configure Switch A.
<SwitchA> system-view
[SwitchA] router id 10.2.1.1
[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] router id 10.3.1.1
[SwitchB] ospf
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
Command
reset ospf [ process-id ] redistribution
Switch B
Vlan-int200
10.3.1.1/24
Vlan-int200
Area 2
10.3.1.2/24
Switch D
97

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents