Command
Interface Range
Use
This is the modern way to configure VLANs. A useful feature is that you can configure a range of VLANs with a single command.
Syntax
Switch(config)#interface range <range>
Options
< – > | Allows for a continuous range to be specified such as interface range fa0/1-24 |
< ,> | Allows for a specific interface to be selected such as interface range fa0/3 , fa0/10 |
Example
In the below example we will disable ports Fa0/1-24 on SW1.
SW1(config)#interface range fa0/1-24 |