![H3C S5500-EI series Скачать руководство пользователя страница 389](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960389.webp)
372
To do…
Use the command…
Remarks
Display IPv4 prefix list statistics
display ip ip-prefix
[
ip-prefix-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
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
]
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
As shown in
, Switch B exchanges routing information with Switch A using OSPF, and with
Switch C using IS-IS.
On Switch B, enable route redistribution from IS-IS to OSPF, and apply 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 119
Network diagram
Configuration procedure
1.
Specify IP addresses for interfaces. (Details not shown)
2.
Configure IS-IS.
# Configure Switch C.
<SwitchC> system-view
[SwitchC] isis
[SwitchC-isis-1] is-level level-2
[SwitchC-isis-1] network-entity 10.0000.0000.0001.00
[SwitchC-isis-1] quit
[SwitchC] interface vlan-interface 200