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