Counter Notes
Counter Notes
The counter is ospfv3IfEvents and is specified in RFC5643. There is described what this
counter should be counting as follow: "The number of times this OSPFv3 interface has
changed its state or an error has occurred."
So, the counter must count the ospf interface state changes.
In the RFC 2328, we can see which states are defined for ospf interface states: The states are:
DOWN, LOOPBACK, WAITING, POINT-TO-POINT, DR OTHER, BACKUP, DR.
In this way, when we have an OSPFv3 scenario where "ospf network type is broadcast", the
ospf election process will be executed every time you do shut/no shut, and this will lead to
several states changes, following the state flow defined in RFC as follow:
This way, if you configure your OSPFv3 session to be POINT-TO-POINT, probably you will
observe the behaviour proposed in our test plan
Running the same test in sessions type broadcast, after interface comes UP, sessions can go
for example from Down to Waiting, from Waiting to Backup and from Backup to DR.
In this case, counter will increase 3 times.
Here, the election process is running and the counter counts Down to Waiting and Waiting to
Backup. So, in total counter increases 3 times after shut / no shut.
Where, after a shut/no shut, the timer will be increase only 2 times, because this kind of
OSPFv3 session does not start the election process, and it only goes to DOWN state when
you shut down the interface, and after that, when you execute "no shutdown" command,
sessions goes directly to "POINT-TO-POINT".
After Shutdown:
After NoShutdown:
2023 Jul 18 22:27:06.666 : CE4 : OSPFv3 : INFO : IFSM[eth1]: Down (InterfaceUp) 2023
Jul 18 22:27:07.671 : CE4 : OSPFv3 : INFO : IFSM[eth1]: Point-To-Point (NeighborChange)
2023 Jul 18 22:27:07.671 : CE4 : OSPFv3 : INFO : IFSM[eth1]: Point-To-Point
(NeighborChange)