07-17-2008 12:57 AM - edited 03-06-2019 12:14 AM
What is the difference between tracking a sub-interface configured for VLAN and simply tracking a physical interface?
For e.g.
standby track FastEthernet0/0.5
vs
standby track FastEthernet0/0
According to my understanding the second option automatically satisfies the first.
Is there a real significance of tracking a sub-interface instead of the corresponding physical interface?
What is the best practice?
Thanks in advance for your thoughts and time.
07-17-2008 06:24 AM
I've never tracked a sub-interface. But to answer the larger question, a physical interface can be "up, up" while one of its sub-interfaces can be down. Losing a Frame Relay DLCI is a perfect example.
HTH
Victor
07-17-2008 06:33 AM
For ethernet it is mostly true. There is probably a case where a subinterface could be down and the main up but it would have to be something strange related to the VTP tables.
In general it does little good to even track ethernet interfaces. They tend to stay up all the time even when stuff if very broke. The SLA track options are so nice when dealing with issue like this.
07-17-2008 06:47 AM
Thanks a lot Victor for your excellent example.
For the moment, my Focus is on Ethernet.
Tracking sub-interfaces would be helpful in a scenario where there are several virtual interfaces configured to connect to different networks.
For instance, bringing down some networks for maintenance or when there's a new interconnection to be commissioned, could be taken.
Simply shutting down the sub-interface will lead to Standby router taking over for the link in discussion.
Since the Physical interface is up, the new link could be commissioned without any service interruption to the existing connection.
I understand this example is quite specific.
Though, my original post was made expecting some generic approaches/best practices with regard to HSRP interface tracking.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide