Draytek Vigor 160 Series User Manual page 293

Hide thumbs Also See for Vigor 160 Series:
Table of Contents

Advertisement

This command allows you to configure SNMP for management.
S
y
n
t
a
x
S
y
n
t
a
x
mngt snmp [-<command> <parameter> | ... ]
S
y
n
t
a
x
S
y
n
t
a
x
Parameter
[<command>
<parameter>|...]
-e <1/2>
-g<Community name>
-s <Community name>
-m <IP address>
-t <Community name>
-n <IP address>
-T <seconds>
-V
E
E
x
x
a
a
m
m
p
p
l
> mngt snmp -e 1 -g draytek -s DK -m
192.168.1.20,192.168.5.192/26,10.20.3.40/24 -t trapcom -n
192.168.1.20,10.20.3.40 -T 88
SNMP Agent Turn on!!!
Get Community set to draytek
Set Community set to DK
Manager Host IP set to 192.168.1.20,192.168.5.192/26,10.20.3.40/24
Trap Community set to trapcom
Notification Host IP set to 192.168.1.20,10.20.3.40
Trap Timeout set to 88 seconds
T
e
l
n
e
t
C
o
m
m
T
e
l
n
e
t
C
o
m
m
This command is used to create an IP object profile.
S
y
n
t
a
x
S
y
n
t
a
x
object ip obj setdefault
object ip obj INDEX -v
object ip obj INDEX -n NAME
object ip obj INDEX -i INTERFACE
object ip obj INDEX -s INVERT
object ip obj INDEX -a TYPE [START_IP] [END/MASK_IP]
S
y
n
t
a
x
S
y
n
t
a
x
Vigor160 Series User's Guide
D
e
s
c
r
i
p
t
i
o
n
D
e
s
c
r
i
p
t
i
o
n
Description
The available commands with parameters are listed below.
[...] means that you can type in several commands in one line.
1: Enable the SNMP function.
2: Disable the SNMP function.
It means to set the name for getting community by typing a proper
character. (max. 23 characters)
It means to set community by typing a proper name. (max. 23
characters)
It means to set one host as the manager to execute SNMP function.
Please type in IPv4 address to specify certain host.
It means to set trap community by typing a proper name. (max. 23
characters)
It means to set the IPv4 address of the host that will receive the
trap community.
It means to set the trap timeout <0~999>.
It means to list SNMP setting.
l
e
e
a
n
d
:
o
b
j
e
c
t
i
p
o
b
a
n
d
:
o
b
j
e
c
t
i
p
o
b
D
e
s
c
r
i
p
t
i
o
n
D
e
s
c
r
i
p
t
i
o
n
j
j
283

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents