Chapter 82 DHCP
OLT2406 User’s Guide
592
no dhcp server <vlan-id> default-
gateway
Removes DHCP server default gateway
configuration for the specified VLAN.
C13
no dhcp server <vlan-id> primary-
dns
Removes DHCP server primary DNS IP address
configuration for the specified VLAN.
C13
no dhcp server <vlan-id> secondary-
dns
Removes DHCP server secondary DNS IP address
configuration for the specified VLAN.
C13
show dhcp server
Displays DHCP server status. E 13
show dhcp server <vlan-id>
Displays DHCP server status for the specified
VLAN.
E13
Table 307 DHCP Client Test Commands
COMMAND DESCRIPTION M P
test dhcp-client start <aid> vlan
<snisvid> [nnisvid <1~4094>]
[snicvid <1~4094>] [ontid <1~128>]
[ontcardid <1~16>] [uniport
<1~128>] [ontsn <string>]
Starts a DHCP client test to simulate an ONT
getting IP address information from the DHCP
server.
aid: <ge|pon>-<slot>-<port> | slotge-
<slot>
snisvid: Choose Service Node Interface (SNI)
SVID on subscriber port (ONT), 1-4094. This is the
outer VLAN on the service node interface.
nnisvid: NNI SVID setting on subscriber port
(ONT), 1-4094. If this is not set and option 82
needs this value, it will show 4096. This is the outer
VLAN on the network to network interface.
snicvid: SNI CVID setting on subscriber port
(ONT), 1-4094. If this is not set and option 82
needs this value, it will show 4096. This is the inner
VLAN on the service node interface.
ontid: ONT ID to be added to option 82
information, 1-128
ontcardid: ONTCARD ID to be added to option
82 information, 1-16
uniport: UNIPORT value to be added to option
82 information, 1-128
ontsn: ONT serial number to be added to option
82 information, length 1-16
E13
test dhcp-client stop <aid> <cr>
Stops a DHCP client test on the specified port.
aid: pon-<pon>
E13
dhcp client-test timeout <1 to 180
seconds>
Specifies the DHCP client test timeout. The
default is 3 seconds.
C13
show dhcp client-test timeout
Displays the DHCP client test timeout. E 3
show dhcp client-test state <aid>
Displays the DHCP client test state of the
specified port.
aid: <ge|pon>-<slot>-<port> | slotge-
<slot>
E3
Table 306 DHCP Server Commands (continued)
COMMAND DESCRIPTION M P