Chapter 4: Commands for CLI configuration
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:
ip address dhcp fallback <ipv4_addr> <ipv4_netmask>
ip
Interface Internet Protocol config commands
address
Address configuraton
dhcp
Enable DHCP
<ipv4_addr>
DHCP fallback address
<ipv4_netmask>
DHCP fallback netmask
Default:
None
Usage Guide:
To configure
DHCP fallback IP address
for specific VLAN
Example:
To configure
DHCP fallback IP address
(192.168.1.10/24) for
VLAN X
Switch# configure terminal
Switch (config)#
interface vlan X
Switch (config-if-vlan)#
ip address dhcp fallback 192.168.1.10
110
NS4702-24P-4X Managed Switch Command Guide