How do I see what vlan-id is assigned to each sub-interface on a Cisco 5520 running version 8.2(1)

Hello Experts,

I've inherited ASA administration duties at work.  When I look at my ASA configuration, I see that gi0/0 is configured with three sub-interfaces.  This is telling me that is is configured as a trunk port.  I looked up how to configure these sub-interfaces and understand the instructions I have found.  What I was unable to find is how to show what vlan-id has been associated with each sub-interface.  My thought is there should be a show vlan type command, but I'm not finding it.  Can someone help me out with this one?

Nick D.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Craig BeckCommented:
There is a command within the subinterface which defines the VLAN ID...

interface GigabitEthernet0/0
 no nameif
 no ip address
interface GigabitEthernet0/0.1
 nameif VLAN1
 vlan 1
interface GigabitEthernet0/0.2
 nameif VLAN2
 vlan 2

If you issue the show int gi0/0.1 command you'll see the config for the subinterface.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ndalmolin_13Author Commented:
I had to do show int gi0/0.1 detail to get what I needed, but you set me on the right track.  Thanks for your help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.