top of page
Writer's pictureMukesh Chanderia

Lab1: Ping Endpoints (Host) to Gateway


Step 1: Let’s configure Host with ip 3.3.3.1/24


As I am using Nexus Switch whose interface eth1/9 is directly connected to Leaf2 int eth1/14


Sw1# show run int eth1/9

interface Ethernet1/9

no switchport

vrf member POC1

ip address 3.3.3.1/24

no shutdown


Sw1# show run vrf POC1

interface Ethernet1/9

vrf member POC1

vrf context POC1

ip route 0.0.0.0/0 3.3.3.3


Step 2: Create a Tenant POC1 and VRF “POC1-VRF1”





Step 3: Create Bridge Domain “POC1-BD1” with VRF “POC1-VRF1”




Configure Gateway 3.3.3.3/24




Step 4: Create an Application Profile “POC1-AP1”




Step 5: Create EPG “POC1-EPG1” with Bridge Domain “POC1-BD1”




Now Let’s do Physical config so that we could push Domain to EPG and also configure static port binding.


Step 6: Create Vlan pool “POC1-VLAN-POOL” with range of vlan 90-99




Step 7: Create Physical Domain “POC1-PHY-DOMAIN”




Step 8: Create AAEP Profile Fabric → Access Policies → Policies → Global → AAEP “POC1-AAEP” & add Physical Domain “POC1-PHY-DOMAIN”




Step 9: Create Interface Policy Fabric → Access Policies → Policies → Interface


A) CDP





B) LLDP




Step 10: Create Interface Policy Group “POC1-INT-POLICY-GRP”


Attach “POC1-AAEP”, CDP enable & LLDP enable




Step 11: Now create Interface Profile name “14”.


Here, “14” is attaching port with interface policy




Step 12: Attach the interface selector “14” to Switch Profile “Leaf2”





Step 13: Now add domain “POC1-PHY-DOMAIN” to EPG “POC1-EPG1”




Step 14: Create Static Port Binding for Port eth1/14 of Leaf 2 We have Vlan range from 90-99 so let’s take vlan 93






Step 15 : Ping Gw 3.3.3.3 from Host 3.3.3.1


Sw1# ping 3.3.3.3 vrf POC1 source 3.3.3.1

PING 3.3.3.3 (3.3.3.3) from 3.3.3.1: 56 data bytes

64 bytes from 3.3.3.3: icmp_seq=0 ttl=63 time=1.269 ms

64 bytes from 3.3.3.3: icmp_seq=1 ttl=63 time=0.951 ms

64 bytes from 3.3.3.3: icmp_seq=2 ttl=63 time=0.905 ms

64 bytes from 3.3.3.3: icmp_seq=3 ttl=63 time=0.97 ms

64 bytes from 3.3.3.3: icmp_seq=4 ttl=63 time=1 ms


--- 3.3.3.3 ping statistics ---

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

round-trip min/avg/max = 0.905/1.018/1.269 ms


We must also see Endpoint 3.3.3.1 is learned in EPG




18 views0 comments

Comments


bottom of page