A10E/A28E/A28F Configuration Guide
9.1.9 Example for configuring SNMP v1/v2c and Trap
Networking requirements
As shown in Figure 9-3, the route between the NView NNM system and Agent is reachable.
The Nview NNM system can view MIBs in the view of the remote switch through SNMP
v1/v2c. And the switch can automatically send Trap to Nview NNM in emergency.
By default, there is VLAN 1 in the A10E/A28E and all physical interfaces belong to VLAN 1.
Figure 9-3 Configuring SNMP v1/v2c and Trap
Configuration steps
Step 1 Configure the IP address of the switch.
Alpha-A28E#config
Alpha-A28E(config)#interface ip 0
Alpha-A28E(config-ip)#ip address 20.0.0.10 255.255.255.0 1
Alpha-A28E(config-ip)#exit
Step 2 Configure the SNMP v1/v2c view.
Alpha-A28E(config)#snmp-server view mib2 1.3.6.1.2.1 included
Step 3 Configure the SNMP v1/v2c community.
Alpha-A28E(config)#snmp-server community orion view mib2 ro
Step 4 Configure Trap.
Alpha-A28E(config)#snmp-server enable traps
Alpha-A28E(config)#snmp-server host 20.0.0.221 version 2c orion
Checking results
Show IP address configurations by the command of show interface ip.