Home > HP > Printer > HP 5500 Ei 5500 Si Switch Series Configuration Guide

HP 5500 Ei 5500 Si Switch Series Configuration Guide

Here you can view all the pages of manual HP 5500 Ei 5500 Si Switch Series Configuration Guide. The HP manuals for Printer are available online for free. You can easily download all the documents as PDF.

Page 2361

 60 
Step Command Remarks 
8.  Add a user to the SNMPv3 
group.  snmp-agent usm-user
 v3  
user-name group-name  [ [ cipher ] 
authentication-mode  { md5 | sha } 
auth-password  [ privacy-mode  
{  3des  | aes128  | des56  } 
priv-password  ] ] [ acl acl-number  | 
acl ipv6  ipv6-acl-number ] *  N/A 
9.
  Configure the maximum 
SNMP packet size (in bytes) 
that the SNMP agent can 
handle.  snmp-agent packet max-size
 
byte -count   Optional. 
By default, the SNMP agent can 
receive and send SNMP packets...

Page 2362

 61 
Step Command Remarks 
5.  Create or update a 
MIB view.  snmp-agent mib-view
 { excluded | included  } 
view -name  oid -tree  [ mask  mask-value  ]  Optional. 
By default, the MIB view 
ViewDefault is predefined and 
its OID is 1. 
Each 
view-name oid-tree  pair 
represents a view record. If you 
specify the same record with 
different MIB subtree masks 
multiple times, the last 
configuration takes effect. 
Except the four subtrees in the 
default MIB view, you can 
create up to 16 unique MIB...

Page 2363

 62 
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...

Page 2364

 63 
Step Command Remarks 
3.  Switch the format of an 
NM-specific ifindex from 
32- bi t  to  16 - b i t.   undo snmp-agent ifmib 
long-ifindex enable  Optional. 
By default, an NM-specific ifindex 
is in 16-bit format. 
 
Configuring SNMP logging 
 
 
IMPORTANT: 
Disable SNMP lo
gging in normal cases to prevent a large amount of SNMP logs from decreasing device
performance. 
 
The SNMP logging function logs Get requests, Set requests, and Set responses, but does not log Get 
responses. 
•   Get...

Page 2365

 64 
To generate linkUp or linkDown traps when the link state of an interface changes, you must enable the 
linkUp or linkDown trap function globally by using the snmp-agent trap enable [ standard [ linkdown  | 
linkup ] * ] command and on the interface by using the  enable snmp trap updown command. 
After you enable a trap function for a module, whether the module generates traps also depends on the 
configuration of the module. For more information, see the configuration guide for each module. 
To  e n...

Page 2366

 65 
Step Command Remarks 
2.  Configure a target host.  snmp-agent
 target-host  trap 
address  udp-domain  { ip-address  | 
ipv6  ipv6-address  } [ udp-port 
port-number  ] [ dscp  dscp-value  ] 
[ vpn-instance  vpn-instance-name  ] 
params  securityname 
security-string  [ v1 | v2c  | v3 
[ authentication  | privacy ] ]  If the trap destination is a host, the 
ip-address
 argument must be the IP 
address of the host. 
Only the HP 5500 EI switches 
support the  vpn-instance  keyword.
 
3.  Configure...

Page 2367

 66 
Task  Command Remarks 
Display basic information about 
the trap queue.  display snmp-agent trap queue
 [ | { begin | 
exclude  | include  } regular-expression ]  Available in any view 
Display the modules that can send 
traps and their trap status (enable 
or disable).  display snmp-agent trap-list
 [ | { begin | 
exclude  | include  } regular-expression ]  Available in any view
 
Display SNMPv3 user information.  display snmp-agent usm-user 
[ engineid  
engineid  | username  user-name  | group...

Page 2368

 67 
# Enable SNMP traps, set the NMS at 1.1.1.2 as an SNMP trap destination, and use public as the 
community name. (To make sure the NMS can receive traps, specify the same SNMP version in the 
snmp-agent target-host command as  is configured on the NMS.) 
[Agent] snmp-agent trap enable 
[Agent] snmp-agent target-host trap address udp-domain 1.1.1.2 params securityname 
public v1 
[Agent] quit 
2. Configure the SNMP NMS: 
# Configure the SNMP version for the NMS as v1 or v2c, create a read-only...

Page 2369

 68 
Figure 26 Network diagram 
 
 
Configuration procedure 
1. Configure the agent: 
# Configure the IP address of the agent and make sure the agent and the NMS can reach each 
other. (Details not shown.) 
# Assign the NMS read and write access to  the objects under the snmp node (OID 
1.3.6.1.2.1.11), and deny its access to any other MIB object. 
 system-view 
[Agent] undo snmp-agent mib-view ViewDefault 
[Agent] snmp-agent mib-view included test snmp 
[Agent] snmp-agent group v3 managev3group...

Page 2370

 69 
Request binding:  
1: 1.3.6.1.2.1.11.29.0 
Response binding: 
1: Oid=snmpOutTraps.0 Syntax=CNTR32 Value=18 
Get finished 
# Try to get the device name from the agent. The get attempt fails because the NMS has no access 
right to the node. 
Send request to 1.1.1.1/161 ... 
Protocol version: SNMPv3 
Operation: Get 
Request binding:  
1: 1.3.6.1.2.1.1.5.0 
Response binding: 
1: Oid=sysName.0 Syntax=noSuchObject Value=NULL 
Get finished 
# Execute the  shutdown or undo shutdown  command on an idle...
Start reading HP 5500 Ei 5500 Si Switch Series Configuration Guide

Related Manuals for HP 5500 Ei 5500 Si Switch Series Configuration Guide

All HP manuals