Run the no ip default-gateway command in Global Configuration command mode.
Important:
When you change the IP gateway
, connectivity to Telnet and the Web Interface can be
lost.
show ip command
The show ip command displays the IP configurations, BootP mode, stack address, switch
address, subnet mask, and gateway address. This command displays these parameters for
what is configured, what is in use, and the last BootP. The sub command, Display DNS
configuration, provides information about the DNS configuration.
The syntax for the show ip command is
show ip [bootp] [default-gateway] [address]
Run the show ip command in User EXEC or Privileged EXEC command mode.
If you do not enter any parameters, this command displays all IP-related configuration
information.
The following table describes the variables for the show ip command.
Table 53: show ip parameters
Variables Description
bootp BootP-related IP information.
default-gateway The IP address of the default gateway.
address The current IP address.
Assigning and clearing IP addresses for specific units
You can use ACLI to assign and clear IP addresses for a specific unit in a stack. For details,
see the following sections:
• ip address unit command on page 137
•
no ip address unit command on page 138
ip address unit command
The ip address unit command sets the IP
address and subnet mask of a specific unit in
the stack.
General switch administration using
ACLI
Configuration — System April 2011 137