
ZXR10 2900E Series Command Reference
4.44.20 show dhcp vlan
Purpose
This command displays the VLANs for which the DHCP relay function is enabled.
Command Mode
All modes
Syntax
show dhcp relay vlan
Example
The following example displays the VLANs for which the DHCP relay function is enabled:
zte(cfg)#show dhcp relay vlan
DHCP relay enabled vlan: 10
4.44.21 set dhcp relay vlan
Purpose
This command enables or disables the DHCP relay function in a VLAN.
Command Mode
Global configuration mode
Syntax
set dhcp relay vlan
<
vlanlist
>{
enable
|
disable
}
Parameter Description
Parameter
Description
<
vlanlist
>
Vlan ID.
enable
Enables the DHCP relay function.
disable
Disables the DHCP relay function.
Example
zte(cfg)#set dhcp relay vlan 2 enable
zte(cfg)#show dhcp relay vlan
DHCP relay enabled vlan: 2
4-602
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential