Difference between revisions of "clish - get vrrp vird"
From cpwiki.net
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
just get the vrid... | just get the vrid... | ||
− | # clish -c "show vrrp interfaces" | grep -m1 -E "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.... | 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" | + | '''clish -c "show vrrp interfaces" | grep -E "VRID|Base|State"''' |
Example... | Example... | ||
− | # clish -c "show vrrp interfaces" | grep -E "VRID|Base|State" | + | # '''clish -c "show vrrp interfaces" | grep -E "VRID|Base|State"''' |
VRID 71 | VRID 71 | ||
State: Backup Time since transition: 8937735 | State: Backup Time since transition: 8937735 |
Latest revision as of 15:18, 24 May 2013
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