Displaying And Maintaining The Routing Policy; Routing Policy Configuration Examples; Applying A Routing Policy To Ipv4 Route Redistribution - HP MSR Series Configuration Manual

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

Advertisement

If you configure the apply community clause for multiple nodes that are combined by the continue
clause, the apply comm-list delete clause configured on the current node cannot delete the
community attributes set by preceding nodes.
To configure a continue clause for a routing policy:
Step
1.
Enter system view.
2.
Create a routing policy and
enter routing policy view.
3.
Specify the next node to be
matched.

Displaying and maintaining the routing policy

Task
Display BGP AS path list
information.
Display BGP community list
information.
Display BGP extended community
list information.
Display IPv4 prefix list statistics.
Display IPv6 prefix list statistics.
Display routing policy information.
Clear IPv4 prefix list statistics.
Clear IPv6 prefix list statistics.

Routing policy configuration examples

Applying a routing policy to IPv4 route redistribution

Network requirements
In
Figure
72, Router B exchanges routing information with Router A using OSPF, and with Router C using
IS-IS.
Command
system-view
route-policy route-policy-name
{ deny | permit } node node-number
continue [ node-number ]
Command
display ip as-path [ as-path-number ] [ | { begin |
exclude | include } regular-expression ]
display ip community-list
[ basic-community-list-number |
adv-community-list-number | comm-list-name ] [ |
{ begin | exclude | include } regular-expression ]
display ip extcommunity-list
[ ext-comm-list-number ] [ | { begin | exclude |
include } regular-expression ]
display ip ip-prefix [ ip-prefix-name ] [ | { begin |
exclude | include } regular-expression ]
display ip ipv6-prefix [ ipv6-prefix-name ] [ |
{ begin | exclude | include } regular-expression ]
display route-policy [ route-policy-name ] [ | { begin
| exclude | include } regular-expression ]
reset ip ip-prefix [ ip-prefix-name ]
reset ip ipv6-prefix [ ipv6-prefix-name ]
252
Remarks
N/A
Not created by default.
Optional.
Not configured by default.
The specified next node must
have a larger number than the
current node.
Remarks
Available in any
view.
Available in user
view.

Advertisement

Table of Contents
loading

Table of Contents