Command Reference Guide

N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (AOS) 118
Table 123 IP Interface Configuration Menu options
Command
Description
vlan <1-4094>
Configures the VLAN number for this interface. Each interface can belong to one
VLAN, though any VLAN can have multiple IP interfaces in it.
relay
Enables or disables BOOTP relay on this IP interface. The default is enabled.
ena
Enables this IP interface.
dis
Disables this IP interface.
del
Removes this IP interface.
cur
Displays the current interface settings.
NOTE: If you enter an IP address for interface 1, you are prompted to change the BOOTP setting. Interface
256 is reserved for switch management interface.
Default Gateway configuration
Command: /cfg/l3/gw <1-4>
[Default gateway 1 Menu]
addr - Set IP address
intr - Set interval between ping attempts
retry - Set number of failed attempts to declare gateway DOWN
arp - Enable/disable ARP only health checks
ena - Enable default gateway
dis - Disable default gateway
del - Delete default gateway
cur - Display current default gateway configuration
The switch supports up to four gateways. By default, no gateways are configured on the switch. Enter 1, 2, 3, or 4
in the command as the <gateway number>, depending upon which gateway you want to configure. Gateway 4 is
reserved for switch management.
The following table describes the Default IP Gateway Configuration Menu options.
Table 124 Default IP Gateway Configuration Menu options
Command
Description
addr <IP address>
Configures the IP address of the default IP gateway using dotted decimal notation.
For example, 192.4.17.44
intr <0-60>
The switch pings the default gateway to verify that it is up. The intr option sets the
time between health checks. The range is from 0 to 60 seconds. The default is 2
seconds.
retry <1-120>
Sets the number of failed health check attempts required before declaring this
default gateway inoperative. The range is from 1 to 120 attempts. The default is 8
attempts.
arp disable|enable
Enables or disables Address Resolution Protocol (ARP) health checks. This
command is disabled by default.
ena
Enables the gateway for use.
dis
Disables the gateway.
del
Deletes the gateway from the configuration.
cur
Displays the current gateway settings.
NOTE: Gateway 4 is reserved for switch management interface.