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

vlan creating

Hi all

I wrongly assigned "native vlan x to one f0/x port" now I want remove that how what is the proper commands shall I give.

plz. give early reply.

thanks in advance

4 REPLIES
Cisco Employee

Re: vlan creating

If the port is a trunk port then use the following conmmand:

int fa 0/x

no switchport trunk native vlan x

This will revert the native vlan as Vlan1 on the traunk port.

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3750/12235se/cr1/cli3.htm#wp1948736

HTH,Please rate if it does.

-amit singh

New Member

Re: vlan creating

hi amit

how we can find it's trunk port or not

thanks for early reply.

naidu

Cisco Employee

Re: vlan creating

Naidu,

Two ways:

1. Check the interface config " show run int fa 0/x" and check if command " switchport mode trunk " is present.

2.Use the command " show interface fa0/x switchport " to check the operational mode of the switchport.

HTH,Please rate if it does.

-amit singh

Cisco Employee

Re: vlan creating

Hi Naidu,

Issue a command "sh interface switchport" and it will give you the output like

Switch#sh int gig1/0/23 switchport

Name: Gi1/0/23

Switchport: Enabled

Administrative Mode: trunk

Operational Mode: trunk

Alternatively you can issue a command

"sh interfaces trunk" and it will list all interface which are configured as trunk ports.

HTH

Ankur

*Pls rate all helpfull post

125
Views
0
Helpful
4
Replies
CreatePlease to create content