Can the next hop address be not specified in a static route

You must specify the next hop address in a static route, but you can choose not to specify the outbound interface.

The ip route-static ip-address mask Vlanif vlan-id command specifies the VLANIF interface as the outbound interface in a static route and does not specify the next hop address. This command is not recommended because it does not take effect and lowers device performance.

Scroll to top