cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3375
Views
0
Helpful
7
Replies

Cisco Switch configuration help

Andrew Lutz
Level 1
Level 1

Hello,

I'm a new guy to Cisco, so I apologize if my question seems simplistic.  I currently have a port that looks like this:

interface FastEthernet5/1
no ip address
switchport
switchport access vlan 8
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 8
switchport mode trunk
switchport nonegotiate

I try to run the command "switchport mode dynamic auto" but recieve the error message "Command rejected: Conflict between nonegotiate and dynamic status"  How would I go about turning off swichport nonegotiate on this interface so that I may enable dynamic auto mode?  Also, is there a way to remove configuration such as " switchport trunk allowed vlan 8" and "switchport access vlan 8"  We don't really need them active any longer.  Thanks for any help.  The version is 12.1(13) E5 and it is a module in a Calyst 6500.  Thanks.

5 Accepted Solutions

Accepted Solutions

jimmysands73_2
Level 5
Level 5

Most commands can be negated by the no form of it.

no switchport trunk allowed vlan 8

and

no switchport access vlan 8

and

no swichport nonegotiate

On the selected interface.

Good luck!

Jimmy

View solution in original post

Jon Marshall
Hall of Fame
Hall of Fame

D01041708 wrote:

Hello,

I'm a new guy to Cisco, so I apologize if my question seems simplistic.  I currently have a port that looks like this:

interface FastEthernet5/1
no ip address
switchport
switchport access vlan 8
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 8
switchport mode trunk
switchport nonegotiate

I try to run the command "switchport mode dynamic auto" but recieve the error message "Command rejected: Conflict between nonegotiate and dynamic status"  How would I go about turning off swichport nonegotiate on this interface so that I may enable dynamic auto mode?  Also, is there a way to remove configuration such as " switchport trunk allowed vlan 8" and "switchport access vlan 8"  We don't really need them active any longer.  Thanks for any help.  The version is 12.1(13) E5 and it is a module in a Calyst 6500.  Thanks.

int fa5/1

no switchport nonegotiate

no switchport access vlan 8

no switchport trun allowed vlan 8

no switchport mode trunk

switchport mode dynamic auto

personally i would decide whether you want the port to be a trunk or an access port -

if trunk

int fa5/1

switchport trunk encapsulation dot1q

switchport mode trunk

or access

int fa5/1

switchport mode access

switchport access vlan 8

spanning-tree portfast <-- if this port connected to an end PC/printer/server/router but not another switch

Jon

View solution in original post

johuggin
Level 1
Level 1

Edit:

What Jon said.

-Joe

View solution in original post

Since there are alot of "no" commands, we'll kill the entire interface with the command "default interface FastEthernet5/1".  Then you go to the interface level and add what you want.

interface FastEthernet5/1

switchport mode dynamic auto

View solution in original post

Andrew

Can you post -

1) "sh ip int brief" from L3 switch

2)  "sh int trunk" from 3560

3) "sh vtp status" from both switches

4) "sh vlan" from both switches

5) "sh ip route" from 3560

Jon

View solution in original post

7 Replies 7

jimmysands73_2
Level 5
Level 5

Most commands can be negated by the no form of it.

no switchport trunk allowed vlan 8

and

no switchport access vlan 8

and

no swichport nonegotiate

On the selected interface.

Good luck!

Jimmy

Jon Marshall
Hall of Fame
Hall of Fame

D01041708 wrote:

Hello,

I'm a new guy to Cisco, so I apologize if my question seems simplistic.  I currently have a port that looks like this:

interface FastEthernet5/1
no ip address
switchport
switchport access vlan 8
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 8
switchport mode trunk
switchport nonegotiate

I try to run the command "switchport mode dynamic auto" but recieve the error message "Command rejected: Conflict between nonegotiate and dynamic status"  How would I go about turning off swichport nonegotiate on this interface so that I may enable dynamic auto mode?  Also, is there a way to remove configuration such as " switchport trunk allowed vlan 8" and "switchport access vlan 8"  We don't really need them active any longer.  Thanks for any help.  The version is 12.1(13) E5 and it is a module in a Calyst 6500.  Thanks.

int fa5/1

no switchport nonegotiate

no switchport access vlan 8

no switchport trun allowed vlan 8

no switchport mode trunk

switchport mode dynamic auto

personally i would decide whether you want the port to be a trunk or an access port -

if trunk

int fa5/1

switchport trunk encapsulation dot1q

switchport mode trunk

or access

int fa5/1

switchport mode access

switchport access vlan 8

spanning-tree portfast <-- if this port connected to an end PC/printer/server/router but not another switch

Jon

Since there are alot of "no" commands, we'll kill the entire interface with the command "default interface FastEthernet5/1".  Then you go to the interface level and add what you want.

interface FastEthernet5/1

switchport mode dynamic auto

I want to use it as a trunk port, I will use what you suggested here.  For whatever reason, I'm unable to ping the switch I am trunking to from my workstation.  If I do a sh cdp neighbor from my layer 3 switch (port fas 5/1 is on the layer 3 switch), It does show up.  The link status on the interface is up as well.  What I have done on the 3560 switch (the switch I am trucking to) is:

1. Configured interface Vlan1 with an IP address and subnet mask.

2. Made port 0/1 on the the 3560 switch a trunking port with these commands :

switchport trunk encapsulation dot1q

switchport mode trunk

3. Configured the default-gateway as the vlan interface on the layer 3 switch (all of the other switches that are trunked to this switch do this)

4. VTP domain name was set to the same as the layer 3 switch and is in client mode

Can you think of anything I am missing?  I'm not sure what it means that it shows up as a cdp neighbor but I can't reach it from a separate vlan.  VTP doesn't seem to be working as none of the VLANs from the layer 3 show up when I do a show vlan.  Could it be that I'm trying to trunk a fast ethernet port to a gigabit POE port?  Any ideas are appreciated.

Thanks to all of you for your help.  It's slightly embarressing I couldn't figure out those commands, glad I can hide behind the LCD screen!  I can't thank you all enough for your quick replies.

Andrew

Can you post -

1) "sh ip int brief" from L3 switch

2)  "sh int trunk" from 3560

3) "sh vtp status" from both switches

4) "sh vlan" from both switches

5) "sh ip route" from 3560

Jon

Hey Jon, thanks for your reply.  After walking away from it I was able to figure out the issue....at least it is working.  Here is what

I did:

1) I didn't realize that the VTP domain name was case sensitive.  Once I fixed that, it worked fine.

2) I only had the trunking port connected from the 6500 to the 3560.  Once I connected another port via cat5e from one switch to the other with the ports configured in access mode, I can now telnet into it from my workstation.

Sound plausible?  Thanks again.

johuggin
Level 1
Level 1

Edit:

What Jon said.

-Joe

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: