background image
49
GgaX 系列二层网管型交换机使用手册
命令: snmp communty add
New community string: <new communty strng>
Get privileges: [y, always turn on by default]
Set privileges? (y/n):[n] <set prvlege, y for 'yes'; n for 'no'>
用户可以通过重新分配团体字串和特权来修改团体记录。
命令: snmp communty set
Community entry (table index): <entry d to confg>
Community string (old community string): <new communty strng>
这项操作将修改所有主机的团体字串。
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 prvlege, y for 'yes'; n for 'no'>
允许用户从团体表中删除团体记录。
命令: snmp communty delete
Community entry (table index): <entry d to delete>
这项操作将删除所有具有指定团体字串的主机。
Are you sure? (y/n): y] <y for 'yes'; n for 'no'>
[Reload]
从设置文件中恢复之前的设置。
命令: snmp communty retreve
[Host IP Address] [Community]
每条主机记录包括一个主机 IP 地址,网络掩码,以及其团体字串。
命令: snmp host add
Host IP/Subnet: <IP address>
Netmask: <netmask>
Community: <communty strng>
用户可以通过重新分配允许范围内的 IP 地址,网络掩码和团体字串