
Configuration Commands
Table 119 IP Interface Configuration commands
| Command | Description | |
|
|
|
|
| no enable | Disables this IP interface. | |
|
| Command mode: Interface IP | |
|
|
|
|
| no interface ip | Removes this IP interface. | |
|
| Command mode: Global configuration | |
|
|
|
|
| show interface ip | Displays the current interface settings. | |
|
| Command mode: All | |
|
|
|
|
|
|
|
|
NOTE: If you enter an IP address for interface 1, you are prompted to change the BOOTP setting.
Default Gateway configuration
The switch supports up to four gateways, plus management gateway 254. By default, no gateways are configured on the switch. Enter 1, 2, 3, 4, or 254 in the command as the ip gateway instance, depending upon which gateway you want to configure.
The following table describes the Default IP Gateway Configuration commands. Table 120 Default IP Gateway Configuration commands
Command | Description |
| Configures the IP address of the default IP gateway using dotted decimal |
ip gateway | |
address {<IP address>} | notation. |
| Command mode: Global configuration |
ip gateway {<1-4, 254>} interval {<0-60>}
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
ip gateway {<1-4, 254>} 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.
Command mode: Global configuration
[no] ip gateway | Enables or disables Address Resolution Protocol (ARP) health checks. This |
254>} | command is disabled by default. |
| Command mode: Global configuration |
|
|
ip gateway | Enables the gateway for use. |
enable | Command mode: Global configuration |
| |
|
|
no ip gateway | Disables the gateway. |
254>} enable | Command mode: Global configuration |
| |
|
|
no ip gateway | Deletes the gateway from the configuration. |
254>} | Command mode: Global configuration |
| |
|
|
show ip gateway | Displays the current gateway settings. |
254>} | Command mode: All except User EXEC |
| |
|
|
143