Applying A Routing Policy To Receive Or Advertise Routes; Displaying And Maintaining Ip Routing Policy Configuration; Ip Routing Policy Configuration Example; Filtering Routing Information - H3C S7500 Series Operation Manual

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches

7.2.6 Applying a Routing Policy to Receive or Advertise Routes

Note:
The filter-policy command (used to apply a routing policy to receive or advertise
routes) is somewhat different in form in different routing protocol views. Refer to the
filter-policy command description under routing protocols in the command manual.
7.3 Displaying and Maintaining IP Routing Policy
Configuration
Display route-policy
information
Display information about
the specified AS path ACL
Display information about
the specified address
prefix list
Display information about
the specified community
list

7.4 IP Routing Policy Configuration Example

7.4.1 Filtering Routing Information

I. Network requirements
As shown in
enable the OSPF protocol. Switch A's router ID is 1.1.1.1 and Switch B's is
2.2.2.2.
Configure OSPF routing process on Switch A: configuring and importing three
static routes.
Configure a routing policy on Switch A to filter imported static routes. In this
example, the routes in 20.0.0.0 and 40.0.0.0 network segments can be imported,
but those in 30.0.0.0 network segment will be filtered out.
To do...
display route-policy
[ route-policy-name ]
display ip as-path-acl [ acl-number ]
display ip ip-prefix [ ip-prefix-name ]
display ip community-list
[ basic-comm-list-number |
adv-comm-list-number ]
Figure
7-1, Switch A communicates with Switch B. Both switches
Chapter 7 IP Routing Policy Configuration
Use the command...
7-9
Remarks
Available in
any view

Advertisement

Table of Contents
loading

Table of Contents