Sets the default next hop for packets satisfying match criteria. If a packet, subjected to PBR, does not have an explicit route to the destination, the configured default next hop is used. This value is set as either the IP address of the next hop or the outgoing interface. Only one default next hop can be defined. The difference between the next hop and the default next-hop is: in case of the former, PBR occurs first, then destination-based routing. In case of the latter, the order is reverse. Use this command to set either the default next hop IP address or define either a WWAN1, PPPoE1, or VLAN interface.

Supported in the following platforms:

  • Access Points — AP505i, AP510i/e, AP560i/h
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000


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


default-next-hop [<IP>|<ROUTER-IF-NAME>|pppoe1|serial <SLOT-ID> <PORT-ID> 
<CHANNEL-GROUP-ID>|vlan <1-4094>|wwan1]
default-next--hop Sets the next hop router to which packets are sent in case the next hop is not the adjacent router
<IP> Specifies next hop router‘s IP address
<ROUTER-IF-NAME> Specifies the outgoing interface name (router interface name)
pppoe1 Specifies the PPPoE interface
serial <SLOT-ID> <PORT-ID> <CHANNEL-GROUP-ID> Specifies the serial interface‘s slot, port, and channel group IDs
vlan <1-4094> Specifies a VLAN interface ID
  • <1-4094> – Specify a value from 1 - 4094.
wwan1 Specifies the WAN interface


nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#default-next-hop wwan1
nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#show context
 route-map 1
  default-next-hop wwan1

Related Commands

no (route-map-config-mode-command) Removes default next hop router settings