cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1090
Views
5
Helpful
5
Replies

Changing Port config on Cisco C3650-24TS Layer 3 switch

openfield2010
Level 1
Level 1

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.

 

2 Accepted Solutions

Accepted Solutions

willwetherman
Spotlight
Spotlight

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

View solution in original post

Deepak Kumar
VIP Alumni
VIP Alumni

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

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

View solution in original post

5 Replies 5

willwetherman
Spotlight
Spotlight

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

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

Hi,

 

Can you post the output of the following:

 

OP-CORE-SW-01-CO# show run interface GigabitEthernet1/0/1

 

Thanks,

Will

Did it a second time and it now is working perfectly.  Thank you.

Deepak Kumar
VIP Alumni
VIP Alumni

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

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!