02-08-2018 12:33 AM - edited 03-08-2019 01:45 PM
Presume this is just a very quick question and very simple to do when you know how to do it.
Have a C3650 Layer 3 switch as the main core switch on our network. Plugged into Port 20 on it is a very old POE access switch that is connected through a fibre converter and i'm looking at replacing that switch with a new one. I've plugged the new switch into Port 1 on the Layer 3 but port 1 has an old config against it that needs changing to get it working.
Port 20 config
interface GigabitEthernet1/0/20
description link-to-OP-ACCESS-SW-Weigh-BR
switchport access vlan 14
switchport mode trunk
speed 100
duplex full
auto qos trust
service-policy input AutoQos-4.0-Trust-Cos-Input-Policy
service-policy output AutoQos-4.0-Output-Policy
Port 1 config currently
interface GigabitEthernet1/0/1
description CUCM Publisher
switchport access vlan 15
switchport mode access
auto qos trust
service-policy input AutoQos-4.0-Trust-Cos-Input-Policy
service-policy output AutoQos-4.0-Output-Policy
What's the simplest way of copying the config from Port 20 to Port 1?
edit: Just an additional, the new switch is full 1GB so the speed 100 needs removing and it needs both VLAN13 and VLAN14 on it as the Access VLANs.
Solved! Go to Solution.
02-08-2018 12:55 AM
The simplest way is to remove the config from port 1 using the 'default interface GigabitEthernet1/0/1' command and then enter the new port configuration. As there are variations to the configuration then there is no point copying the incorrect config from port 20 to port 1 Try the below
default interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/1
description link-to-OP-ACCESS-SW-Weigh-BR
switchport mode trunk
switchport trunk allowed vlans 13,14
auto qos trust
02-08-2018 01:07 AM
Please perform two task:
1. remove the config from port 1 using the 'default interface GigabitEthernet1/0/1' command and
2. Past the new port configuration as below
default interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/1
description link-to-OP-ACCESS-SW-Weigh-BR
switchport mode trunk
auto qos trust
I am not giving command "Switchport trunk allowed VLAN X,X,X" because I am not aware of your network and VLAN configurations, which you required on the new switch. Lets allowed communication for all VLAN.
Regards,
Deepak Kumar
02-08-2018 12:55 AM
The simplest way is to remove the config from port 1 using the 'default interface GigabitEthernet1/0/1' command and then enter the new port configuration. As there are variations to the configuration then there is no point copying the incorrect config from port 20 to port 1 Try the below
default interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/1
description link-to-OP-ACCESS-SW-Weigh-BR
switchport mode trunk
switchport trunk allowed vlans 13,14
auto qos trust
02-08-2018 01:19 AM
Thank you, not sure what i've done wrong but it said it defaulted the port and changed the settings but they're still not changed at all when doing a show config. Am i missing something?
OP-CORE-SW-01-CO#conf t
Enter configuration commands, one per line. End with CNTL/Z.
OP-CORE-SW-01-CO(config)#default interface GigabitEthernet 1/0/1
Interface GigabitEthernet1/0/1 set to default configuration
OP-CORE-SW-01-CO(config)#end
OP-CORE-SW-01-CO#conf t
Enter configuration commands, one per line. End with CNTL/Z.
OP-CORE-SW-01-CO(config)#interface Gigb abu it interface GigabitEthernet1/0/1
OP-CORE-SW-01-CO(config-if)#description Link-To-WeighBridge
OP-CORE-SW-01-CO(config-if)#switchport mode trunk
OP-CORE-SW-01-CO(config-if)#switchport trunk allowed vlans 13,14
OP-CORE-SW-01-CO(config-if)#auto qos trust
OP-CORE-SW-01-CO(config-if)#end
OP-CORE-SW-01-CO#e end
02-08-2018 01:26 AM
Hi,
Can you post the output of the following:
OP-CORE-SW-01-CO# show run interface GigabitEthernet1/0/1
Thanks,
Will
02-08-2018 01:34 AM
Did it a second time and it now is working perfectly. Thank you.
02-08-2018 01:07 AM
Please perform two task:
1. remove the config from port 1 using the 'default interface GigabitEthernet1/0/1' command and
2. Past the new port configuration as below
default interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/1
description link-to-OP-ACCESS-SW-Weigh-BR
switchport mode trunk
auto qos trust
I am not giving command "Switchport trunk allowed VLAN X,X,X" because I am not aware of your network and VLAN configurations, which you required on the new switch. Lets allowed communication for all VLAN.
Regards,
Deepak Kumar
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