Simple Network Management Protocol | 985View your SNMP configuration, using the command show running-config snmp from EXEC Privilegemode, as shown in Figure 48-1.Figure 48-1. Creating an SNMP CommunityRead Managed Object ValuesYou may only retrieve (read) managed object values if your management station is a member of the samecommunity as the SNMP agent.There are several Unix SNMP commands that read data:Message 1 SNMP Enabled22:31:23: %RPM1-P:CP %SNMP-6-SNMP_WARM_START: Agent Initialized - SNMP WARM_START.Task CommandRead the value of a single managed object,as shown in Figure 48-2.snmpget -v version -c community agent-ip {identifier.instance |descriptor.instance}Figure 48-2. Reading the Value of a Managed ObjectRead the value of the managed objectdirectly below the specified object, asshown in Figure 48-3.snmpgetnext -v version -c community agent-ip {identifier.instance |descriptor.instance}Figure 48-3. Reading the Value of the Next Managed Object in the MIBRead the value of many objects at once, asshown in Figure 48-4.snmpwalk -v version -c community agent-ip {identifier.instance |descriptor.instance}FTOS#snmp-server community my-snmp-community ro22:31:23: %RPM1-P:CP %SNMP-6-SNMP_WARM_START: Agent Initialized - SNMP WARM_START.FTOS#do show running-config snmp!snmp-server community mycommunity roFTOS#> snmpget -v 2c -c mycommunity 10.11.131.161 sysUpTime.0DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (32852616) 3 days, 19:15:26.16> snmpget -v 2c -c mycommunity 10.11.131.161 .1.3.6.1.2.1.1.3.0DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (32856932) 3 days, 19:16:09.32> snmpgetnext -v 2c -c mycommunity 10.11.131.161 .1.3.6.1.2.1.1.3.0SNMPv2-MIB::sysContact.0 = STRING:> snmpgetnext -v 2c -c mycommunity 10.11.131.161 sysContact.0SNMPv2-MIB::sysName.0 = STRING: S50V_7.7