Make sure you are in root@pod01-srv1 during these steps.

Configure LLDPd for adjacency

LLDP is a tool that was born as a standard from the CDP protocol. LLDP is a vendor-neutral link layer protocol (transmitted via L2 broadcasts ) that is used by devices to share identity and capabilities to each other. This makes it easier to identify device locations across networks.

LLDP is also available in servers and can interact with Cisco ACI to make it possible to see the adjacency location of servers in relation to ports in the ACI fabric. This relationship can assist you in Contiv configuration because ACI can use this location information to remove the requirements to configure the location of compute hosts.

While it might seem a little confusing at this point of the lab, consider LLDP as a way to assist you in your Contiv deployment to configure ports in the ACI fabric to compute hosts. This is identical to the mechanism required to identify location in ACI with VMware vSphere integration.

Finally even if you don't use LLDP for the integration of Contiv as a mechanism to configure the access policies in ACI, having LLDP assist you with the ACI fabric as an operator. This provides you an easy way that you could script the locations of every device attached to the ACI fabric. ACI keeps a database of adjacencies that you can easily request and parse to get a list of CDP or LLDP entries of all ports in the ACI fabric. In all using LLDP is very useful for the network operator.

Step 1 - Add special repository for LLDPd

The best LLDPd package for integration with ACI is available on OpenSUSE repositories. You will add the following repository link to YUM such that it can pull the package and install easily.

# This is the copy group: 1
cd /etc/yum.repos.d/ wget http://download.opensuse.org/repositories/home:vbernat/RHEL_7/home:vbernat.repo

Step 2 - Install LLDPd

# This is the copy group: 2
yum -y install lldpd

Step 3 - Enable and start LLDPd

After LLDPd is installed in the system, use systemctl to enable the daemon so that it starts after reboots and then start it to that it is enabled now.

# This is the copy group: 3
systemctl enable lldpd systemctl start lldpd

Step 4 - Check LLDP Neighbor

Now that LLDP is functional, you can get the neighbor list with the command lldpcli show neighbor

# This is the copy group: 4
lldpcli show neighbor

The output of the command should show only one active neighbor relationship that is to the adjacent ACI FEX port that is used in the lab for the management port of the hosts.

Note: You may need to re-run the command above (waiting for LLDP packet to arrive)

You should be able to see two neighbors. One is for the management interface and the other one is for the ACI connection

[root@pod01-srv1 ~]# lldpcli show neighbor
LLDP neighbors:
Interface:    eth0, via: LLDP, RID: 2, Time: 0 day, 00:00:19
    ChassisID:    mac 54:75:d0:21:0c:20
    SysName:      L3
    SysDescr:     topology/pod-1/node-203
    TTL:          120
    Capability:   Bridge, on
    Capability:   Router, off
    PortID:       local Eth111/1/31
    PortDescr:    topology/pod-1/paths-203/extpaths-111/pathep-[eth1/31]
  Unknown TLVs:
    TLV:          OUI: 00,01,42, SubType: 1, Len: 1 01
    TLV:          OUI: 00,01,42, SubType: 202, Len: 1 01
Interface:    eth1, via: LLDP, RID: 1, Time: 0 day, 00:00:34
    ChassisID:    mac f8:c2:88:87:71:ad
    SysName:      L1
    SysDescr:     topology/pod-1/node-201
    TTL:          120
    Capability:   Bridge, on
    Capability:   Router, on
    PortID:       local Eth1/31
    PortDescr:    topology/pod-1/paths-201/pathep-[eth1/31]
  Unknown TLVs:
    TLV:          OUI: 00,01,42, SubType: 1, Len: 1 00
    TLV:          OUI: 00,01,42, SubType: 201, Len: 1 01
    TLV:          OUI: 00,01,42, SubType: 216, Len: 2 00,00
    TLV:          OUI: 00,01,42, SubType: 215, Len: 2 4C,31
    TLV:          OUI: 00,01,42, SubType: 212, Len: 11 53,41,4C,31,38,33,32,59,36,54,4C
    TLV:          OUI: 00,01,42, SubType: 214, Len: 11 4E,39,4B,2D,43,39,33,39,36,50,58
    TLV:          OUI: 00,01,42, SubType: 210, Len: 14 6E,39,30,30,30,2D,31,32,2E,31,28,31,68,29
    TLV:          OUI: 00,01,42, SubType: 206, Len: 11 41,43,49,20,46,61,62,72,69,63,31
    TLV:          OUI: 00,01,42, SubType: 202, Len: 1 01
    TLV:          OUI: 00,01,42, SubType: 205, Len: 2 00,01
    TLV:          OUI: 00,01,42, SubType: 211, Len: 2 0F,7F
    TLV:          OUI: 00,01,42, SubType: 203, Len: 4 00,00,00,C9
    TLV:          OUI: 00,01,42, SubType: 208, Len: 4 0A,09,F0,38
    TLV:          OUI: 00,01,42, SubType: 207, Len: 30,2D,61,63,36,39,2D,31,31,

Now you have completed the task of preparing pod01-srv1 by configuring the hostname, downloaded the packages required and have enabled both interfaces with LLDP. It is now time to prepare pod01-srv2 with the same requirements.

© Copyright Cisco Systems 2017