configure iproute add default

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

Description

Adds a default gateway to the routing table.

Syntax Description

ipv6Gateway

Specifies a VLAN gateway IPv6 address.

metric

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

ipv6ScopedGateway

Specifies a scoped gateway.

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 Feature License Requirements document.