beautypg.com

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

Page 139

background image

Command Guide of SGS-5220-24T2X

Switch (config-if-vlan)# exit

Switch (config)#

4.2.46.4 ip address

Command:

ip address

ip Interface Internet Protocol config commands

address Address configuraton

IP address

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-