Cisco – Edit multiple ports at once

  • random

Type “int range gigabitEthernet0/10-0/20” — except replace “gigabitEthernet0/10” with the
first port in the range to be configured, and “0/20” with the number of the last port in
the range to be configured. Tap the “Enter” key. The command prompt will display
interface mode “config-if-range.”

We can even define multiple ranges.


Switch(config)#interface range gigabitEthernet0/1 – 4 , gigabitEthernet0/10 – 15