171
CHAPTER 3
INTRODUCTION TO CLI
3.9.44.13 (config)# snmp-server view
Syntax:
(configt)# snmp-server view <view_name> <oid_subtree> { include | exclude }
Explanation:
Configure SNMPv3 MIB view name.
Parameters:
<view_name>: A string identifying the view name that this entry should belong to. The allowed string length
is 1 to 32, and the allowed content is ASCII characters from 0x21 to 0x7E.
<oid_subtree>: The OID defining the root of the subtree to add to the named view. The allowed OID length
is 1 to 128.
{ include | exclude }: Indicates the view type that this entry should belong to. Possible view types are:
included:
An optional flag to indicate that this view subtree should be included.
excluded:
An optional flag to indicate that this view subtree should be excluded. In general, if a view
entry's view type is 'excluded', there should be another view entry existing with view type as 'included'
and it's OID subtree should overstep the 'excluded' view entry.
Negation:
(config)# no snmp-server view <view_name> <oid_subtree>
Show:
# show snmp view [ <view_name> <oid_subtree> ]
3.9.44.14 (config-if)# snmp-server host <conf_name> traps
Syntax:
(config-if)# snmp-server host <conf_name> traps [ linkup ] [ linkdown ] [ lldp ]
Explanation:
Configure SNMP trap events for the selected interface.
Parameters:
<conf_name: word 32>: Specify the name of the trap.
traps [ linkup ] [ linkdown ] [ lldp ]: Enable the selected interfaces’ trap events.
[ linkup ]:
Port link up trap.
[ linkdown ]:
Port link down trap.
[ lldp ]:
LLDP (Link Layer Discovery Protocol) trap.
Negation:
(config-if)# no snmp-server host <conf_name> traps
3.9.44.15 (config-snmps-host)# host <v_ipv6_ucast>
Syntax:
(config-snmps-host)# host <v_ipv6_ucast> [ <udp_port> ] [ traps | informs ]
Explanation:
Indicates the SNMP trap destination address.
Parameters:
Summary of Contents for MSW-4424C Series
Page 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Page 382: ......