Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

急!snmpset如何使用的问题

0 views
Skip to first unread message

sigh

unread,
Jun 17, 2003, 1:33:33 AM6/17/03
to
下面的这种情况如何set

% snmpwalk -c public localhost enterprises.2.6.10.25.4.5.2.1.1
enterprises.2.6.10.25.4.5.2.1.1.1.2.3.4.5.6 = Hex: 01 02 03 04 05 06
enterprises.2.6.10.25.4.5.2.1.1.82.84.183.200.217.195 = Hex: 52 54 B7 C8 D9 C3
enterprises.2.6.10.25.4.5.2.1.1.170.170.170.170.170.170 = Hex: AA AA AA AA AA AA

象这种值和对象标识对应的,如果我想在里面插入如下值,比如

enterprises.259.6.10.25.4.5.2.1.1.6.5.4.3.2.1 = Hex: 06 05 04 03 02 01

急问如何设置,使用snmpset命令吗,怎么实现呢??

--

[m [1;35m※ 来源:·BBS 水木清华站 smth.org·[FROM: 218.197.192.171] [m

小四★北渡北汉江⊙

unread,
Jun 17, 2003, 6:06:02 AM6/17/03
to
你自己试试啊

比如这样

# snmpset 192.168.5.209 private at.atTable.atEntry.atPhysAddress.1.1.192.168.5.8 x "00 00 00 11 11 22"
at.atTable.atEntry.atPhysAddress.1.1.192.168.5.8 = Hex: 00 00 00 11 11 22

【 在 glum (sigh) 的大作中提到: 】
: 下面的这种情况如何set


: % snmpwalk -c public localhost enterprises.2.6.10.25.4.5.2.1.1
: enterprises.2.6.10.25.4.5.2.1.1.1.2.3.4.5.6 = Hex: 01 02 03 04 05 06
: enterprises.2.6.10.25.4.5.2.1.1.82.84.183.200.217.195 = Hex: 52 54 B7 C8 D9 C3
: enterprises.2.6.10.25.4.5.2.1.1.170.170.170.170.170.170 = Hex: AA AA AA AA AA AA
: 象这种值和对象标识对应的,如果我想在里面插入如下值,比如
: enterprises.259.6.10.25.4.5.2.1.1.6.5.4.3.2.1 = Hex: 06 05 04 03 02 01
: 急问如何设置,使用snmpset命令吗,怎么实现呢??


--

也许有一天,他再从海上蓬蓬的雨点中升起,
飞向西来,再形成一道江流,再冲倒两旁的石壁,
再来寻夹岸的桃花。然而,我不敢说来生,也不敢信来生......


[m [1;34m※ 来源:·BBS 水木清华站 smth.org·[FROM: 211.167.254.71] [m

0 new messages