Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

CatOS

To whom it may concern,

For CatOS, what's the command to change a port from trunk port to access port on VLAN 50??

On Native IOS:

switchport access vlan 50

switchport mode access

But what's the command on CatOS??

Cheers,

Hunt

4 REPLIES
New Member

Re: CatOS

set vlan 50 0/15

Here i have assumed 0/15 is your port number.

New Member

Re: CatOS

i did do that.... but when i connect a laptop to 0/15, it still show up as trunk on 'show port'.

New Member

Re: CatOS

Hi Hunt,

You can use

set port host

which will set your port to access mode and perform portfast. After doing this , you can assign the correct vlan to your port.

Hope to help,

Kerem

Purple

Re: CatOS

You can also use set trunk slot/port off " I believe. This makes it a access port.

130
Views
0
Helpful
4
Replies
CreatePlease to create content