cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
33931
Views
11
Helpful
3
Replies

nexus 5000: can't assign port to port channel.

gavin han
Level 1
Level 1

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

3 Replies 3

jyoung
Level 1
Level 1

Add the switchport trunk allowed VLAN 2004 to the port.

Sent from Cisco Technical Support iPhone App

This is very helpful

Oleksandr Nesterov
Cisco Employee
Cisco Employee

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

Review Cisco Networking for a $25 gift card