65
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
IP Services Commands
set interface dhcp-server (continued)
Defaults: The DHCP server is enabled by default.
Access: Enabled.
Usage: By default, all addresses except the host address of the VLAN, the network broadcast
address, and the subnet broadcast address are included in the range. If you specify
the range, the start address must be lower than the stop address, and all addresses
must be in the same subnet. The IP interface of the VLAN must be within the same
subnet but is not required to be within the range.
Examples: The following command enables the DHCP server on VLAN red-vlan to serve
addresses from the 192.168.1.5 to 192.168.1.25 range:
DWS-1008# set interface red-vlan ip dhcp-server enable
start 192.168.1.5 stop 192.168.1.25
success: change accepted.
set interface status
Administratively disables or reenables an IP interface.
Syntax: set interface vlan-id status {up | down}
vlan-id VLAN name or number.
up Enables the interface.
down Disables the interface.
Defaults: IP interfaces are enabled by default.
Access: Enabled.
Examples: The following command disables the IP interface on VLAN mauve:
DWS-1008# set interface mauve status down
success: set interface mauve to down
Commentaires sur ces manuels