Reference Guide

Table Of Contents
Dell PowerConnect ArubaOS 6.0 Command Line Interface | Reference Guide ip default-gateway | 267
ip default-gateway
ip default-gateway <ipaddr>|{import cell|dhcp|pppoe}|{ipsec <name>} <cost>
Description
This command configures the default gateway for the controller.
Syntax
Usage Guidelines
You can use this command to set the default gateway to the IP address of the interface on the upstream router or
switch to which you connect the controller. If you define more than one dynamic gateway type, you must also
define a cost for the route to each gateway. The controller will first attempt to obtain a gateway IP address using
the option with the lowest cost. If the controller is unable to obtain a gateway IP address, it will then attempt to
obtain a gateway IP address using the option with the next-lowest path cost.
Example
The following command configures the default gateway for the controller:
(host) (config) #ip default-gateway 10.1.1.1
Command History
Introduced in ArubaOS 3.0
Command Information
Parameter Description
<ipaddr> IP address of the default gateway.
import Use a gateway IP address obtained through the cell interface, DHCP or PPPoE. The default
gateway is imported into the routing table and removed when the uplink is no longer active.
cell Use Cell interface when available to obtain default gateway.
dhcp Use DHCP when available to obtain default gateway.
pppoe Use PPPOE when available to obtain default gateway.
ipsec <name> Define a static route using an ipsec map.
<cost> Distance metric for this route.
Platform License Command Mode
Available on all platforms Available in the base operating system Config mode on master controllers