IPV4 ROUTING POLICY

79 CONFIGURATION COMMANDS

apply ip-address next-hop

Syntax apply ip-address next-hop ip-address

undo apply ip-address next-hop

View Routing policy view

Parameters ip-address: IP address of the next hop.

Description Use the apply ip-addressnext-hopcommand to set a next hop for IPv4 routing information.

Use the undo apply ip-addressnext-hopcommand to remove the clause configuration.

No next hop address is set for IPv4 routing information by default.

It is invalid to use the apply ip-addressnext-hopcommand to set a next hop when redistributing routes.

Related commands: if-match interface, if-match acl, if-matchip-prefix,if-match ip next-hop,if-match cost, if-match tag, route-policy,apply local-preference,apply cost, apply origin and apply tag.

Examples # Create routing policy policy1 with node 10, matching mode permit. If passing AS path ACL 1, a route‘s next hop is set to 193.1.1.8.

<Sysname> system-view

[Sysname] route-policy policy1 permit node 10

[Sysname-route-policy] if-match as-path 1

[Sysname-route-policy] apply ip-address next-hop 193.1.1.8

display ip ip-prefix

Syntax display ip ip-prefix [ ip-prefix-name]

View Any view

Parameters ip-prefix-name: IP prefix list name, a string of 1 to 19 characters.

Page 1207
Image 1207
3Com MSR 50 IPV4 Routing Policy Configuration Commands, Display ip ip-prefix, Syntax display ip ip-prefix ip-prefix-name