top of page
Writer's pictureMukesh Chanderia

Creating Endpoint (host) with the help of trunk port

Updated: Jan 7

Connectivity between NK9 and Leaf Port

n9k# show lldp nei int eth1/25

Device ID            Local Intf      Hold-time Capability  Port ID  

leaf5      Eth1/25         120        BR          Eth1/15


  1. Let’s create vrf EPG & EPPG also associate it with vlan 93 & 96



interface Vlan93

  no shutdown

  vrf member EPG

  ip address 222.222.221.2/24



interface Vlan96

  no shutdown

  vrf member EPPG

  ip address 222.222.222.2/24



interface Ethernet1/25

  switchport mode trunk

  switchport trunk allowed vlan 93,96


  1. Create Pool and attach it to Physical Domain



4) Attach Domain to AAEP profile




5) This AAEP profile has ISP configured ISP_int_Policy



6) Interface Policy Group



7) Now Let’s Configure Tenant ISP. It has BD1 with subnet Gw 222.222.221.1/24 & 222.222.222.1/24



8) Now Let's create Two EPG i.e. EPG1 & EPG2 with vlan 93 (222.222.221.0/24) & vlan 96 (222.222.222.0/24).


Attach Physical Domain “ISP_Phy_Domain” to both EPGs.

Now attach vlan 93 to EPG1




9) You can see EndPoint 222.222.221.2 got learned at EPG1 & 222.222.222.2 got learned at EPG2





Note:  No Primary Ip address is being configured


10) Let’s ping from vlan 93 & vlan 96 to their respective Gw


n9k# ping 222.222.221.1 vrf EPG source 222.222.221.2

PING 222.222.221.1 (222.222.221.1) from 222.222.221.2: 56 data bytes

64 bytes from 222.222.221.1: icmp_seq=0 ttl=63 time=0.716 ms

64 bytes from 222.222.221.1: icmp_seq=1 ttl=63 time=0.538 ms

64 bytes from 222.222.221.1: icmp_seq=2 ttl=63 time=0.551 ms

64 bytes from 222.222.221.1: icmp_seq=3 ttl=63 time=0.526 ms

64 bytes from 222.222.221.1: icmp_seq=4 ttl=63 time=0.537 ms


--- 222.222.221.1 ping statistics ---

5 packets transmitted, 5 packets received, 0.00% packet loss

round-trip min/avg/max = 0.526/0.573/0.716 ms


n9k# ping 222.222.222.1 vrf EPG source 222.222.222.2

PING 222.222.222.1 (222.222.222.1) from 222.222.222.2: 56 data bytes

64 bytes from 222.222.222.1: icmp_seq=0 ttl=63 time=0.779 ms

64 bytes from 222.222.222.1: icmp_seq=1 ttl=63 time=0.584 ms

64 bytes from 222.222.222.1: icmp_seq=2 ttl=63 time=0.601 ms

64 bytes from 222.222.222.1: icmp_seq=3 ttl=63 time=0.574 ms

64 bytes from 222.222.222.1: icmp_seq=4 ttl=63 time=0.5 ms


--- 222.222.222.1 ping statistics ---

5 packets transmitted, 5 packets received, 0.00% packet loss

round-trip min/avg/max = 0.5/0.607/0.779 ms


11) Now let’s add manual mac address on vlan93


interface Vlan93

  no shutdown

  mac-address 000a.000b.000c 

  vrf member EPG

  ip address 222.222.221.2/24


bgl-aci13-apic2# show endpoints ip 222.222.221.2

Legends:

Dynamic Endpoints:

Tenant  : ISP

Application : AP1

AEPg    : EPG1


 End Point MAC      IP Address                                Source        Node        Interface                       Encap            Multicast Address  Create TS            

 -----------------  ----------------------------------------  ------------  ----------  ------------------------------  ---------------  ---------------    -------------------- 

 00:0A:00:0B:00:0C  222.222.221.2                             learned       105         eth1/15                         vlan-93          not-applicable     2023-12-31T04:24:08. 

                                                                                                                                                            799+00:00  



27 views0 comments

Recent Posts

See All

Comments


bottom of page