RBFS Redundancy Operational Commands

Redundancy Show Commands

With the RBFS Command Line Interface, you can view output of operational commands. The redundancy operational commands provide detailed information about the RBFS redundancy operations.

Redundancy Details

Syntax:

show redundancy <options>

Option Description

client

Displays information about redundancy client daemons.

session

Displays session details.

Example: Details for a specified client daemon.

supervisor@rtbrick.net: op> show redundancy client lagd statistics
Session id: 100, Profile: rd_ipoe_olt1
  Agent State: active
  TCP operational state: up
  Message statistics:
    Keepalive sent    : 0
    Keepalive received: 0
  Last 5 state changes: [Latest first]
    active              : 2025-03-14T09:40:00.042489+0000
    promote-ready       : 2025-03-14T09:40:00.042460+0000
    promote-infra-wait  : 2025-03-14T09:40:00.042435+0000
    promote-app-wait    : 2025-03-14T09:40:00.041832+0000
    down                : 2025-03-14T09:39:45.931660+0000
  Connection statistics:
    Peer Address: 192.1.0.200
    Application down notifications: 0
    Connection down notifications: 0
    Retry count: 0
    Session down received: 0
Session id: 200, Profile: rd_ipoe_olt2
  Agent State: standby
  TCP operational state: up
  Message statistics:
    Keepalive sent    : 0
    Keepalive received: 0
  Last 5 state changes: [Latest first]
    standby             : 2025-03-14T09:40:01.025264+0000
    demote-ready        : 2025-03-14T09:40:01.025249+0000
    demote-infra-wait   : 2025-03-14T09:40:01.025229+0000
    demote-app-wait     : 2025-03-14T09:40:01.025197+0000
    down                : 2025-03-14T09:39:45.932673+0000
  Connection statistics:
    Peer Address: 192.1.0.20

Example: Details for a specified session ID

supervisor@rtbrick.net: op> show redundancy session 100
Instance: default
  Session ID     Interface   Peer        Source    State     Peer state  Keepalive rcvd Keepalive sent  Mode
  100         lag-1       192.1.0.200 192.1.0.100 active standby      563            564      standby-forwarding

Example: Details for redundancy session details

supervisor@M1-STD-44-4401>bm13-tst.fsn.rtbrick.net: op> show redundancy session detail
Redundancy session ID: 100, Source: 192.1.0.100, Peer: 192.1.0.200
  Instance: default, Profile name: rd_ipoe_olt1, Local priority: 20
  State: active, Previous state: connect, Last state transition time: 2025-03-14T09:40:00.034321+0000
  Peer state: standby
  Mode: standby-forwarding
  Interface: lag-1
  TCP operational state: up
  Message statistics:
    Keepalive sent       : 569
    Keepalive received   : 568
    Keepalive ignored    : 0
  Switchovers via cli    : 0
  State transition statistics:
    Down                : 0
    Connect             : 1
    Standby             : 0
    Active              : 1
    Stand-alone         : 0
    Demote              : 0
  Timers:
    Connect retry interval              : 4294967295
    Keepalive timer interval            : 5000
    Holddown timer interval             : 20000
    Switchover timer pending interval   : 0 sec
  Timer Statistics:
    Holddown timer expiry count         : 0
Redundancy session ID: 200, Source: 192.1.0.10, Peer: 192.1.0.20
  Instance: default, Profile name: rd_ipoe_olt2, Local priority: 210
  State: standby, Previous state: connect, Last state transition time: 2025-03-14T09:40:01.019764+0000
  Peer state: active
  Mode: standby-forwarding
  Interface: lag-11
:

Client Statistics

Syntax:

show redundancy client <name> statistics

This command displays information from redundancy client (daemon) which is a participant in the redundancy sessions. The daemons ifmd, ipoed.1, lagd, and subscriberd.1 are the client daemons in redundancy sessions.

Command:

show redundancy client lagd statistics

Example:

supervisor@rtbrick>ufi08.q2c.u23.r4.nbg.rtbrick.net: op> show redundancy client lagd statistics
Session id: 100, Profile: rd_ipoe
  Agent State: down
  TCP operational state: down
  Message statistics:
    Keep alive sent: 0
    Keep alive received: 0
  Last 5 state changes: [Latest first]
    down                : 2022-12-08T08:47:06.077823+0000
    demote-ready        : 2022-12-08T08:47:06.077798+0000
    demote-infra-wait   : 2022-12-08T08:47:06.077769+0000
    demote-app-wait     : 2022-12-08T08:47:06.077713+0000
    active              : 2022-12-08T06:57:53.058172+0000
  Connection statistics:
    Peer Address: 198.51.100.2
    Application down notifications: 0
    Connection down notifications: 0
    Retry count: 0
    Session down received: 8

Redundancy Session Details

Syntax:

show redundancy session <ID> <options>

Option Description

-

Without any option, it displays all session details.

detail

Displays details session information.

history

Displays session history.

status

Displays session status.

Example:

supervisor@rtbrick.net: op> show redundancy session detail
Redundancy session ID: 100, Update source: 198.51.100.1, Peer: 198.51.100.2.
  Instance: default, Profile name: rd_ipoe, Local priority: 20
  State: down, Previous state: active, Last state transition time: 2022-12-08T08:47:06.071930+0000
  TCP operational state: down
  Message statistics:
    Keep alive sent: 21516
    Keep alive received: 21515
    Switch overs detected: 0
  Timers:
    Connect retry interval: 2000
    keep alive timer interval: 3000
    Holddown timer interval: 9000

Example: RD session detail for a session ID.

supervisor@rtbrick.net: op> show redundancy session 100 detail
Redundancy session ID: 100, Update source: 198.51.100.1, Peer: 198.51.100.2
  Instance: default, Profile name: rd_ipoe, Local priority: 20
  State: down, Previous state: active, Last state transition time: 2022-12-08T08:47:06.071930+0000
  TCP operational state: down
  Message statistics:
    Keep alive sent: 21516
    Keep alive received: 21515
    Switch overs detected: 0
  Timers:
    Connect retry interval: 2000
    keep alive timer interval: 3000
    Holddown timer interval: 9000

Example: Status information of a session specified

supervisor@rtbrick.net: op> show redundancy session 100 status
State: down,  Remote State: invalid
Redundancy client replication information:
  Total redundancy clients : 5
  ifmd:
  ipoed.1:
  lagd:
  poold:
  subscriberd.1:
    Number of subscribed table: 1

Example: History of a session ID for a specified count.

supervisor@rtbrick.net: cfg> show redundancy session 100 history count 3
Previous state       Current state        State change reason  Timestamp
connect              standby              standby              2022-12-21T07:05:36.010847+0000
down                 connect              open                 2022-12-21T07:05:29.738121+0000
invalid              down                 init                 2022-12-21T07:00:44.282300+0000