default-next-hop
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, AP510e, AP560i, AP6522, AP6562, AP7161, AP7502,
AP7522, AP7532, AP7562, AP7602, AP7612, AP7622, AP763, AP7662,
AP8163, AP8543, AP8533.
- Service Platforms
— NX5500, NX7500, NX9500, NX9600, VX9000
Syntax
default-next-hop [<IP>|<ROUTER-IF-NAME>|pppoe1|serial <SLOT-ID> <PORT-ID>
<CHANNEL-GROUP-ID>|vlan <1-4094>|wwan1]
Parameters
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 |
Examples
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
nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#