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

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

Step
2.
Enter routing policy node view.
3.
Specify the next node to be
matched.

Displaying and maintaining the routing policy

Execute display commands in any view and reset commands in user view.
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
As shown in
Switch C by using IS-IS.
On Switch B, enable route redistribution from IS-IS to 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.
Figure
84, Switch B exchanges routing information with Switch A by using OSPF and with
Command
route-policy route-policy-name
{ deny | permit } node node-number
continue [ node-number ]
Command
display ip as-path [ as-path-number ]
display ip community-list [ basic-community-list-number |
adv-community-list-number | comm-list-name ]
display ip extcommunity-list [ ext-comm-list-number ]
display ip prefix-list [ prefix-list-name ]
display ipv6 prefix-list [ prefix-list-name ]
display route-policy [ route-policy-name ]
reset ip prefix-list [ prefix-list-name ]
reset ipv6 prefix-list [ prefix-list-name ]
351
Remarks
N/A
By default, no continue clause is
configured.
The specified next node must
have a larger number than the
current node.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents