Operation Manual – IPv4 Routing
H3C S5500-EI Series Ethernet Switches
Chapter 6 Routing Policy Configuration
6-10
To do…
Use the command…
Remarks
Set a tag value for RIP,
OSPF or IS-IS routes
apply tag value
Optional
Not set by default
Note:
The
apply ip-address next-hop
command do not apply to redistributed IPv4 routes.
6.5 Displaying and Maintaining the Routing Policy
To do…
Use the command…
Remarks
Display BGP AS path ACL
information
display ip as-path
[
as-path-number
]
Display BGP community
list information
display ip community-list
[
basic-community-list-number
|
adv-community-list-number
]
Display BGP extended
community list information
display ip extcommunity-list
[
ext-comm-list-number
]
Display IPv4 prefix list
statistics
display ip ip-prefix
[
ip-prefix-name
]
Display routing policy
information
display route-policy
[
route-policy-name
]
Available in
any view
Clear IPv4 prefix list
statistics
reset ip ip-prefix
[
ip-prefix-name
]
Available in
user view
6.6 Routing Policy Configuration Example
6.6.1 Applying Routing Policy When Redistributing IPv4 Routes
I. Network Requirements
z
Switch B exchanges routing information with Switch A via OSPF, with Switch C via
IS-IS.
z
On Switch B, configure route redistribution from IS-IS to OSPF and apply a routing
policy to set attributes of redistributed routes, setting the cost of route
172.17.1.0/24 to 100, tag of route 172.17.2.0/24 to 20.