Chapter 4: Commands for CLI configuration
NS4750-24S-4T-4X-V2 Managed Switch Command Guide
97
To exit current mode
.
Switch# configure terminal
Switch (config)#
interface vlan X
Switch (config-if-vlan)#
exit
Switch (config)#
ip address
Command:
ip address <ipv4_addr> <ipv4_netmask>
ip
Interface Internet Protocol config commands
address
Address configuraton
<ipv4_addr>
IP address
<ipv4_netmask>
IP netmask
Default:
None
Usage Guide:
To configure
IP address mode
for specific VLAN
Example:
To configure
IP address mode
(192.168.1.10/24) for
VLAN X
Switch# configure terminal
Switch (config)#
interface vlan X
Switch (config-if-vlan)#
ip address 192.168.1.10 255.255.255.0
ip address dhcp
Command:
ip address dhcp
ip
Interface Internet Protocol config commands
address
Address configuraton
dhcp
Enable DHCP
Default:
None
Usage Guide:
To configure
IP address mode
for specific VLAN
Example:
To configure
IP address mode
(DHCP) for
VLAN X
Switch# configure terminal
Switch (config)#
interface vlan X
Switch (config-if-vlan)#
ip address dhcp
ip address dhcp fallback
Command: