Operation Manual
Vigor160 Series User’s Guide
279
This command allows you to configure SNMP for management.
S
S
y
y
n
n
t
t
a
a
x
x
mngt snmp [-<command> <parameter> | ... ]
S
S
y
y
n
n
t
t
a
a
x
x
D
D
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
Parameter Description
[<command>
<parameter>|…]
The available commands with parameters are listed below.
[…] means that you can type in several commands in one line.
-e <1/2> 1: Enable the SNMP function.
2: Disable the SNMP function.
-g<Community name> It means to set the name for getting community by typing a proper
character. (max. 23 characters)
-s <Community name> It means to set community by typing a proper name. (max. 23
characters)
-m <IP address> It means to set one host as the manager to execute SNMP function.
Please type in IPv4 address to specify certain host.
-t <Community name> It means to set trap community by typing a proper name. (max. 23
characters)
-n <IP address> It means to set the IPv4 address of the host that will receive the
trap community.
-T <seconds> It means to set the trap timeout <0~999>.
-V It means to list SNMP setting.
E
E
x
x
a
a
m
m
p
p
l
l
e
e
> 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
T
e
e
l
l
n
n
e
e
t
t
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
o
o
b
b
j
j
e
e
c
c
t
t
i
i
p
p
o
o
b
b
j
j
This command is used to create an IP object profile.
S
S
y
y
n
n
t
t
a
a
x
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
S
y
y
n
n
t
t
a
a
x
x
D
D
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n