Solved

How to remove Trunk allowed VLAN list from port on Cisco Catalyst 2960

Posted on 2014-04-07
2
8,166 Views
Last Modified: 2014-04-21
I need to make changes to our uplink port at one of our branch offices
The current settings on the port are as follows:

interface FastEthernet0/1
 switchport trunk allowed vlan 1,100
 switchport mode trunk
 speed 100
 duplex full
 srr-queue bandwidth share 10 10 60 20
 priority-queue out
 mls qos trust cos
 auto qos voip trust

I need to change the settings to the following:

interface FastEthernet0/1
 switchport mode trunk
 speed 100
 duplex full

I do not know how to remove the current settings.

The devices is a Cisco Catalyst 2960.
0
Comment
Question by:Howzatt
2 Comments
 
LVL 16

Assisted Solution

by:max_the_king
max_the_king earned 250 total points
ID: 39985351
Hi,

try this:
config t
default interface fa0/1
end

conf t
interface FastEthernet0/1
 switchport mode trunk
 speed 100
 duplex full

hope this helps
max
0
 
LVL 11

Accepted Solution

by:
Miftaul earned 250 total points
ID: 39985431
Here is the result before

switch#sh running-config interface gigabitEthernet 0/20
!
interface GigabitEthernet0/20
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1,100
 switchport mode trunk
 speed 100
 duplex full
 srr-queue bandwidth share 10 10 60 20
 queue-set 2
 priority-queue out
 mls qos trust cos
 auto qos voip trust
end

To remove the specific lines, we will enter the commands starting with NO.

Switch(config)#interface gigabitEthernet 0/20
Switch(config-if)#no switchport trunk allowed vlan 1,100
Switch(config-if)#no priority-queue out
Switch(config-if)#no mls qos trust cos
Switch(config-if)#no auto qos voip trust


Last status after changes

interface GigabitEthernet0/20
 switchport trunk encapsulation dot1q
 switchport mode trunk
 speed 100
 duplex full
end
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question