Forum Discussion

2 Replies

  • Which ip you want to see ? failover , config sync or management ip .

     

    You can see that in device section in cm module list cm device

     

  • R_Marc's avatar
    R_Marc
    Icon for Nimbostratus rankNimbostratus

    One way:

    list cm device bip* { failover-state management-ip }
    cm device bip1 {
        failover-state active
        management-ip 10.0.0.1
    }
    cm device bip2 {
        failover-state standby
        management-ip 10.0.0.2
    }
    
    

    This assumes you only have a single traffic group. There are other possible IPs in there you might be interested in, like the unicast and configsync IPs. To see everything just remove the { * } from the list command.

    It's also possible for both nodes to be active, so you have that, you'd want to see who's active for a particular traffic group:

     show cm traffic-group *
    
    ------------------------------------------------------------------
    CM::Traffic-Group
    Name                      Device                   Status   Next
                                                                Active
    ------------------------------------------------------------------
    my-traffic-group     bip1  active   false
    my-traffic-group     bip2  standby  true
    traffic-group-1           bip1  active   false
    traffic-group-1           bip2  standby  true
    traffic-group-local-only  -                        -        -