Copy one port from another...

Unanswered Question
May 20th, 2009
User Badges:

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 :)

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jon Marshall Thu, 05/21/2009 - 02:19
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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 Thu, 05/21/2009 - 14:38
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

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.

Actions

This Discussion