Routing policy configuration examples, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 418

Advertising
background image

402

Task Command

Remarks

Display BGP community list
information.

display ip community-list
[ basic-community-list-number |
adv-community-list-number | comm-list-name ] [ |

{ begin | exclude | include } regular-expression ]

Available in any
view

Display BGP extended community
list information.

display ip extcommunity-list
[ ext-comm-list-number ] [ | { begin | exclude |

include } regular-expression ]

Available in any
view

Display IPv4 prefix list statistics.

display ip ip-prefix [ ip-prefix-name ] [ | { begin |
exclude | include } regular-expression ]

Available in any
view

Display IPv6 prefix list statistics.

display ip ipv6-prefix [ ipv6-prefix-name ] [ |
{ begin | exclude | include } regular-expression ]

Available in any
view

Display routing policy information.

display route-policy [ route-policy-name ] [ | { begin
| exclude | include } regular-expression ]

Available in any
view

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 ]

Available in user
view

Routing policy configuration examples

Applying a routing policy to IPv4 route redistribution

Network requirements

In

Figure 125

, 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 the OSPF routing domain, 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 125 Network diagram

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown)

Advertising