Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can I pull the port-VLAN assignment info from a CAT 6500

Status
Not open for further replies.

eksantrik

Technical User
Dec 13, 2005
74
US
Hi all,

I have been working on a cisco CAT 6500 switch. I am trying to pull the port-VLAN assignment information using the show commands but so far I couldnt find what command gives me that information.
Config. file doesnt show the assignments and the command "show interface status" is not available...

can anyone help me with this. It might be a very easy thing but it has been my problem lately.

thanks in adance
 
Did you try the show vlan command?

Here is a link to a command reference guide for the Catalyst 6500 that you may find of use. The "show version to squeeze" link on the left hand side will take you to a page with some more information about the show vlan command you can use to gather more information about your configured VLANs. A simple show vlan without any syntax should provide you with the information you are looking for though.

- Catalyst 6500 Series Command Reference, 5.5


Joey
CCNA, MCP, A+, Network+, Wireless#
 
Use the "show interface status " command , this puts in an easy to read format for all the ports....
 
maybe the big question, is are you running CatOS or IOS?

Can make a huge difference in the commands.
CatOS: show port
IOS: show vlan

 
thanks for all the answers,

I have a CAT 6509 here..I am running IOS.

so far I tried the following commands:

1) show ports or show port --> this command is not available in my CLI..the only thing it allows me to execute is "show policy-map"
2) show interface status --> not such command is available
3) show interface vlans ---> doesnt give the port-VLAN assignments

I am still working on it but nothing yet

thanks again
 
For ios..you just need the "show vlan" command. It will display all the vlans configured on a switch and the ports that are configured for them on the far right.

This doesn't include the trunk ports.
 
show vlan doesnt work for me..for some reason it says "No virtual LANs configured"

but I can see them in the running config...
I can use the "show interface vlan <vlan #>" command but it doesnt give me what I want:(
 
did you do a "show vlan" or "show vlans"? I just tried them both from my 6509. Show vlan works. vlans gives the same error you got.
 
Sure you not running hybrid , where you have catos on layer 2 and IOS on layer 3 ? If its IOS then "show int status" is a valid command on all IOS switches which leads me to think you have hybrid . Do a show mod and show version and post here .
 
6509_RTR-1#show mod
% Incomplete command.

6509_RTR-1#show mod?
modemcap

6509_RTR-1#show version
Cisco Internetwork Operating System Software
IOS (tm) MSFC2 Software (C6MSFC2-JSV-M), Version 12.1(13)E2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
TAC Support: Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Fri 15-Nov-02 12:13 by eaarmas
Image text-base: 0x40008C00, data-base: 0x41ADE000

ROM: System Bootstrap, Version 12.1(11r)E1, RELEASE SOFTWARE (fc1)
BOOTLDR: MSFC2 Software (C6MSFC2-BOOT-M), Version 12.1(8a)EX, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

6509_RTR-1 uptime is 10 weeks, 4 days, 6 hours, 56 minutes
System returned to ROM by power-on
Running default software

cisco Cat6k-MSFC2 (R7000) processor with 114688K/16384K bytes of memory.
Processor board ID SAD064400RS
R7000 CPU at 300Mhz, Implementation 39, Rev 3.3, 256KB L2, 1024KB L3 Cache
Last reset from power-on
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
--More--  TN3270 Emulation software.
19 Virtual Ethernet/IEEE 802.3 interface(s)
509K bytes of non-volatile configuration memory.

32768K bytes of Flash internal SIMM (Sector size 512K).
Configuration register is 0x2102

i HOPE THIS HELPS...AS YOU CAN SEE IT DOESNT LET ME EXECUTE "SHOW MODE" COMMAND
 
It appears you are connecting to the MSFC which is the routing component of the switch. Go console to the switch and I bet its running CATOS.
 
Agree with brianms , you have a hybrid , you might be able to pull the L2 address from the msfc by doing a show cdp nei detail command , it will usually show the trunk link to the l2 supervisor . Native IOS was not even available when they had 12.1.13 code out .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top