Monday, September 14, 2015

Brocade Switch: How To Find Out What VLAN A Port Is In

How do you find out what VLAN a port is in without having to look at the config?  Especially if you have a lot of ports to look through.  Or even a lot of VLANs.  Try the "show vlan ethernet X/X/X" command.  See below.  I run this command and it shows me that port 1/1/42 is in VLAN 25.

telnet@DC_FCX_Stack(config)#sh vlan eth 1/1/42
Total PORT-VLAN entries: 8
Maximum PORT-VLAN entries: 64

Legend: [Stk=Stack-Id, S=Slot]

PORT-VLAN 25, Name Old_Net, Priority level0, Spanning tree On
 Untagged Ports: (U1/M1)   1   2   3   4   5   6   7   8   9  10  11  12
 Untagged Ports: (U1/M1)  13  14  15  16  18  19  20  21  22  23  24  25
 Untagged Ports: (U1/M1)  26  27  28  29  30  31  32  33  34  35  36  37
 Untagged Ports: (U1/M1)  38  39  40  42  43  44  45  46  47  48
 Untagged Ports: (U2/M1)   1   2   3   4   5   6   7   8   9  10  11  12
 Untagged Ports: (U2/M1)  13  14  15  17  18  19  20  21  22  24  26  28
 Untagged Ports: (U2/M1)  30  37  39  40  47
   Tagged Ports: (U1/M3)   1   2
   Tagged Ports: (U2/M3)   1   2
   Uplink Ports: None
 DualMode Ports: (U1/M1)  17
 Mac-Vlan Ports: None
     Monitoring: Disabled
telnet@DC_FCX_Stack(config)#

No comments:

Post a Comment

Your comment will be reviewed for approval. Thank you for submitting your comments.