General switch administration using the Command Line Interface
173
ip default-gateway <XXX.XXX.XXX.XXX>
Run the
ip default-gateway
command in Global Configuration
command mode.
"ip default-gateway parameters" (page 173)
describes the parameters for
the
ip default-gateway
command.
ip default-gateway parameters
Parameters
Description
XXX.XXX.XXX.XXX
Enter the dotted-decimal IP address of the default IP
gateway.
Note: When you change the IP gateway, connectivity to Telnet and the
Web Interface can be lost.
no ip default-gateway command
The
no ip default-gateway
command sets the IP default gateway
address to zero (0).
The syntax for the
no ip default-gateway
command is
no ip default-gateway
Run the
no ip default-gateway
command in Global Configuration
command mode.
Note: 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.
Nortel Ethernet Routing Switch 4500 Series
Overview — System Configuration
NN47205-500
02.01
Standard
5.0
23 February 2007
Copyright © 2007, Nortel Networks
Nortel Networks Confidential
.