Nortel Networks 2500 Series Switch User Manual


 
178 System configuration using the CLI
Assigning and clearing IP addresses
Using the CLI, you can assign IP addresses and Gateway addresses, clear
these addresses, and view configured IP addresses. This section contains
information about the following topics:
"ip address command" (page 178)
"default ip address command" (page 179)
"no ip address command" (page 179)
"default ip netmask command" (page 179)
"no ip netmask command" (page 179)
"ip default-gateway command" (page 180)
"no ip default-gateway command" (page 180)
"default ip default-gateway command" (page 181)
"show ip command" (page 181)
ip address command
The ip address command sets the IP address and subnet mask for the
switch. The syntax for the ip address command is:
ip address <XXX.XXX.XXX.XXX> [netmask <XXX.XXX.XXX.XXX>]
The ip address command is executed in the Global Configuration
command mode.
Table 47 "ip address command parameters and variables" (page
178) describes the parameters and variables for the ip address command.
Table 47
ip address command parameters and variables
Parameters and
variables
Description
XXX.XXX.XXX.XXX Enter IP address in dotted decimal notation; netmask is
optional.
netmask Set the IP subnet mask for the switch.
ATTENTION
When you change the IP address or subnet mask, you may lose connection
to Telnet and the Web.
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
.