02-13-2019 05:03 PM - edited 06-04-2019 02:46 AM
Good People
How would I check what port makes the connection on leaf1 for vlan 20?
See below
With thanks for any help....
Solved! Go to Solution.
02-18-2019 09:51 AM
Hello Shaun,
If I understood your question correctly, you would like to know which ports on the leaf has been configured to allow encapsulation vlan 20.
This will actually be a two-step process. First, you will need to convert the encapsulation vlan (vlan-20) into an internal vlan ID.
Syntax:
=========================
fab4-leaf3# show vlan extended | grep vlan-{encap-vlan}
fab4-leaf3# show vlan id {internal-vlan} extended
Example:
========================
fab4-leaf3# show vlan extended | grep vlan-20
25 MB:APP1:EPG1-4 vlan-20 Eth1/1 <<< Internal vlan is 25
fab4-leaf3# show vlan id 25 extended <<< Use internal vlan (25 in this example)
VLAN Name Encap Ports
---- -------------------------------- ---------------- ------------------------
25 Avik:APP1:EPG1 vlan-20 Eth1/7, Eth1/8, Eth1/9,
Eth1/10, Eth1/11, Po1,
Po3, Po4, Po5
With the above, we can see that the encapsulation vlan-20 is programmed onto ports Eth1/7, Eth1/8, Eth1/9, Eth1/10, Eth1/11, Po1, Po3, Po4, Po5.
** Note: The internal vlan is unique to a given leaf switch. This means that the internal vlan on leaf1 and leaf2 may be different for the same encapsulation vlan.
02-18-2019 09:51 AM
Hello Shaun,
If I understood your question correctly, you would like to know which ports on the leaf has been configured to allow encapsulation vlan 20.
This will actually be a two-step process. First, you will need to convert the encapsulation vlan (vlan-20) into an internal vlan ID.
Syntax:
=========================
fab4-leaf3# show vlan extended | grep vlan-{encap-vlan}
fab4-leaf3# show vlan id {internal-vlan} extended
Example:
========================
fab4-leaf3# show vlan extended | grep vlan-20
25 MB:APP1:EPG1-4 vlan-20 Eth1/1 <<< Internal vlan is 25
fab4-leaf3# show vlan id 25 extended <<< Use internal vlan (25 in this example)
VLAN Name Encap Ports
---- -------------------------------- ---------------- ------------------------
25 Avik:APP1:EPG1 vlan-20 Eth1/7, Eth1/8, Eth1/9,
Eth1/10, Eth1/11, Po1,
Po3, Po4, Po5
With the above, we can see that the encapsulation vlan-20 is programmed onto ports Eth1/7, Eth1/8, Eth1/9, Eth1/10, Eth1/11, Po1, Po3, Po4, Po5.
** Note: The internal vlan is unique to a given leaf switch. This means that the internal vlan on leaf1 and leaf2 may be different for the same encapsulation vlan.
02-18-2019 01:59 PM
02-18-2019 05:00 PM
How would I get to fab4leaf3 in your example?
From the APIC CLI I was expecting to see an attach command but I only see an attach-avs command
Should I SSH directly to the leaf?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide