Command Reference Guide

N8406-022A 1Gb Intelligent L2 Switch Command Reference Guide (AOS) 99
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 103 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.
Address Resolution Protocol configuration
Command: /cfg/l3/arp
[ARP Menu]
rearp - Set re-ARP period in minutes
cur - Display current ARP configuration
Address Resolution Protocol (ARP) is the TCP/IP protocol that resides within the Internet layer. ARP resolves a
physical address from an IP address. ARP queries machines on the local network for their physical addresses.
ARP also maintains IP to physical address pairs in its cache memory. In any IP communication, the ARP cache is
consulted to see if the IP address of the computer or the router is present in the ARP cache. Then the
corresponding physical address is used to send a packet.
The following table describes the ARP Configuration Menu options.
Table 104 ARP Configuration Menu options
Command
Description
rearp <2-120>
Defines re-ARP period in minutes. You can set this duration between two and 120 minutes.
The default value is 10 minutes.
cur
Displays the current ARP configurations.