Configuration Commands

Table 119 IP Interface Configuration commands

 

Command

Description

 

 

 

 

 

no enable

Disables this IP interface.

 

 

Command mode: Interface IP

 

 

 

 

 

no interface ip {<1-250>}

Removes this IP interface.

 

 

Command mode: Global configuration

 

 

 

 

 

show interface ip {<1-250>}

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

 

 

ip gateway {<1-4, 254>}

Configures the IP address of the default IP gateway using dotted decimal

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 {<1-4,

Enables or disables Address Resolution Protocol (ARP) health checks. This

254>} arp-health-check

command is disabled by default.

 

Command mode: Global configuration

 

 

ip gateway {<1-4, 254>}

Enables the gateway for use.

enable

Command mode: Global configuration

 

 

 

no ip gateway {<1-4,

Disables the gateway.

254>} enable

Command mode: Global configuration

 

 

 

no ip gateway {<1-4,

Deletes the gateway from the configuration.

254>}

Command mode: Global configuration

 

 

 

show ip gateway {<1-4,

Displays the current gateway settings.

254>}

Command mode: All except User EXEC

 

 

 

143