next-hop

Sets the next hop for packets satisfying match criteria. This command allows you to configure the primary and secondary hop priority requests.

Define the primary and secondary hop settings. When defined, the primary hop resource is used with no additional considerations when ever it is available.

Supported in the following platforms:

Syntax

next-hop [<IP>|<ROUTER-IF-NAME>|pppoe1|serial <SLOT-ID> <PORT-ID> <CHANNEL-GROUP-ID>|
vlan <1-4094>|wwlan1] {<IP>|<ROUTER-IF-NAME>|pppoe1|serial <SLOT-ID> <PORT-ID> 
<CHANNEL-GROUP-ID>|vlan <1-4094>|wwlan1}

Parameters

next-hop [<IP>|<ROUTER-IF-NAME>|pppoe1|serial <SLOT-ID> <PORT-ID> <CHANNEL-GROUP-ID>|
vlan <1-4094>|wwlan1] {<IP>|<ROUTER-IF-NAME>|pppoe1|serial <SLOT-ID> <PORT-ID> 
<CHANNEL-GROUP-ID>|vlan <1-4094>|wwlan1}
next-hop Sets the next hop (primary and secondary) for packets satisfying match criteria
Note: It is not mandatory to define the secondary hop interface. The secondary hop is used in case the primary hop is unavailable.
<IP> Specifies the primary and secondary next hop router‘s IP address
<WORD> Specifies the layer 3 Interface name (router interface)
pppoe1 Specifies the PPP over Ethernet interface
serial <SLOT-ID> <PORT-ID> <CHANNEL-GROUP-ID> Specifies the serial interface‘s slot, port, and channel group IDs.
vlan <1-4094> Specifies the VLAN interface ID
  • <1-4094> – Specify a VLAN ID from 1 - 4094. The VLAN interface should be a DHCP client.
wwan1 Specifies the WAN interface

Examples

nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#next-hop vlan 1
nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#show context
 route-map 1
  match incoming-interface pppoe1
  next-hop vlan1
  default-next-hop wwan1
  mark ip dscp 7
nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#

Related Commands

no (route-map-config-mode-command) Disables the next hop router settings