R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

426
Task Command
Remarks
Display IPv6 prefix list statistics.
display ip ipv6-prefix [ ipv6-prefix-name ] [ |
{ begin | exclude | include } regular-expression ]
Display routing policy information.
display route-policy [ route-policy-name ] [ | { begin
| exclude | include } regular-expression ]
Clear IPv4 prefix list statistics. reset ip ip-prefix [ ip-prefix-name ]
Available in user
view.
Clear IPv6 prefix list statistics. reset ip ipv6-prefix [ ipv6-prefix-name ]
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.
Figure 116 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure IS-IS:
# Configure Router C.
<RouterC> system-view
[RouterC] isis
[RouterC-isis-1] is-level level-2
[RouterC-isis-1] network-entity 10.0000.0000.0001.00
[RouterC-isis-1] quit
[RouterC] interface Serial 2/2/1
[RouterC-Serial2/2/1] isis enable
[RouterC-Serial2/2/1] quit
[RouterC] interface gigabitethernet 2/1/1