06-27-2012 08:15 AM - edited 03-07-2019 07:29 AM
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
06-27-2012 09:28 AM
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
06-27-2012 10:01 AM
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.
08-20-2012 02:23 AM
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
03-04-2019 07:49 AM
03-04-2019 08:13 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide