System Setup and Software Installation Guide for Cisco NCS 1010, IOS XR Releases

PDF

System Setup and Software Installation Guide for Cisco NCS 1010, IOS XR Releases

Find the MAC address of all the nodes

Want to summarize with AI?

Log in

Use this procedure to find the MAC address of all nodes. It supports remote console setup in an OLT-ILA-OLT topology before connection configuration.


Use this task to find the MAC address of all the nodes.

Note

This procedure considers that you are establishing console connection to a remote ILA node in a 3-node OLT-ILA-OLT topology. The output changes for different topologies.

Before you begin

Enable LLDP in all nodes in the network. See Link Layer Discovery Protocol Support on Management Interface.

Follow these steps to find the MAC address of all the nodes.

Procedure

  1. Unshut the RCOM interface in all the nodes to prepare for remote console connection.

    Example:

    For security reasons, console access to the remote nodes are disabled by default. To access the remote node's console, enable the RCOM management interface.
    RP/0/RP0/CPU0:ios(config)#interface MgmtEth 0/RP0/RCOM0/0 
    RP/0/RP0/CPU0:ios(config-if)#no shutdown 
    RP/0/RP0/CPU0:ios(config-if)#commit
    Wed Sep  4 11:40:14.864 IST
    Note

    Unshutting the RCOM interface enables only the LLDP receive operations to receive remote node details.

  2. Run end to exit the RCOM interface.

    Example:

    RP/0/RP0/CPU0:ios(config-if)#end
    RP/0/RP0/CPU0:ios#
  3. Run show ipv4 interface brief to verify the RCOM interface status.

    Example:

    The output, displaying the node's IPv4 interface details, highlights the UP status of the node's RCOM interface.
    RP/0/RP0/CPU0:ios#show ipv4 interface brief 
    Wed Sep  4 11:40:23.460 IST
    
    Interface                      IP-Address      Status          Protocol Vrf-Name
    Loopback0                      10.1.1.2        Up              Up       default 
    GigabitEthernet0/0/0/0         10.1.1.2        Up              Up       default 
    GigabitEthernet0/0/0/2         10.1.1.2        Up              Up       default 
    MgmtEth0/RP0/CPU0/0            4.34.2.200      Up              Up       default 
    PTP0/RP0/CPU0/0                unassigned      Shutdown        Down     default 
    MgmtEth0/RP0/CPU0/1            unassigned      Shutdown        Down     default 
    PTP0/RP0/CPU0/1                unassigned      Shutdown        Down     default 
    MgmtEth0/RP0/CPU0/2            10.127.126.174  Shutdown        Down     default 
    MgmtEth0/RP0/RCOM0/0           unassigned      Up              Up       default
              
  4. Run show lldp neighbors or show lldp neighbors details to find the MAC addresses of all the nodes in the topology.

    Note

    You can find the details of only the nodes that are connected to the OLT node through OSC gigabit ethernet interface.

    Example:

    The show lldp neighbors output, displaying the neighbors details of the near-end OLT node, highlights the hostname of its neighbor nodes.
    RP/0/RP0/CPU0:ios#show lldp neighbors
    Thu Mar 20 16:19:15.151 IST
    Capability codes:
            (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
            (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
    
    Device ID       Local Intf                      Hold-time  Capability      Port ID
    R4              GigabitEthernet0/0/0/0          120        R               GigabitEthernet0/0/0/0
    R5              GigabitEthernet0/0/0/2          120        R               GigabitEthernet0/0/0/0
    
    Total entries displayed: 2
    

    Example:

    The show lldp neighbors details output displays the system name and its peer MAC address in detail.
    RP/0/RP0/CPU0:ios#show lldp neighbors details
    Thu Mar 20 16:19:17.010 IST
    Capability codes:
            (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
            (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
    
    ------------------------------------------------
    Local Interface: GigabitEthernet0/0/0/0
    Chassis id: cced.4dda.9ebe
    Port id: GigabitEthernet0/0/0/0
    Port Description - not advertised
    System Name: R4
    
    System Description: 
    24.4.15.18I, NCS1010
    
    Time remaining: 108 seconds
    Hold Time: 120 seconds
    Age: 264651 seconds
    System Capabilities: R
    Enabled Capabilities: R
    Management Addresses:
      IPv4 address: 10.1.1.1
    
    Peer MAC Address: cc:ed:4d:da:9e:c2
    
    
    ------------------------------------------------
    Local Interface: GigabitEthernet0/0/0/2
    Chassis id: 689e.0bb8.7122
    Port id: GigabitEthernet0/0/0/0
    Port Description - not advertised
    System Name: R5
    
    System Description: 
    24.4.15.18I, NCS1010
    
    Time remaining: 92 seconds
    Hold Time: 120 seconds
    Age: 290600 seconds
    System Capabilities: R
    Enabled Capabilities: R
    Management Addresses:
      IPv4 address: 10.1.1.3
    
    Peer MAC Address: 68:9e:0b:b8:71:26
    
    
    Total entries displayed: 2