09-20-2002 07:16 PM - edited 03-02-2019 01:31 AM
Do I have to manually enable portfast on each port one by one. Or is there a command I can issue that enables it for all ports? I have a 3500XL switch
09-20-2002 07:30 PM
You cannot do it from CLI on an XL switch. If you have web interface(VSM), try configuring it from VSM.
If you have a 2950/3550, you can use the interface range CLI command.
09-23-2002 11:59 PM
If you are as lazy as me, you can use following universal pocedure for changing one parameter on all ports:
a) prepare a script which generates necessary commands to an ASCII file
b) telnet to the switch, conf term
c) copy and paste the commands from the ASCII file to the CLI (or copy tftp run if the file is a really long one)
Example of the UNIX script:
i=1
while [ $i -le 48 ]
do
echo "int fa 0/$i"
echo "spanning-tree portfast"
let i=$i+1
done
Regards,
Milan
09-24-2002 12:08 AM
You can use the interface range command to define which ports you want to apply the command to:
interface range fastethernet0/1 - 24
spanning-tree portfast
09-24-2002 12:12 AM
Not available on 3500XL.
Milan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide