background image
42
GigaX 2008EX 二层网管型交换机 用户手册
5.3.4
SNMP
[Community Name] [Set]
一个团体记录包含一个团体描述字串和一组特权。Get 权默认为启用,用户可以
在新建记录时指定是否要给予 Set 特权。
CLI 命令 : snmp community add
New community string: <new community string>
Get privileges: [y, always turn on by default]
Set privileges? (y/n):[n] <set privilege, y for ‘yes’; n for ‘no’>
用户可以通过重新分配团体字串和特权来修改团体记录。
CLI 命令 : snmp community set
Community entry (table index): <entry id to config>
Community string (old community string): <new community string>
这项操作将修改所有主机的团体字串。
Are you sure? (y/n): [y] <y for ‘yes’; n for ‘no’>
Get privileges: [y, always turn on by default]
Set privileges? (y/n): [n] <set privilege, y for ‘yes’; n for ‘no’>
允许用户从团体表中删除团体记录。
CLI 命令 : snmp community delete
Community entry (table index): <entry id to delete>
这项操作将删除所有具有指定团体字串的主机。
Are you sure? (y/n): [y] <y for ‘yes’; n for ‘no’>
[Reload]
从设置文件中恢复之前的设置。
CLI 命令 : snmp community retrieve
[Host IP Address] [Community]
每条主机记录包括一个主机 IP 地址,网络掩码,以及团体字串。
CLI 命令 : snmp host add
Host IP/Subnet: <IP address>
Netmask: <netmask>
Community: <community string>
用户可以通过重新分配允许范围内的 IP 地址,网络掩码和团体字串对主机记录进