4 ip address, 5 ip address dhcp – PLANET SGS-5220-24T2X User Manual
Page 139

Command Guide of SGS-5220-24T2X
Switch (config-if-vlan)# exit
Switch (config)#
4.2.46.4 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
4.2.46.5 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:
-139-