05-14-2008 02:18 PM - edited 03-05-2019 10:59 PM
Dear NetPros,
For a 6509 switch with 7 48 port line cards, is there a quick way to count how many switch ports are belonged to which vlan? Counting them line by line from "show vlan" result is kind of too slow.
Thanks,
Yang
Solved! Go to Solution.
05-14-2008 03:13 PM
Try the following command:
show run | i switchport access vlan #
Replace the # with the vlan number and parse the output onto Excel. On Excel, the row count should give you the total switchports on that Vlan.
HTH,
__
Edison.
05-14-2008 03:13 PM
Try the following command:
show run | i switchport access vlan #
Replace the # with the vlan number and parse the output onto Excel. On Excel, the row count should give you the total switchports on that Vlan.
HTH,
__
Edison.
05-14-2008 06:53 PM
Thanks, that works!
05-14-2008 07:39 PM
sh vlan brief
05-06-2019 01:44 PM
sh run | count vlan 141
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: