Last week, I saw my colleague doing something pretty weird and that kind of initiated me to write this tip which i thought was not a tip initally. Due to Large 6500 48 ports 10/100 cards deployment we need to assign vlans to probably different set of ports. I aw my colleague getting in to each interface and then configuring vlan with switchport access vlan command. I realised that most of us are not aware of cool cisco command to configure similar interfaces in a single go. Here is the command
In a large switch environment, to configure all or
multiple interfaces on a switch with the same configuration
parameters, do the following:
Switch(config)# interface range [ interface { port
range } ]
For example:
Switch(config)#interface range fastEthernet 0/1 – 30
To configure different ports with the same configuration:
Switch(config)#int range fa0/1 , fa0/12 , fa0/13