background image
43
GigaX 2008EX 二层网管型交换机 用户手册
行修改。
CLI 命令 : snmp host set
Host table entry (table index): <entry id to config>
Host IP/Subnet (old IP address): <new IP address>
Netmask (old netmask): <new netmask>
Community (old community string): <new community string>
允许用户从主机表中删除一个主机记录。
CLI 命令 : snmp host delete
Entry id (table index): <entry id to delete>
[Reload]
从设置文件中恢复之前的设置。
CLI 命令 : snmp host retrieve
[Trap Version] [v1/v2c]
[Destination]
[Community for Trap]
每个 trap 记录包括 SNMP 版本号 ( 目前支持 v1 和 v2c),一个目的 IP 地址和远程团
体字串。
CLI 命令 : snmp trap add
SNMP version? (1/2c): [1, by default] <snmp version>
Destination IP: <IP address>
Community: <community string>
用户可以通过重新指定 SNMP 版本,目的 IP 地址和团体字串来修改 trap 记录。
CLI 命令 : snmp trap set
Trap table entry (table index): <entry id to config>
SNMP version? (1/2c): [old snmp version] <new snmp version>
Destination IP (old IP address): <new IP address>
Community (old community string): <new community string>
允许用户从 trap 表中删除记录。
CLI 命令 : snmp trap delete
Trap table entry (table index): <entry id to delete>