cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
256
Views
0
Helpful
2
Replies

VLAN Members by Switch Ports

fkseow
Level 1
Level 1

Anyone please guide, say if I want to add the ports of a switch into a VLAN, do I need to manually go to each of the interface port and add them in ? (By using CLI).

Is there any faster method to do that ?

2 Replies 2

ybuecking
Level 1
Level 1

It depends on the IOS Version. If you are running the Switch with native IOS, for example a CAt 2924, than you have to enter it manually for each switchport, when you have a CatOS than just use set vlan xx 2/1-24 for example.

I haven´t heard of a faster method with the regular IOS. If you find something, please let me know. :-/

Prashanth Krishnappa
Cisco Employee
Cisco Employee

What switch is this? If this an XL switch you cannot. If you have a CAT6xxx running native IOS(12.1(8a)EX and later), CAT4006 with Sup3, CAT3550 or a CAT2950 you can use the range command

http://cio.cisco.com/univercd/cc/td/doc/product/lan/cat6000/12_1e/swconfig/sw_int.htm#xtocid3

Getting Started

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: