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 instance>, depending upon which gateway you want to configure. Gateway 4 is
reserved for switch management.
The following table describes the Default IP Gateway Configuration commands.
Table 121 Default IP Gateway Configuration commands
Command
ip gateway <1-4> address <IP
address>
ip gateway <1-4> interval <0-
60>
ip gateway <1-4> retry <1-120>
[no] ip gateway <1-4> arp-
health-check
ip gateway <1-4> enable
no ip gateway <1-4> enable
no ip gateway <1-4>
show ip gateway <1-4>
NOTE: Gateway 4 is reserved for switch management interface.
IP Static Route configuration
The following table describes the Static Route Configuration commands.
Table 122 Static Route Configuration commands
Command
ip route <IP subnet> <IP
netmask> <IP nexthop> <IP
interface (1-256)>
no ip route <IP subnet> <IP
netmask>
show ip route static
Description
Configures the IP address of the default IP gateway using dotted
decimal notation.
Command mode: Global configuration
The switch pings the default gateway to verify that it is up. This option
sets the time between health checks. The range is from 0 to 60
seconds. The default is 2 seconds.
Command mode: Global configuration
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.
Command mode: Global configuration
Enables or disables Address Resolution Protocol (ARP) health checks.
This command is disabled by default.
Command mode: Global configuration
Enables the gateway for use.
Command mode: Global configuration
Disables the gateway.
Command mode: Global configuration
Deletes the gateway from the configuration.
Command mode: Global configuration
Displays the current gateway settings.
Command mode: All except User EXEC
Description
Adds a static route. You will be prompted to enter a destination IP
address, destination subnet mask, and gateway address. Enter all
addresses using dotted decimal notation.
Command mode: Global configuration
Removes a static route. The destination address of the route to remove
must be specified using dotted decimal notation.
Command mode: Global configuration
Displays the current IPstatic route configuration.
Command mode: All except User Exec
N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (ISCLI) 114