Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting on Cisco Switches

Status
Not open for further replies.

anilsiri

Technical User
Jun 20, 2003
23
0
0
US
Can we automate the processes on Cisco Switches? I need to assign 48 ports on Cisco 3548XL switch to VLAN 10. How can I do it at a stretch? Can I use any scripts for this task?

-Anil
 
do a "sh run"

copy and paste or do a find and replace in your word processor then do this command "switch access vlan 10"

then copy and paste this config back into the switch under the config mode..


BuckWeet
 
check if your IOS supports port ranges, then enter the following commands:

interface range fastEthernet 0/1 - 48
switchport access vlan 10

ciao.
Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top