Draytek Vigor2133 User Manual page 613

Vigor2133 series gigabit broadband router
Table of Contents

Advertisement

T
e
l
n
e
t
C
o
m
m
T
e
l
n
e
t
C
o
m
m
This command can set the custom option for the DHCP server.
S
S
y
y
n
n
t
t
a
a
x
x
srv dhcp option -e [1 or 0] -i [lan number] -s [Next Server IP Address]
srv dhcp option -e [1 or 0] -i [lan number] -c [option number] -v [option value]
srv dhcp option -e [1 or 0] -i [lan number] -c [option number] -x [option value]
srv dhcp option -e [1 or 0] -i [lan number] -c [option number] -a [option value]
srv dhcp option -u [idx number]
S
y
n
t
a
x
S
y
n
t
a
x
Parameter
-h
-l
-d
-e [1 or 0]
-i [lan number]
s [Next Server IP
Address]
option number
-u
idx number
E
x
a
m
p
l
E
x
a
m
p
> srv dhcp option -e 1 -i 1/2 -s 8.8.8.8
> srv dhcp option -e 1 -i 1/2 -c 18 -x 2f70617468
> srv dhcp option -e 1 -i 2/r -c 44 -a 192.168.1.10,192.168.1.20
> srv dhcp option -u 2 -i 1 -c 60 -v class_id
> srv dhcp option -l
% state
% enable 1
% enable 2
% enable 3
Vigor2133 Series User's Guide
a
n
d
:
s
r
v
d
h
c
p
o
p
t
a
n
d
:
s
r
v
d
h
c
p
o
p
D
e
s
c
r
i
p
t
i
o
n
D
e
s
c
r
i
p
t
i
o
n
Description
It means to display usage of this command.
It means to display all the user defined DHCP options.
It means to delete the option number by specifying its index number.
It means to enable/disable custom option feature.
1:enable
0:disable
It means to specify the LAN interface.
1: lan1,
a: all lan,
r: routed subnet
It means to specify the IP address for the server.
It includes –a, -c, -v and –x.
-a: It means to set the option value by specifying the IP address.
-c: It means to set option number. Available number ranges from 0 to 255.
-v: It means to set option number by typing string.
-x: It means to set option number with the format of Hexadecimal characters.
It means to update the option value of the sepecified index.
It means the index number of the option value.
e
l
e
idx interface
LAN1/2
LAN1
LAN2/r
i
o
n
t
i
o
n
opt type
data
0
SIAddr
8.8.8.8
60 ASCII
class_id
44 Address 192.168.1.10
,192.168.1.20
,
601

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vigor2133acVigor2133n

Table of Contents