VRRP module not getting the VRID information from an interface
See original GitHub issueHello,
I am using the vrrp.get(<interface>).get(vrid)
method to collect VRRP group information but it seems it is not retrieving any data. Below I am pasting what I am receiving along with the configuration on the switch:
Swtich configuration
interface Vlan177
load-interval 5
ip address 10.177.0.68/28
vrrp 70 priority 200
vrrp 70 ip 10.177.0.70
vrrp 70 track ETH46 shutdown
vrrp 71 priority 200
vrrp 71 ip 10.177.0.71
vrrp 71 shutdown
vrrp 72 priority 200
vrrp 72 ip 10.177.0.72
vrrp 72 shutdown
Python Example
vrrp = node.api('vrrp')
>>> pprint(vrrp.get('Vlan177').get(71))
{'bfd_ip': '',
'delay_reload': None,
'description': '',
'enable': True,
'ip_version': None,
'mac_addr_adv_interval': 30,
'preempt': True,
'preempt_delay_min': 0,
'preempt_delay_reload': 0,
'primary_ip': None,
'priority': None,
'secondary_ip': [],
'timers_advertise': None,
'track': []}
>>> pprint(vrrp.get('Vlan177').get(70))
{'bfd_ip': '',
'delay_reload': None,
'description': '',
'enable': True,
'ip_version': None,
'mac_addr_adv_interval': 30,
'preempt': True,
'preempt_delay_min': 0,
'preempt_delay_reload': 0,
'primary_ip': None,
'priority': None,
'secondary_ip': [],
'timers_advertise': None,
'track': []}
You can see from the collected data that the priority = None
, when the configuration is stated as 200, and even though the vrrp 71 shutdown
it returns it as enabled = True
.
Was this working before? should I use another method?
Thanks,
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
VRRP Commands - Cisco
This document describes the Cisco IOS XR software commands used to configure and monitor the Virtual Router Redundancy Protocol (VRRP) on Cisco ASR...
Read more >vrrp vrid track interface - Command Reference - Huawei Support
You can run the vrrp vrid track interface command to associate a VRRP group with a device interface not in the VRRP group....
Read more >12.1 VRRP Commands
Review SEFOS command descriptions, syntax, and examples for the switch.
Read more >vrrp - Aruba Networks
tracking interface {fastethernet <slot>/<module>/<port>|gigabitethernet ... After you configure the VRID, the command platform enters VRRP mode.
Read more >RFC 8347 - A YANG Data Model for the Virtual Router ...
Standards Track [Page 2] RFC 8347 YANG VRRP March 2018 The following terms are defined in [RFC7950] and are not redefined here: o...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the details. Let me dig into this and will let you know once I have more info.
Thanks for the update Alex, I can workaround using operational commands for the moment.
So I’ll close this one now.
Cheers, David