R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101
133
Ste
p
Command
Remarks
6. Configure SNMP
access right.
• (Approach 1) Create an SNMP
community:
snmp-agent community { read |
write } community-name [ acl
acl-number | mib-view view-name ]*
• (Approach 2) Create an SNMP group,
and add a user to the SNMP group:
a. snmp-agent group { v1 | v2c }
group-name [ read-view
read-view ] [ write-view
write-view ] [ notify-view
notify-view ] [ acl acl-number ]
b. snmp-agent usm-user { v1 |
v2c } user-name group-name [ acl
acl-number ]
Use either approach.
To be compatible with SNMPv3, use
the snmp-agent group command.
Make sure the username is the same as
the community name configured on the
NMS.
7. Configure the
maximum size (in
bytes) of SNMP
packets for the
SNMP agent.
snmp-agent packet max-size byte-count Optional.
Switching the NM-specific interface index format
A network management (NM)-specific ifindex identifies an interface and is provided by the SNMP
managed device to the NMS. A network management-specific ifindex takes one of the following two
formats:
• 16-bit NM-specific ifindex—The system dynamically assigns 16-bit NM-specific ifindex values to
uniquely identify its interfaces. The 16-bit NM-specific ifindex value starts from 1 and increments by
1.
• 32-bit NM-specific ifindex—A 32-bit NM-specific ifindex value comprises an Offset, Interface Type,
Slot ID, and Chassis ID, as shown in Figure 62.
Figure 62 32-bit NM-sp
ecific ifindex
{
Offset—This field is 16 bits long and distinguishes different interfaces of the same type on the
same interface card.
{ Interface type—This field is 7 bits long and contains the enumerated value specific to the
interface type. It supports up to 128 different interface types and supports more than 80
interface types at present.
{ Slot ID—This field is 5 bits long and contains the number of the physical slot that holds the
interface.
{ Chassis ID—This field is 4 bits long. For a distributed device in IRF mode, this field indicates the
member ID of the device that provides the interface. For other types of devices, including
firewalls, this field has no meanings and the value is 0.
Slot IDInterface Type
0 2215
Offset Chassis ID
27 31