clish - get vrrp vird
From cpwiki.net
![Check Point Profressional Services](/images/ad_proservices_728x90-Guardwall.png)
just get the vrid...
# clish -c "show vrrp interfaces" | grep -m1 -E "VRID" VRID 71
here is a nice oneliner for checking vrrp status and grabbing the VRID without flooding you screen....
clish -c "show vrrp interfaces" | grep -E "VRID|Base|State"
Example...
# clish -c "show vrrp interfaces" | grep -E "VRID|Base|State" VRID 71 State: Backup Time since transition: 8937735 BasePriority: 90 Effective Priority: 90 VRID 71 State: Backup Time since transition: 8937735 BasePriority: 90 Effective Priority: 90 VRID 71 State: Backup Time since transition: 8937735 BasePriority: 90 Effective Priority: 90 VRID 71 State: Backup Time since transition: 8937735 BasePriority: 90 Effective Priority: 90 VRID 71 State: Backup Time since transition: 8937735 BasePriority: 90 Effective Priority: 90 VRID 71 State: Backup Time since transition: 8937734 BasePriority: 90 Effective Priority: 90 VRID 71 State: Backup Time since transition: 8937735 BasePriority: 90 Effective Priority: 90