cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2328
Views
0
Helpful
3
Replies

SG350-10P switchport mode access - CLI

dimeghost
Level 1
Level 1

Hey All,

 

Just got my new SG350-10P started config and just found out I can't set the mode for a vlan unaware interface to "access". After issuing the command switchport mode access then show the interface running config it shows "Empty configuration". I can issue "switchport access vlan x" and that sticks. Trunks have been configured just fine, port-channels work as expected... 

Anyone see this before? Know how to correct it?

 

Thanks,

Dime

 

I am on the latest code:

#show ver
Active-image: flash://system/images/image_tesla_cbs350_hybrid_2.5.7.85_release_cisco_signed.bin
Version: 2.5.7.85
MD5 Digest: e766e20b0d080a72db3ec00888d595a0
Date: 18-Jan-2021
Time: 21:15:01
Inactive-image: flash://system/images/image1.bin
Version: 2.4.0.94
MD5 Digest: 6f5be217100f34929986f2e93dd2d5e9
Date: 31-May-2018
Time: 02:39:58

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

by default, all are access mode., if you look to see - show run all (will give you hidden config)

BB

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

How to Ask The Cisco Community for Help

View solution in original post

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

by default, all are access mode., if you look to see - show run all (will give you hidden config)

BB

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

How to Ask The Cisco Community for Help

Thanks, show run all doesn't seem to work for me but when I issue "show vlan" I do see a configured access port in the VLAN I allowed access too. I am too used to IOS and thought something was wrong.   

 

Thanks again!

Glad you found it, ( apologies, by default, is trunk mode each port ) it should show as per the document :

 

 

Assigning a Port to a VLAN

Once the VLANs are created, you need to assign the ports to the appropriate VLAN. You can configure ports using the switchport command and specify whether the port should be in access or trunk mode.

The port modes are defined as follows:

• Access — frames received on the interface are assumed to not have a VLAN tag and are assigned to the VLAN indicated by the command. Access ports are used primarily for hosts and can only carry traffic for a single VLAN.

• Trunk — frames received on the interface are assumed to have VLAN tags. Trunk ports are for links between switches or other network devices and are capable of carrying traffic for multiple VLANs.

Note: By default, all interfaces are in trunk mode, which means they can carry traffic for all VLANs.

 

https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-small-business-300-series-managed-switches/smb5653-configure-port-to-vlan-interface-settings-on-a-switch-throug.html

 

 

BB

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

How to Ask The Cisco Community for Help