configure iproute add default

configure iproute add default [gateway |ipv6Gateway | ipv6ScopedGateway] {bfd}{metric} {vr vr_name} {multicast |multicast-only |unicast |unicast-only} {vlan vlan_name}

Description

Adds a default gateway to the routing table.

Syntax Description

gateway Specifies a gateway IPv4 address.

ipv6Gateway

Specifies a This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches. gateway IPv6 address.

ipv6ScopedGateway

Specifies a scoped gateway.

bfd Enables Bidirectional Forwarding Detection (BFD) protection for the route.
Note: You must type this keyword before specifying a VLAN.

metric

Specifies a cost metric. If no metric is specified, the default of 1 is used.

vr_name

Specifies the VR or VRF to which the route is added.

Default

If no metric is specified, the default metric of 1 is used. If you do not specify a VR or VRF, the current VR context is used.

Usage Guidelines

Default routes are used when the router has no other dynamic or static route to the requested destination. A default gateway must be located on a configured IPv6 interface. Use the unicast-only or multicast-only options to specify a particular traffic type. If not specified, both unicast and multicast traffic uses the default route.

Example

The following example configures a default route for the switch:

configure iproute add default 2001:db8::1234:5678

History

This command was first available in ExtremeXOS 10.1.

Support for IPv6 was added in ExtremeXOS 11.2.

Platform Availability

This command is available on the platforms listed for the IPv6 unicast routing feature in the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.