Cisco APIC Layer 2 Networking Configuration Guide, Release 6.2(x)

PDF

Cisco APIC Layer 2 Networking Configuration Guide, Release 6.2(x)

Example: Configure an 802.1Q tunnel using ports with the NX-OS style CLI

Want to summarize with AI?

Log in

Configure an 802.1Q tunnel by marking ports as edge port interfaces and core port interfaces, creating the tunnel, and associating the ports with the tunnel.


The example marks two ports as edge port interfaces to be used in a Dot1q Tunnel, marks two more ports to be used as core port interfaces, creates the tunnel, and associates the ports with the tunnel.

Procedure

  1. Configure the edge port interfaces for the 802.1Q tunnel.

    Example:

    apic1# configure
    apic1(config)# leaf 101
    apic1(config-leaf)# interface ethernet 1/13-14
    apic1(config-leaf-if)# switchport mode dot1q-tunnel edgePort
    apic1(config-leaf-if)# exit
    apic1(config-leaf)# exit
  2. Configure the core port interfaces for the 802.1Q tunnel.

    Example:

    apic1(config)# leaf 102
    apic1(config-leaf)# interface ethernet 1/10, 1/21
    apic1(config-leaf-if)# switchport mode dot1q-tunnel corePort
    apic1(config-leaf-if)# exit
    apic1(config-leaf)# exit
  3. Create the 802.1Q tunnel and configure its properties.

    Example:

    apic1(config)# tenant tenant64
    apic1(config-tenant)# dot1q-tunnel vrf64_tunnel
    apic1(config-tenant-tunnel)# l2protocol-tunnel cdp
    apic1(config-tenant-tunnel)# l2protocol-tunnel lldp
    apic1(config-tenant-tunnel)# access-encap 200
    apic1(config-tenant-tunnel)# mac-learning disable
    apic1(config-tenant-tunnel)# exit
    apic1(config-tenant)# exit
  4. Associate the edge port interfaces with the 802.1Q tunnel.

    Example:

    apic1(config)# leaf 101
    apic1(config-leaf)# interface ethernet 1/13-14
    apic1(config-leaf-if)# switchport tenant tenant64 dot1q-tunnel vrf64_tunnel
    apic1(config-leaf-if)# exit
    apic1(config-leaf)# exit
  5. Associate the core port interfaces with the 802.1Q tunnel.

    Example:

    apic1(config)# leaf 102
    apic1(config-leaf)# interface ethernet 1/10, 1/21
    apic1(config-leaf-if)# switchport tenant tenant64 dot1q-tunnel vrf64_tunnel
    apic1(config-leaf-if)# exit
    apic1(config-leaf)# exit