02-10-2012 08:04 PM - edited 03-04-2019 03:13 PM
Hi,
I'm unable to assign port E2/1 to port channel. I get following error:
NEXUS5K(config)# int e2/1
NEXUS5K(config-if)# switchport mode trunk
NEXUS5K(config-if)# channel-group 14 mode active
command failed: port not compatible [port allowed VLAN list]
How do I resolve it?
========
below is port config:
interface Ethernet2/1
switchport mode trunk
spanning-tree port type edge
interface port-channel14
switchport mode trunk
vpc 14
switchport trunk allowed vlan 2004
02-10-2012 08:20 PM
Add the switchport trunk allowed VLAN 2004 to the port.
Sent from Cisco Technical Support iPhone App
11-13-2017 12:18 PM
02-11-2012 11:59 AM
Here is example
n5k(config-if)# sh run int po 100
<....>
interface port-channel100
switchport mode trunk
switchport trunk allowed vlan 777
speed 1000
vpc 100
bdc-n5548-3(config-if)# sh run int eth 1/20
<...>
interface Ethernet1/20
switchport mode trunk
speed 1000
n5k(config-if)# channel-group 100 mode active
command failed: port not compatible [port allowed VLAN list]
n5k(config-if)# switchport trunk allowed vlan 777
n5k(config-if)# channel-group 100 mode active
n5k(config-if)# sh run int eth 1/20
<...>
interface Ethernet1/20
switchport mode trunk
switchport trunk allowed vlan 777
speed 1000
channel-group 100 mode active
HTH,
Alex
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