The example below shows a simple configuration where the polling mask is set to any host (0.0.0.0/0) and the community parameter is set to public.
CLI# configure snmp-server community 'public' 0.0.0.0/0 When SNMP is enabled, you can verify the VRRP status using the following command from a host that has installed SNMP utilities.
Example:
# snmpwalk -c public -v2c <CPM_IP_Address> 1.3.6.1.4.1.6848.2.5.2.1.3
SNMPv2-SMI::enterprises.6848.2.5.2.1.3.1 = INTEGER: 1
SNMPv2-SMI::enterprises.6848.2.5.2.1.3.10 = INTEGER: 2
The above output is from a chassis configured with two VRRP failover-groups. The last digit in the OID signifies the failover-group-id. The first failover group (ID 1) is currently running as Master and the other failover group (ID 10) is running as Backup.
Here is the the corresponding output from the CLI command show vrrp:
CBS# show vrrp
Priority is Actual/Configured
FG-ID Priority Status Preempt Master Sys ID Master Priority
1 100/100 Master off 1 100
10 100/100 Backup off 3 110
(2 rows)
Possible VRRP status codes are defined in the MIB file CBS-VRRP-MIB.txt:
FailGroupStatus ::= TEXTUAL-CONVENTION STATUS
current DESCRIPTION "Failover group status"
SYNTAX INTEGER { init(0), master(1), backup(2), down(3) }