Link to home
Start Free TrialLog in
Avatar of Josh
JoshFlag for United States of America

asked on

Cisco 3850 will not save the config of a fresh configured port, allows PoE but nothing else

Cisco 3850 not saving config. With a device connected, it receives power but there is no connection.

This is what the port looks like, with a device plugged in and powered up by PoE:
Port           Name            Status             Vlan       Duplex    Speed Type
Gi1/0/35   Tech-AP         notconnect      1            auto        auto 10/100/1000BaseTX

This is how its configured:
Cisco3850#show run int gi1/0/35
Building configuration...

Current configuration : 297 bytes
!
interface GigabitEthernet1/0/35
 description Tech-AP
 switchport trunk native vlan 10
 switchport trunk allowed vlan 4,5,7,10,27,100,101
 switchport mode trunk

end


To start off I have been using this command, "Cisco3850(config)#default interface gi1/0/35" to clear that port of any config.

After the port has been configured, and this config is the same as other ports that use the same device, I do the command "Cisco3850#wr mem"

In the past I have not had issues, though I have just started using the default command.

Would there be a reason my the switch is not saving the config?

Thank you,
Josh
Avatar of atlas_shuddered
atlas_shuddered
Flag of United States of America image

run this command on the switch and post the output:

show run | inc macro
Avatar of Josh

ASKER

Running

show run | inc macro

Yield no output
is the port losing config on reboot?
Avatar of Josh

ASKER

I have not rebooted the device.

One thing I forgot to add, after configuring a port and having the same issue. I let it sit over night and it started working the next morning.

Just took a look at the log,

*Jul 11 18:16:32.868: %LINK-5-CHANGED: Interface GigabitEthernet1/0/35, changed state to administratively down
*Jul 11 18:17:55.238: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/35, changed state to down
Okay, so is the config being removed from the interface or is the interface losing power or is the interface going into shutdown mode?
Avatar of Josh

ASKER

I have cycled the port, shutdown to no shutdown and that did nothing.

It seems its not getting saved..

If I do:
Cisco3850#show run int gi1/0/35
Building configuration...

Current configuration : 297 bytes
!
interface GigabitEthernet1/0/35
 description Tech-AP
 switchport trunk native vlan 10
 switchport trunk allowed vlan 4,5,7,10,27,100,101
 switchport mode trunk
end


Its not showing up here.
Cisco3850#show vlan id 10

VLAN   Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
10         Work                           active         Gi1/0/3, Gi1/0/4, Gi1/0/38, Gi2/0/4, Po5, Po6, Po7, Po8


This is the status and shows vlan 1, which is disabled.
Cisco3850#show inter gi1/0/35 status

Port      Name               Status       Vlan       Duplex  Speed Type
Gi1/0/35  Tech-AP     notconnect   1            auto   auto 10/100/1000BaseTX
when you are running the status or the show vlan - is the port up and active at that point or down and/or admin down?
The reason why I am asking is this.  If the port is configured only as a trunk but not as a port channel, then I don't think it will show up in the vlan output as it is technically not assigned to that vlan it is only acting as a bridge extension for that vlan.  Status is going to show not connect until there is something actually attached and powered on.

If there is a device on the far end but is either a. not powered on or b. not powering on (POE) then you have two different troubleshooting paths to go down.

A. is pretty obvious - flip the switch to on  B. may be an actual power issue on the switch.  check the power budget (I think this is show power inline).
Avatar of Josh

ASKER

The problem has been solved.

Thank you for helping.
ASKER CERTIFIED SOLUTION
Avatar of Josh
Josh
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Josh

ASKER

If the switch room was on my level it would have been a bit easier to pinpoint the issue. I was looking at a switch and thought I was plugging it into the correct port. After configuring the correct port, it all worked out.

Thanks again,
Josh