INS_CWGE24MS2_REV–
10/05/16 PAGE 254
INSTALLATION AND OPERATION MANUAL
CWGE24MS2
TECH SUPPORT: 1.888.678.9427
CLI Configuration
Node
Command
Description
enable
show snmp
This command displays the SNMP configurations.
configure snmp community STRING
(ro|rw) trusted-host IPADDR/
MASK
This command configures the SNMP community name, access
right, network ID and mask in IPv4 format.
configure no snmp community STRING
(ro|rw) trusted-host IPADDR/
MASK
This command deletes the SNMP community name, access right,
network ID and mask in IPv4 format.
configure snmp community STRING
(ro|rw) trusted-ipv6-host
IPADDR/MASK
This command configures the SNMP community name, access
right, network ID and mask in IPv6 format.
configure no snmp community STRING
(ro|rw) trusted-ipv6-host
IPADDR/MASK
This command deletes the SNMP community name, access right,
network ID and mask in IPv6 format.
configure snmp (disable|enable)
This command disables/enables the SNMP on the switch.
configure snmp system-contact
STRING
This command configures contact information for the system.
configure snmp system-location
STRING
This command configures the location information for the system.
configure snmp system-name STRING This command configures a name for the system.
(The System Name is same as the host name)
configure snmp trap-receiver IPADDR
VERSION COMMUNITY
This command configures the trap receiver’s configurations,
including the IP address, version (v1 or v2c) and community.
configure no snmp trap-receiver
IPADDR VERSION
COMMUNITY
This command deletes the trap receiver’s configurations,
including the IP address, version (v1 or v2c) and community.
configure snmp trap-ipv6-receiver
IPADDR VERSION
COMMUNITY
This command configures the trap receiver’s configurations,
including the IP address in IPv6 format, version (v1 or v2c) and
community.
configure no snmp trap-ipv6-
receiver IPADDR VERSION
COMMUNITY
This command deletes the trap receiver’s configurations,
including the IP address in IPv6 format, version (v1 or v2c) and
community.
Example:
CWGE24MS2#configure terminal
CWGE24MS2(config)#snmp enable
CWGE24MS2(config)#snmp community public rw trusted-host 192.168.200.106/24
CWGE24MS2(config)#no snmp community public rw trusted-host 192.168.200.106/24
CWGE24MS2(config)#snmp community qqq rw trusted-ipv6-host 2100::1234/64
CWGE24MS2(config)#no snmp community qqq rw trusted-ipv6-host 2100::1234/64
CWGE24MS2(config)#snmp trap-receiver 192.168.200.106 v2c public
CWGE24MS2(config)#snmp system-contact IT engineer