cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3804
Views
0
Helpful
4
Replies

sg350 CLI questions

tommls
Level 1
Level 1

What is the CLI command to do the following:

1) set all the ports to have vlans 1-2, with vlan 1 (default) untagged, vlan 2 (VoIP) tagged

2) set the PVID of all ports to vlan 1 (is this necessary on sg350??), this is how our older sg300s are configured

Where is documentation for the sg350 CLI??

Thank you, Tom

 

4 Replies 4

tommls
Level 1
Level 1

I got the vlans configured but I remain puzzled about setting the PVIDs.

Thank you, Tom

wycalero
Cisco Employee
Cisco Employee

Good Morning,

 

Here is the command to make the port trunk with native VLAN :

 

switchxxxxxx(config)# interface gi11
switchxxxxxx(config-if)# switchport trunk native vlan 1
switchxxxxxx(config-if)# exit

 

After this you will add the VLAN 2 as Tagged:

 

switchxxxxxx(config)# interface range gi11
switchxxxxxx(config-if)# switchport mode trunk
switchxxxxxx(config-if)# switchport trunk allowed vlan add 2
switchxxxxxx(config-if)# exit

 

Attach you are going to see the CLI documentation.

chantha
Level 1
Level 1

Hi @tommls 

I would like to share some of the configurations that might help you to solve your problems.

Hi guys,
This is the solutions you need to know about how to configure Voice and Data VLAN by using the same network cable on Cisco SG-300 Series manage switchs.
I'm using Cisco SG-350-28P and I have configure interface g17 to handle traffice for Vlan12(Vocie) (I'm using Zycoo Deskphone)and VLAN16(Data), both of them used shared network cable together.

=> Configuration

Switch#show running-config
config-file-header
SW-0018
v2.5.7.85 / RCBS3.1_930_871_059
CLI v1.0
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
!
unit-type-control-start
unit-type unit 1 network gi uplink none
unit-type-control-end
!
vlan database
vlan 12,15-16
exit
voice vlan id 12
voice vlan state auto-enabled
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
bonjour interface range vlan 1
ip ssh server
ip https certificate 2
!
interface GigabitEthernet17
description Connected_to_IPphone_desktop
switchport mode general
switchport general allowed vlan add 12 tagged
switchport general allowed vlan add 16 untagged
switchport general pvid 16
!
interface GigabitEthernet26
description Up_link
switchport mode trunk
switchport trunk native vlan 15
switchport trunk allowed vlan 12,15-16

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Switch products supported in this community
Cisco Business Product Family
  • CBS110
  • CBS220
  • CBS250
  • CBS350
Cisco Switching Product Family
  • 110
  • 200
  • 220
  • 250
  • 300
  • 350
  • 350X
  • 550X