Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Clearing the VLAN ID in Cisco 6509

how do i clear "set vlan 202 6/12" command in cisco 6509? because when i enable "set trunk 6/12 on negotiate 1-1005,1025-4094" "set vlan 202 6/12" is also been seen there, because of this trunking is not happening & get a message in teh console, VLAN mismatch.... when i put in 6/12, with only this command metioned "set trunk 6/13 on negotiate 1-1005,1025-4094" it is working & not getting the err. msg. in the console also.

Thankz in advance

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Clearing the VLAN ID in Cisco 6509

Anand,

I guess you are getting an error " native vlan mismatch ". This is beacuse your port is assigned to vlan 202 and the moment you try to configure the trunk on it its native vlan become 202. howver other sioe would be on defualt native vlan i.e vlan 1.

Try setting this port to the vlan 1 or on the same vlan as the other switch port and then enable trunking. This will work.

regards,

-amit singh

Re: Clearing the VLAN ID in Cisco 6509

Hi Anand,

The reason you are not getting any error message on console for port 6/13 is becaue your port 6/13 must be by default on vlan 1 or it is on same vlan which is configured on the other side i.e port on the another switch to which you have conneted this switch.

It need to be same.

If you still want port 6/12 to be as a trunk check the vlan onfigured on the other side and issue the command "set vlan 6/12"

Make sure the vlan match the port on the other side of the other switch.

Native vlan should remian same on both the sides of the trunk.

HTH

Ankur

4 REPLIES

Re: Clearing the VLAN ID in Cisco 6509

Anand,

I guess you are getting an error " native vlan mismatch ". This is beacuse your port is assigned to vlan 202 and the moment you try to configure the trunk on it its native vlan become 202. howver other sioe would be on defualt native vlan i.e vlan 1.

Try setting this port to the vlan 1 or on the same vlan as the other switch port and then enable trunking. This will work.

regards,

-amit singh

New Member

Re: Clearing the VLAN ID in Cisco 6509

yeah i get the "native vlan mismatch" error msg. i du agree that it should be on the native vlan, but i wanted to know what command should i use to clear "set vlan 202 6/12" in cisco IOS its "no switchport access vlan 202" where as 6509 is CatOS, so how do i clear that?

Re: Clearing the VLAN ID in Cisco 6509

HI Anand,

You cannot completely remove the port from vlan it should be in some vlan atleast van 1.

retype this command

set vlan 6/12

it will take care of the the issue.

Regards,

ANkur

Re: Clearing the VLAN ID in Cisco 6509

Hi Anand,

The reason you are not getting any error message on console for port 6/13 is becaue your port 6/13 must be by default on vlan 1 or it is on same vlan which is configured on the other side i.e port on the another switch to which you have conneted this switch.

It need to be same.

If you still want port 6/12 to be as a trunk check the vlan onfigured on the other side and issue the command "set vlan 6/12"

Make sure the vlan match the port on the other side of the other switch.

Native vlan should remian same on both the sides of the trunk.

HTH

Ankur

393
Views
0
Helpful
4
Replies