31
Configuring and Managing the Switch
CHAPTER 2
IP Configuration
get-ip
Shows the switch’s current IP address:
SYS_console> get-ip
The device IP address is: 129.001.001.064
SYS_console> _
If the switch doesn’t have an IP address assigned:
SYS_console> get-ip
The device has no IP address defined.
get-ip-conf
Shows the complete current IP configuration: IP address, netmask
(subnet mask), and broadcast address.
SYS_console> get-ip-conf
The device has no IP Address defined
SYS_console> get-ip-conf
The device IP address, netmask and broadcast are:
IP address : 129.001.001.064
IP netmask : 255.255.000.000
IP broadcast : 129.001.001.000
set-ip
set-ip <
IPaddress>
Sets the IP address of the switch (technically, the switch’s SNMP
agent). If no IP address was previously set (which is the default
configuration), the new value is used immediately and saved in
NVRAM. Otherwise, the new value is stored in NVRAM, but you
must use the warm-reset command or cycle the power for changes to
take effect.
Example:
set-ip 129.001.001.064
Device IP Address unchanged for this session
Device IP Address change in the NVRAM OK
The device NVRAM IP address will be:
IP address : 129.001.001.064
NOTE
If the IP configuration is not
specified, the agent will not
respond to any in-band re-
quests, including ping mes-
sages and network
management applications.