Chapter 7 System configuration using the CLI 255System Configuration GuideThe no ip default-gateway command has no parameters or variables.show ip commandThe show ip command displays the IP configurations, specifically BootP mode,stack address, switch address, subnet mask, and gateway address. This commanddisplays the these parameters for what is configured, what is in use, and the lastBootP. The syntax for the show ip command is:show ip [bootp] [default-gateway] [address [stack|switch]][dns]The show ip command is in the exec command mode.If you do not enter any parameters, this command displays all the IP-relatedconfiguration information.Table 61 describes the parameters and variables for the show ip command.Figure 92 displays a sample output of the show ip command.Note: When you change the IP gateway address, you may loseconnection to Telnet and the Web. You also may disable any new Telnetconnection required to connect to the serial console port to configure anew IP Gateway address.Table 61 show ip command parameters and variablesParameters andvariables Descriptionbootp Displays BootP-related IP information.default-gateway Displays the IP address of the default gateway.address Displays the current IP address.stack|switch Specifies current IP address of the stack or the switch.dns Displays DNS configuration.