HPE 5800 Series Configuration Manual page 115

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

Advertisement

Configure Switch C as an ASBR to redistribute external routes (static routes), and configure a
filter policy on Switch C to filter out redistributed route 3.1.3.0/24.
Configure a routing policy on Switch A to filter route 10.5.1.0/24.
Figure 32 Network diagram
Switch A
Vlan-int200
Area 1
10.2.1.2/24
Switch C
Configuration procedure
Configure IP addresses for interfaces. (Details not shown.)
1.
Configure OSPF basic functions (see
2.
Configure OSPF to redistribute routes:
3.
# On Switch C, configure a static route destined for network 3.1.1.0/24.
<SwitchC> system-view
[SwitchC] ip route-static 3.1.1.0 24 10.4.1.2
# On Switch C, configure a static route destined for network 3.1.2.0/24.
[SwitchC] ip route-static 3.1.2.0 24 10.4.1.2
# On Switch C, configure a static route destined for network 3.1.3.0/24.
[SwitchC] ip route-static 3.1.3.0 24 10.4.1.2
# On Switch C, configure OSPF to redistribute static routes.
[SwitchC] ospf 1
[SwitchC-ospf-1] import-route static
[SwitchC-ospf-1] quit
# Display the OSPF routing table of Switch A.
<SwitchA> display ip routing-table
Routing Tables: Public
Destination/Mask
3.1.1.0/24
3.1.2.0/24
3.1.3.0/24
10.1.1.0/24
10.1.1.1/32
10.2.1.0/24
10.2.1.1/32
10.3.1.0/24
10.4.1.0/24
Area 0
Vlan-int100
10.1.1.1/24
Vlan-int100
10.1.1.2/24
Vlan-int200
10.2.1.1/24
Vlan-int300
Vlan-int500
10.4.1.1/24
10.5.1.1/24
Destinations : 12
Proto
O_ASE
O_ASE
O_ASE
Direct 0
Direct 0
Direct 0
Direct 0
OSPF
OSPF
Switch B
Vlan-int400
10.3.1.1/24
Vlan-int400
Area 2
10.3.1.2/24
Switch D
"Configuring OSPF basic
Routes : 12
Pre
Cost
150
1
150
1
150
1
0
0
0
0
10
4
10
13
104
functions").
NextHop
Interface
10.2.1.2
Vlan200
10.2.1.2
Vlan200
10.2.1.2
Vlan200
10.1.1.1
Vlan200
127.0.0.1
InLoop0
10.2.1.1
Vlan200
127.0.0.1
InLoop0
10.1.1.2
Vlan100
10.2.1.2
Vlan200

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents