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

Cisco SG350-28P VLAN's not holding after reboot

volvofw
Level 1
Level 1

On a Cisco SG350-28P, putting a port into trunk mode, adding the desired VLAN's to it, and trying to set the default VLAN doesn't hold after a reboot - it reverts back every time to just the default VLAN and the Voice VLAN.

 

Here's the switchport configuration before reboot:

!
interface GigabitEthernet1
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
no spanning-tree portfast
switchport mode trunk
switchport trunk native vlan 100
switchport trunk allowed vlan 1,75,100,200,300,400
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!

 

after reboot:

 

!
interface GigabitEthernet1
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
no spanning-tree portfast
switchport mode trunk
switchport trunk native vlan 100
switchport trunk allowed vlan 1,75,100,200,300,400
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!

 

Firmware version 2.5.8.12.

 

What am I missing?

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

If I am not mistaken, I do not see any difference in both configs, both look the same?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

fniccola
Cisco Employee
Cisco Employee

ciao volvofw

 

when you say "trying to set the default VLAN" are you mean native vlan? 

Sorry but there is no difference from before and after.. am I missing any outputs?

 

thanks!

FabioN

 

volvofw
Level 1
Level 1

Yes, native VLAN;

 

Sorry, had a partial copy-paste malfunction, this pre-reboot:

!
interface GigabitEthernet1
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
no spanning-tree portfast
switchport mode trunk
switchport trunk native vlan 100
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!

 

and this is post:

!
interface GigabitEthernet1
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
no spanning-tree portfast
switchport mode trunk
switchport trunk allowed vlan 1,200
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!

ciao volvofw

 

can you share with us these outputs:

 

pre-reload

show running-config interface GigabitEthernet1

show startup-config (only interface GigabitEthernet1 is needed)

show interface trunk

show interface GigabitEthernet1 switchport

show version

 

post-reload

show running-config interface GigabitEthernet1

show startup-config (only interface GigabitEthernet1 is needed)

show interface trunk

show interface GigabitEthernet1 switchport

 

thanks!

FabioN

where is this connecting to other switch ?

 

i see 2 reasons

 

1 - if you only aplly not save it will be not saved to startup 

 

image.png

 

2. this is because port in auto smart macro

 


no macro description ip_phone_desktop
no macro auto smartport dynamic_type ip_phone_desktop


if this is connecting to other switch, make sure you remove security, this limit to number of device and port will not allow more than 10.


port security max 10
port security mode max-addresses
port security discard trap 60

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card