cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
31531
Views
0
Helpful
2
Replies

Copy one port from another...

ciscom137898
Level 1
Level 1

Dear experts,

Is there a way to copy one port config to other port ? i mean seemthing like "copy port X to port Y".. That way the machine will copy the whole config of port X one by one to port Y.

Thanks,

Yosi :)

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

Yosi

You could look into smartport macros which allow you to apply a standard configuration across multiple ports -

http://www.cisco.com/en/US/docs/switches/lan/catalyst3550/software/release/12.1_20_ea2/configuration/guide/swmacro.html#wp1160524

Another option is to use the interface range command eg.

switch(config)# interface range fa0/1 - 10

switch(config-if-range)#

then any commands you type in apply to all ports in the range fa0/1 - 10.

Finally there is good old cut and paste at the CLI prompt.

Jon

Leo Laohoo
Hall of Fame
Hall of Fame

Hi Yosi,

Jon's right. I'm using macro and it's alot faster and more accurate than cut-n-paste.

macro apply $tags

Hope this helps. Please rate when applicable.

Review Cisco Networking products for a $25 gift card