Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

arp

[Expert@MyChassis-ch0x-0x:0]# asg_arp
Address              HWaddress            Iface
172.23.19.4          54:7F:EE:6A:D0:BC    eth1-Mgmt2
1_01                 00:1C:7F:01:04:FE    Sync
1_2                  00:1C:7F:02:04:FE    Sync
ssm1                 02:02:03:04:05:40    eth1-CIN
ssm2                 04:02:03:04:05:40    eth2-CIN
[Expert@MyChassis-ch0x-0x:0]#

Verbose

[Expert@MyChassis-ch0x-0x:0]# asg_arp -v
Address              HWtype   HWaddress            Flags Mask  Iface                SGMs
172.23.19.4          ether    54:7F:EE:6A:D0:BC    C           eth1-Mgmt2           1_01
1_01                 ether    00:1C:7F:01:04:FE    C           Sync                 1_02
1_2                  ether    00:1C:7F:02:04:FE    C           Sync                 1_01
ssm1                 ether    02:02:03:04:05:40    C           eth1-CIN             1_01,1_02
ssm2                 ether    04:02:03:04:05:40    C           eth2-CIN             1_01
[Expert@MyChassis-ch0x-0x:0]#

[Expert@MyChassis-ch0x-0x:0]# asg_arp --verify
Address              HWtype   HWaddress            Flags Mask  Iface                SGMs
172.23.19.4          ether    54:7F:EE:6A:D0:BC    C           eth1-Mgmt2           1_01
1_01                 ether    00:1C:7F:01:04:FE    C           Sync                 1_02
1_2                  ether    00:1C:7F:02:04:FE    C           Sync                 1_01
ssm1                 ether    02:02:03:04:05:40    C           eth1-CIN             1_01,1_02
ssm2                 ether    04:02:03:04:05:40    C           eth2-CIN             1_01
 
MAC address for IP 172.23.19.4 is inconsistent across the SGMs
 
--------------------------------------------------------------------------------
Collecting information from SGMs...
--------------------------------------------------------------------------------
Verifying FW1 mac magic value on all SGMs...
Success
--------------------------------------------------------------------------------
Verifying IPV4 and IPV6 kernel values...
Success
--------------------------------------------------------------------------------
Verifying FW1 mac magic value in /etc/smodb.json...
Success
--------------------------------------------------------------------------------
Verifying MAC address on local chassis (Chassis 1)...
Success
--------------------------------------------------------------------------------
[Expert@MyChassis-ch0x-0x:0]#

Legacy

[Expert@MyChassis-ch0x-0x:0]# asg_arp --legacy
1_01:
Address                  HWtype  HWaddress           Flags Mask            Iface
ssm2                     ether   04:02:03:04:05:40   C                     eth2-CIN
ssm1                     ether   02:02:03:04:05:40   C                     eth1-CIN
1_2                      ether   00:1C:7F:02:04:FE   C                     Sync
172.23.19.4              ether   54:7F:EE:6A:D0:BC   C                     eth1-Mgmt2
1_02:
Address                  HWtype  HWaddress           Flags Mask            Iface
1_01                     ether   00:1C:7F:01:04:FE   C                     Sync
ssm1                     ether   02:02:03:04:05:40   C                     eth1-CIN
[Expert@MyChassis-ch0x-0x:0]#