
175
CHAPTER 3
CLI CONFIGURATION
<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.43.14 (config-if)# snmp-server host <conf_name> alarm
Syntax:
(config-if)# snmp-server host <conf_name> alarm [ linkdown ]
Explanation:
Configure SNMP linkdown alarm for the selected interface.
Parameters:
<conf_name: word 32>: Specify the name of the host.
alarm [ linkdown ]: Enable linkdown alarm.
Show:
# show snmp alarm [ <conf_name> ] [ power ] [ interface ]
3.9.43.15 (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
Содержание IFS-1604GSM Series
Страница 385: ......