Chapter 2: Console CLI management
8
NS4750-24S-4T-4X-V2 Managed Switch Command Guide
IP Address:
192.168.0.100
Subnet Mask:
255.255.255.0
To check the current IP address or modify a new IP address for the switch, please use
the procedures as follows:
Show the current IP address
At the “#” prompt, type “show ip interface brief”. The screen displays the current IP
address and Subnet Mask as shown:
Configure the IP address
At the “
#
” prompt, enter the following command and press Enter.
#
configure terminal
(config)#
interface vlan 1
(config-if-vlan)#
ip address 192.168.1.100 255.255.255.0
The previous command would apply the following settings for the managed switch.
IP Address:
192.168.1.100
Subnet Mask:
255.255.255.0
At the “#” prompt, type “show ip interface brief” to check if the IP address has changed.
Store the current switch configuration
At the “
#
” prompt, enter the following command and press Enter.
# copy running-config startup-config
If the IP is successfully configured, the managed switch applies the new IP address
setting immediately. You can access the web interface of the managed switch through
the new IP address.