Displaying And Maintaining The Routing Policy; Routing Policy Configuration Examples; Applying A Routing Policy To Ipv4 Route Redistribution - HPE FlexNetwork HSR6800 Configuration Manual

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Step
Enter system view.
1.
Create a routing policy and
2.
enter routing policy view.
Specify the next node to be
3.
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
116, Router B exchanges routing information with Router A using OSPF, and with Router C
using IS-IS.
Configure Router B to redistribute IS-IS routes into OSPF, and use a routing policy to set the cost of
route 172.17.1.0/24 to 100 and the tag of route 172.17.2.0/24 to 20.
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 ]
412
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