cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Updates to Sandbox Reservation Internet Access Policy

Due to changes in our networking policies, we are updating the internet access policy within our sandbox reservation instances.
Hosts will no longer have internet access outbound.
This should not affect the overall functionality or access to the resources within the sandbox instances, connecting via VPN.

Keep Innovating!

DevNet Sandbox Team

237
Views
5
Helpful
3
Replies
Beginner

Locate leaf port

Good People
How would I check what port makes the connection on leaf1 for vlan 20?
See below
With thanks for any help....

2019-02-14 10h48m33 Connection query.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Re: Locate leaf port

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.

 

3 REPLIES 3
Highlighted
Cisco Employee

Re: Locate leaf port

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.

 

Beginner

Re: Locate leaf port

rsua - perfect thank you!
Beginner

Re: Locate leaf port

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?

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards