cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2885
Views
0
Helpful
5
Replies

port-channel issue on nexus 7k

Thomas McLean
Level 1
Level 1

Hi all,

We are experiencing some issues adding a vlan to a port-channel here is the configs and I'm stuck as to why and don't want to say 'yes' incase it removes some VLANS from my config:

Can anyone see what I could be doing wrong ?

Thanks

gh5-N7010-1(config-if)# int po18

gh5-N7010-1(config-if)# switchport trunk allowed vlan 18

This will cause VLANS to be overwritten. Continue anyway? [yes] no

gh5-N7010-1(config-if)# sh run int po18

!Command: show running-config interface port-channel18

!Time: Wed Jun 27 16:12:34 2012

version 5.1(3)

interface port-channel18

  shutdown

  switchport

  switchport mode trunk

  switchport trunk native vlan 999

gh5-N7010-1(config-if)#

gh5-N7010-1(config-if)# sh run int e10/33

!Command: show running-config interface Ethernet10/33

!Time: Wed Jun 27 16:15:03 2012

version 5.1(3)

interface Ethernet10/33

  description ** Spare **

  switchport

  switchport mode trunk

  switchport trunk native vlan 999

  channel-group 18 mode active

gh5-N7010-1(config-if)# sh run int e10/34

!Command: show running-config interface Ethernet10/34

!Time: Wed Jun 27 16:15:04 2012

version 5.1(3)

interface Ethernet10/34

  description ** Spare **

  switchport

  switchport mode trunk

  switchport trunk native vlan 999

  channel-group 18 mode active

5 Replies 5

Thomas McLean
Level 1
Level 1

even when i remove the port-channel and add it to a single interface i'm getting the following:

gh5-N7010-1(config)# int e10/33

gh5-N7010-1(config-if)# switchport trunk allowed vlan 11

This will cause VLANS to be overwritten. Continue anyway? [yes] no

gh5-N7010-1(config-if)#

is this normal behaviour and is it safe to say yes in this instance and it will only affect the vlan's on that port?

Thanks

issue was that I had to say yes - the confusion around it all was  that I've never seen it ask that question before - obviously because it  has to prune vlans from the interface.

Seemed a daft question at the time but it did need answered.

Thanks,

Thomas.

Thomas,

I've also seen this message. I think Cisco have but the message there so that you don't accidently overwrite existing config. You may already have a long allowed vlan list and your intention was to perhaps only add one more vlan but you would have removed all of your existing vlans. What is annoying is that when you come to copy and paste a long config, this error messages interrupts the paste ? I did find how to stop the message as detailed on one Cisco pdf but it appears to be a hidden command and I haven't used it myself yet.

MY7000(config)# int ethernet 3/17
MY7000(config-if)# no terminal ?
*** No matching command found in current mode, matching in (config) mode ***
  log-all  Accounting log all commands including the show commands

MY7000(config-if)# no terminal d
deep-help   dont-ask   

MY7000(config-if)# no terminal dont-ask

It appears that this command will stop you being prompted with the questions.

Alan

VM098
Level 1
Level 1
Please assist on how to allow vlans on a port-channel interface in nexus switches?

on interface port-channel mode use the below

switchport trunk allowed vlan add x
Review Cisco Networking for a $25 gift card