1166 ExtremeWare Software 7.3.0 Command Reference Guide
IP Unicast Commands
configure iproute add default
configure iproute add default <gateway> {<metric>}
Description
Adds a default gateway to the routing table.
Syntax Description
Default
If no metric is specified, the default metric of 1 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 IP 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 command configures a default route for the switch:
configure iproute add default 123.45.67.1
History
This command was available in ExtremeWare 2.0.
Platform Availability
This command is available on all platforms.
gateway Specifies a VLAN gateway
metric Specifies a cost metric. If no metric is specified, the default of 1 is used.