![]() | Command: ip fwd-nh (Global Configuration) |
Configure IP forwarding next-hop settings.
ip fwd-nh enable
default ip fwd-nh policy [<WORD>]
no ip fwd-nh policy <WORD>
ip fwd-nh
ip fwd-nh policy <WORD> match source-ip <A.B.C.D/0-32> [port-type {both | tcp | udp}] port-min <0-65535> port-max <0-65535> set next-hop <A.B.C.D> [secondary-next-hop <A.B.C.D>]
default ip fwd-nh
default ip fwd-nh enable
no ip fwd-nh
no ip fwd-nh enable
None
Global Configuration
| Parameter | Description |
|---|---|
|
enable | Enables IP forwarding next-hop. |
|
match source-ip <A.B.C.D/0-32> | Specifies the source IP address and mask length to be matched. IP address 0.0.0.0 is not supported. |
|
next-hop <A.B.C.D> | Specifies the next hop IP address to be used to forward the packet. The next hop must be a direct connection to any of the routing interfaces of the switch. |
|
policy <WORD> | Specifies the name of the next-hop forwarding policy. The value consists of any alphanumeric values. |
|
port-max <0-65535> | Specifies the maximum Layer 4 port value. |
|
port-min <0-65535> | Specifies the minimum Layer 4 port value. |
|
port-type {both | tcp | udp} | Specifies the port type. |
|
secondary-next-hop <A.B.C.D> | Specifies a secondary next hop to use if the next hop is not reachable. |
|
set | Specifies the policy set parameters. |