cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4501
Views
0
Helpful
2
Replies

SG350 allowed VLANs

berniebbow1
Level 1
Level 1

This works on SG300, but not on SG350:

conf t

int gi1

switchport mode trunk

switchport trunk native vlan 111

switchport trunk allowed vlan add 20

switchport trunk allowed vlan add 30

 

Last two lines are merged into single one when sh run int gi1

switchport trunk allowed vlan 20,30

 

But on SG350 this approach does not work (why is that?) and one has to do something like this

conf t

int gi1

switchport mode trunk

switchport trunk native vlan 111

switchport trunk allowed vlan none

switchport trunk allowed vlan add 20

switchport trunk allowed vlan add 30

 

and result is

switchport trunk allowed vlan remove 1-19,21-29,30-4096

2 Replies 2

Fotiosmark
Level 1
Level 1
its doing the same thing, with different output. Its different IOS where it has other output.

pbesp
Level 1
Level 1

I have a SG350X-24 (updated to latest firmware version: 2.3.5.63) and got annoyed by the same 'feature': Tagged VLAN membership is shown as the VLANs the trunk does not belong, which makes the configuration almost unreadable, take for example a fragment of my configuration file:

 

interface GigabitEthernet1/0/24
 switchport mode trunk
 switchport trunk allowed vlan remove 1-19,21-29,31-39,41-49,51-59,61-89
 switchport trunk allowed vlan remove 91-109,112-119,121-129,131-4094

 

Now lets start deducing:

- VLAN 20 is not included in the interval so its allowed.

- VLAN 30 is not included in the interval so its allowed.

- VLAN 40 is not included in the interval so its allowed.

- VLAN 50 is not included in the interval so its allowed.

- VLAN 90 is not included in the interval so its allowed.

- VLAN 110 is not included in the interval so its allowed.

- VLAN 111 is not included in the interval so its allowed.

- VLAN 120 is not included in the interval so its allowed.

- VLAN 130 is not included in the interval so its allowed.

 

Not nice at all...

Review Cisco Networking products for a $25 gift card