cancel
Showing results for 
Search instead for 
Did you mean: 

Copy port configuration to another port?

Copy port configuration to another port?

MUNIR_ENG
New Contributor III
Configuration Port ? which command can make same configuration Port same another port previously prepared?
4 REPLIES 4

MUNIR_ENG
New Contributor III
I got it , thank you

davidj_cogliane
Contributor
You would have to look at the port configured the way you want
Show port X:XX info detail
Then manually configure all those attributes on the new port.

The only shortcut I could think of would be:
sho config | include 1:6
configure vlan AH-Guest add ports 1:6, 1:12, 1:48, 1:50, 1:52, 2:6 tagged configure vlan AH-MGMT add ports 1:6, 1:12, 1:48, 1:50, 1:52, 2:6 tagged
configure vlan Data add ports 1:4, 1:6, 1:11-12, 1:21, 1:44, 1:48-50, 1:52, 2:1-3, 2:6 tagged
configure vlan Voice add ports 1:3-4, 1:6, 1:10, 1:12, 1:15, 1:21, 1:48-50, 1:52, 2:1, 2:3, 2:6, 2:45 tagged
configure vlan WAN add ports 1:4, 1:6, 1:12, 1:21, 1:48-50, 1:52, 2:1, 2:6 tagged
configure qosprofile QP5 minbw 0 maxbw 100 ports 1:6
enable cdp ports 1:6
configure inline-power detection bypass ports 1:6

You could then clean that up in a text editor and past it back in with the new port number:
configure vlan AH-Guest add ports x:xx tagged
configure vlan AH-MGMT add ports x:xx tagged
configure vlan Data add ports x:xx tagged
configure vlan Voice add ports x:xx tagged
configure vlan WAN add ports x:xx tagged
configure qosprofile QP5 minbw 0 maxbw 100 ports x:xx
enable cdp ports x:xx
configure inline-power detection bypass ports x:xx

Hope this helps

MUNIR_ENG
New Contributor III
thank you David,

but could you please provide me a steps for do that , like I would configure port 3 like port1

ex: configure ports 1 auto on speed 1000 duplex full , Vlan 1,2,3

davidj_cogliane
Contributor
I do not believe there is an option to mirror the config from one port to another
GTM-P2G8KFN