144CHAPTER 6: IP SERVICES COMMANDS

The following command configures IP interface 10.10.20.10 255.255.255.0 on VLAN mauve:

WX1200# set interface mauve ip 10.10.20.10 255.255.255.0

success: set ip address 10.10.20.10 netmask 255.255.255.0 on vlan mauve

 

See Also

 

„ clear interface on page 115

 

„ display interface on page 126

 

„ set interface status on page 146

 

 

set interface

Configures the DHCP client on a VLAN, to allow the VLAN to obtain its

dhcp-client

IP interface from a DHCP server.

 

Syntax set interface vlan-idip dhcp-client {enable disable}

 

„ vlan-idVLAN name or number.

 

„ enable Enables the DHCP client on the VLAN.

 

„ disable Disables the DHCP client on the VLAN.

 

Defaults — The DHCP client is enabled by default on an unconfigured

 

WXR100 when the Fn switch is pressed and held during power on.

 

The DHCP client is disabled by default on all other switch models, and is

 

disabled on an WXR100 if the switch is already configured or the Fn

 

switch is not pressed and held during power on.

 

Access — Enabled.

 

History —Introduced in MSS Version 4.0.

 

Usage — You can enable the DHCP client on one VLAN only. You can

 

configure the DHCP client on more than one VLAN, but the client can be

 

active on only one VLAN.

 

MSS also has a configurable DHCP server. (See set interface

 

dhcp-serveron page 145.) You can configure a DHCP client and DHCP

 

server on the same VLAN, but only the client or the server can be

 

enabled. The DHCP client and DHCP server cannot both be enabled on

 

the same VLAN at the same time.