Configuring the switch IP address, subnet mask and default gateway 181

default ip default-gateway command

The default ip default-gateway command sets the IP default gateway address to all zeros (000.000.000.000). The syntax for the default ip default-gateway command is:

default ip default-gateway

The default ip default-gatewaycommand is executed in the Global Configuration command mode.

The default ip default-gatewaycommand has no parameters or variables.

show ip command

The show ip command displays the IP configurations, specifically BootP mode, switch address, subnet mask, and gateway address. This command displays the these parameters for what is configured, what is in use, and the last BootP. The syntax for the show ip command is:

show ip [bootp] [default-gateway] [address [switch]] [dns]

The show ip command is executed in the User Exec command mode.

If you do not enter any parameters, this command displays all the IP-related configuration information.

Table 49 "show ip command parameters and variables" (page 181) describes the parameters and variables for the show ip command.

Table 49

show ip command parameters and variables

Parameters and

Description

variables

 

 

 

bootp mode

Displays BootP-related IP information.

 

 

default-gateway

Displays the IP address of the default gateway.

 

 

address

Displays the current IP address.

 

 

switch

Specifies current IP address of the switch.

 

 

dns

Displays DNS configuration.

 

 

Figure 56 "show ip command output" (page 182) displays a sample output of the show ip command.

Nortel Ethernet Routing Switch 2500 Series

Overview — System Configuration

NN47215-500 (323162-B) 02.02 Standard

4.1 19 November 2007

Copyright © 2007, Nortel Networks

Page 181
Image 181
Nortel Networks 2500 Series manual Default ip default-gateway command, Show ip command