I wanted to default the configuration of a number of ports on an old Cisco 3548. The latest version of IOS support on this system does not support the range command, so, had to manually run a small script (bash 1 liner on linux) and paste in the contents:
$ for i in `seq 40 48`; do echo default interface fastEthernet 0/$i; done
default interface fastEthernet 0/40
default interface fastEthernet 0/41
default interface fastEthernet 0/42
default interface fastEthernet 0/43
default interface fastEthernet 0/44
default interface fastEthernet 0/45
default interface fastEthernet 0/46
default interface fastEthernet 0/47
default interface fastEthernet 0/48
0 responses so far ↓
There are no comments yet...
Leave a Comment