beautypg.com

4 ip address, 5 ip address dhcp – PLANET XGSW-28040HP User Manual

Page 172

background image

Command Guide of XGSW-28040HP

4.2.66.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.66.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:

To configure IP address mode (DHCP) for VLAN X

Switch# configure terminal

Switch (config)# interface vlan X

Switch (config-if-vlan)# ip address dhcp

-172-

This manual is related to the following products: