H3C IE4300 Command Reference Manual page 1480

Industrial switch series
Hide thumbs Also See for IE4300:
Table of Contents

Advertisement

Examples
# Configure node 10 of routing policy policy1 to set the backup output interface VLAN-interface 1
and backup next hop 193.1.1.8 for the route destined for 100.1.1.0/24.
<Sysname> system-view
[Sysname] ip prefix-list abc index 10 permit 100.1.1.0 24
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match ip address prefix-list abc
[Sysname-route-policy-policy1-10] apply fast-reroute backup-interface vlan-interface 1
backup-nexthop 193.1.1.8
apply ip-address next-hop
Use
apply ip-address next-hop
Use
undo apply ip-address next-hop
Syntax
apply
ip-address
vpn-instance-name ]
undo apply ip-address next-hop
Default
No next hop is set for IPv4 routes.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
ip-address
: Specifies the public network.
public
vpn-instance vpn-instance-name
case-sensitive string of 1 to 31 characters.
Usage guidelines
If you use this command to set a next hop for redistributed routes, the configuration does not take
effect.
If you do not specify the
the next hop belongs to the public network.
Examples
# Configure node 10 in permit mode for routing policy policy1 to set next hop 193.1.1.8 for routes
matching prefix list 100.
<Sysname> system-view
[Sysname] ip prefix-list 100 permit 192.168.10.1 24
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match ip address prefix-list 100
[Sysname-route-policy-policy1-10] apply ip-address next-hop 193.1.1.8
next-hop
: Specifies the next hop IP address.
keyword and the
public
to set a next hop for IPv4 routes.
to restore the default.
ip-address
[
: Specifies an MPLS L3VPN instance by its name, a
vpn-instance vpn-instance-name
11
public
|
vpn-instance
option,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie4300-mIe4320

Table of Contents