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

27

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.

Other related questions:
Do I need to specify the next hop or egress when configuring a static LSP on the ingress node
When configuring a static LSP on the ingress node, ensure that configuration items match routing information, including the destination address, mask, next hop, and outbound interface;otherwise,the LSP cannot become Up. The system calculates the next hop if you specify the outbound interface. The calculated next hop is the IP address of the local outbound interface. The system calculates the outbound interface if you specify the next hop (the inbound interface of the peer end). The calculated outbound interface is still the local outbound interface. Therefore, errors may occur during the static LSP configuration on the ingress node. Pay attention to the following points: If the outbound interface is specified for a static route, you must specify the outbound interface when configuring the static LSP on the ingress node. In other situations, you need to specify the next hop rather than only the outbound interface. The fundamental rule is that the static ingress LSP route fully matches routing information.

Configure redirection on an AR
For details about how to configure redirection on an AR, see Configuring Interface PBR. Example for Configuring Interface PBR.

Configure next-hop backup through policy-based routing on an AR router
If multiple carriers are available on a network, configure next-hop backup to keep network connectivity for intranet users and improve network robustness. Run the redirect backup-nexthop ip-address command in the traffic behavior. For details about the configuration of specific policy-based routing, see the URL: Example for Configuring Interface PBR. Configuring Interface PBR.

Does an AR router support redirection to a next hop
The ARs support redirection to a next hop.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top