Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 6 Routing Policy Configuration
6-10
To do…
Use the command…
Remarks
Set a preference for the
matched routing protocol
apply preference
preference
Optional
Not set by default
Set a preferred value for
BGP routes
apply preferred-value
preferred-value
Optional
Not set by default
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 does 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.