Chapter 13: Unit Management (CLI)
Configuring SNMP (CLI)
phn-3963_008v000
Page 13-30
Configuring Trap Managers (CLI)
To display the current SNMP trap manager settings, enter the following command in root view:
root> platform security protocols-control snmp trap-manager show
To modify the settings of an SNMP trap manger, enter the following command in root view:
root> platform security protocols-control snmp trap-manager set manager-
id <manager-id> manager-admin <manager-admin> manager-ipv4 <manager-ipv4>
manager-ipv6<manager-ipv6> manager-port <manager-port> manager-community
<manager-community> manager-v3-user <manager-v3-user> manager-description
<manager-description>
To enable an SNMP trap manger without modifying its parameters, enter the following command in root view:
root> platform security protocols-control snmp trap-manager admin
manager-id <manager-id> manager-admin <manager-admin>
To specify the number of minutes between heartbeat traps, enter the following command in root view:
root> platform security protocols-control snmp trap-manager heartbeat
manager-id <manager-id> manager-heartbeat <manager-heartbeat>
Table 61
Trap Managers CLI Parameters
Parameter
Input Type
Permitted Values
Description
manager-id
Number.
1 – 4
Enter the Manager ID of the trap
manager you want to modify.
manager-
admin
Variable.
enable
disable
Enter
enable
or
disable
to enable or
disable the trap manager.
manager-ipv4 Dotted
decimal
format.
Any valid IPv4 address.
If the IP protocol selected in
management ip set ip-address-
family
is IPv4, enter the destination
IPv4 address. Traps will be sent to this
IP address.
manager-ipv6 Eight groups
of four
hexadecimal
digits
separated by
colons.
Any valid IPv6 address.
If the IP protocol selected in platform
management ip set ip-address-
family is IPv6, enter the destination
IPv6 address. Traps will be sent to this
IP address.
manager-port Number.
70 – 65535
Enter the number of the port through
which traps will be sent.
manager-
community
Text String.
Any valid SNMP read
community.
Enter the community string for the
SNMP read community.