← All tools

Cisco Port Range Generator

Generate the IOS interface range command for configuring many switchports at once.

IOS commandinterface range GigabitEthernet0/1 - 24

How to read the result

One interface range command applies the following subcommands to every port in the span. Keep spans at 200 ports or fewer so configs stay readable.

Example

interface range GigabitEthernet0/1 - 24

FAQ

When is interface range useful?

Applying the same switchport mode, VLAN, or description to a block of ports at once.

What are the limits?

Start must be ≤ end and the span (end − start) at most 200.