Configuring Route Filtering - HP MSR2000 series Configuration Manual

Hide thumbs Also See for MSR2000 series:
Table of Contents

Advertisement

Configuring route filtering

Network requirements
As shown in
All the switches in the network run OSPF. The AS is divided into three areas.
Switch A and Switch B work as ABRs.
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 46 Network diagram
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 on Switch A.
<SwitchA> display ip routing-table
Routing Tables: Public
Destination/Mask
Figure
46:
Destinations : 12
Proto
"Configuring OSPF basic
Routes : 12
Pre
Cost
NextHop
118
functions")
Interface

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr3000 seriesMsr4000 series

Table of Contents