Nexus 1000v port-channels questions
Hi,
I’m running vCenter 4.1 and Nexus 1000v and about 30 ESX Hosts.
I’m using one system uplink port profile for all 30 ESX Host; On each of the ESX host I have 2 NICs going to a Catalyst 3750 switch stack (Switch A), and another 2 NICs going to another Catalyst 3750 switch stack (Switch B).
The Nexus is configured with the “sub-group CDP” command on the system uplink port profile like the following:
port-profile type ethernet uplink
vmware port-group
switchport mode trunk
switchport trunk allowed vlan 1,800,802,900,988-991,996-997,999
switchport trunk native vlan 500
mtu 1500
channel-group auto mode on sub-group cdp
no shutdown
system vlan 988-989
description System-Uplink
state enabled
And the port channel on the Catalyst 3750 are configured like the following:
interface Port-channel11
description ESX-10(Virtual Machine)
switchport trunk encapsulation dot1q
switchport trunk native vlan 500
switchport trunk allowed vlan 800,802,900,988-991
switchport mode trunk
switchport nonegotiate
spanning-tree portfast trunk
end
interface GigabitEthernet1/0/18
description ESX-10(Virtual Machine)
switchport trunk encapsulation dot1q
switchport trunk native vlan 500
switchport trunk allowed vlan 800,802,900,988-991
switchport mode trunk
switchport nonegotiate
channel-group 11 mode on
spanning-tree portfast trunk
spanning-tree guard root
end
interface GigabitEthernet1/0/1
description ESX-10(Virtual Machine)
switchport trunk encapsulation dot1q
switchport trunk native vlan 500
switchport trunk allowed vlan 800,802,900,988-991
switchport mode trunk
switchport nonegotiate
channel-group 11 mode on
spanning-tree portfast trunk
spanning-tree guard root
end
Now Cisco is telling me that I should be using MAC pinning when doing a trunk to two different stacks , and that each interface on 3750 should not be configured in a port-channel like above, but should be configured as individual trunks.
First question: Is the above statement correct, are my uplinks configured wrong? Should they be configured individually in trunks instead of a port-channel?
Second questions: If I need to add the MAC pinning configuration on my system uplink port-profile can I create a new system uplink port profile with the MAC pinning configuration and then move one ESX host (with no VM on them) one at a time to that new system uplink port profile? This way, I could migrate one ESX host at a time without outages to my VMs. Or is there an easier way to move 30 ESX hosts to a new system uplink profile with the MAC Pinning configuration.
Thanks.
Hello,
From what I understood, you have the following setup:
- Each ESX host has 4 NICS
- 2 of them go to a 3750 stack and the other 2 go to a different 3750 stack
- all 4 vmnics on the ESX host use the same Ethernet port-profile
- this has 'channel-group auto mode on sub-group cdp'
- The 2 interfaces on each 3750 stack are in a port-channel (just 'mode on')
If yes, then this sort of a setup is correct. The only problem with this is the dependance on CDP. With CDP loss, the port-channels would go down.
'mac-pinning' is the recommended option for this sort of a setup. You don't have to bundle the interfaces on the 3750 for this and these can be just regular trunk ports. If all your ports are on the same stack, then you can look at LACP. The CDP option would not be supported in the future releases. In fact, it is supposed to be removed from 4.2(1)SV1(2.1) but I still see the command available (ignore 4.2(1)SV1(4) next to it) - I'll follow up on this internally:
http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_2_1_s_v_2_1_1/interface/configuration/guide/b_Cisco_Nexus_1000V_Interface_Configuration_Guide_Release_4_2_1_SV_2_1_1_chapter_01.html
For migrating, the best option would be as you suggested. Create a new port-profile with mac-pinning and move one host at a time. You can migrate VMs off the host before you change the port-profile and can remove the upstream port-channel config as well.
Thanks,
Shankar
Similar Messages
-
Nexus 1000v - port-channel "refresh"
Hi All,
My question is, does anyone have any information on this 1000v command:
Nexus-1000v(config)# port-channel internal device-id table refresh
I am looking for a way for the port-channel interface to be automatically removed from the 1000v once the VEM has been deleted, currently the port-channel interface does not disappear when the VEM has been removed. This seems to be causing problems once the same VEM is re-added later on. Ports are getting sent into quarantine states and ending up in invalid states (eg. NoPortProfile state when there is actually a port-profile attached).
Anyway, if anyone can explain the above command or tell me how to find out more, it would be great, I can't find it documented anywhere and the context-sensitive help in the NXOS is vague at best.Brendan,
I don't have much information on that command, but I do know it wont remove any unused port channels. They have to be manually deleted if they're no longer needed.
The port Channel ID will remain even after a VEM is removed in case the assigned VEM comes back. When a VEM is decommisioned permanently, I'll do a "no vem x" to also remove the Host entry for that VEM from the VSM. This way the module slot # can be re-assigned to the next new VEM inserted. After adding/removing VEMs just do a "show port-channel summary" to see any unused Port Channel IDs, and delete them. It's a quick & painless task.
I would hope this wouldn't be a common issue - how often are you deleting/removing VEMs?
Regards,
Robert -
hey I have a question about port-channel.
we have a port-channel 10 which contains 4 interfaces as below.
my question is how the port-channel associated with the servers? I mean the output "sh flogi database" as below........
do we need to add port-channel as a zone member ? I think the answer is no since I don;t see the port-channel as a zone member....
=================================================================
tormds01# sh interface port-channel 10
port-channel 10 is up
Hardware is Fibre Channel
Port WWN is 24:0a:54:7f:ee:a0:d5:48
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is F
Port vsan is 510
Speed is 32 Gbps
5 minutes input rate 124316072 bits/sec, 15539509 bytes/sec, 9919 frames/sec
5 minutes output rate 2205921104 bits/sec, 275740138 bytes/sec, 141424 frames/sec
43540499847 frames input, 70772376296224 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
237450525827 frames output, 442040501099476 bytes
0 discards, 0 errors
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
0 output OLS, 0 LRR, 0 NOS, 0 loop inits
Member[1] : fc1/1
Member[2] : fc1/5
Member[3] : fc1/9
Member[4] : fc1/13
Interface last changed at Tue Apr 8 22:16:49 2014
tormds01# sh flogi database
INTERFACE VSAN FCID PORT NAME NODE NAME
fc1/3 510 0x860000 50:06:01:64:3d:e0:24:d0 50:06:01:60:bd:e0:24:d0
[torvnx01_spa0]
fc1/7 510 0x860100 50:06:01:6c:3d:e0:24:d0 50:06:01:60:bd:e0:24:d0
[torvnx01_spb0]
fc1/11 510 0x860200 50:06:01:60:3d:e0:24:d0 50:06:01:60:bd:e0:24:d0
[torvnx01_spa2]
fc1/15 510 0x860300 50:06:01:68:3d:e0:24:d0 50:06:01:60:bd:e0:24:d0
[torvnx01_spb2]
port-channel 10 510 0x860400 24:0a:54:7f:ee:92:3e:80 21:fe:54:7f:ee:92:3e:81
port-channel 10 510 0x860401 20:01:04:25:b5:3a:00:8f 20:01:00:25:b5:30:00:8f
[mcvhes0101hba0]
port-channel 10 510 0x860402 20:01:04:25:b5:3a:00:9f 20:01:00:25:b5:30:00:9f
[mcvhes0102hba0]
port-channel 10 510 0x860404 20:01:04:25:b5:3a:00:6f 20:01:00:25:b5:30:00:6f
[mcvhes0103hba0]
port-channel 10 510 0x860408 20:01:04:25:b5:3a:00:7f 20:01:00:25:b5:30:00:7f
[mcvhes0104hba0]
port-channel 10 510 0x86040f 20:01:04:25:b5:3a:00:4f 20:01:00:25:b5:30:00:4f
[mcvhes0105hba0]
port-channel 10 510 0x860410 20:01:04:25:b5:3a:00:5f 20:01:00:25:b5:30:00:5f
[mcvhes0106hba0]
port-channel 10 510 0x860417 20:01:04:25:b5:3a:00:2f 20:01:00:25:b5:30:00:2f
[mcvhes0107hba0]
port-channel 10 510 0x860418 20:01:04:25:b5:3a:00:0f 20:01:00:25:b5:30:00:0f
[mcvhes0109hba0]
port-channel 10 510 0x86041b 20:01:04:25:b5:3a:00:bf 20:01:00:25:b5:30:01:bf
[mcvhes0110hba0]
port-channel 10 510 0x86041d 20:01:04:25:b5:3a:00:1f 20:01:00:25:b5:30:00:1f
[mcvhes0111hba0]
port-channel 10 510 0x86041e 20:01:04:25:b5:3a:00:3f 20:01:00:25:b5:30:00:3f
[mcvhes0108hba0]
port-channel 10 510 0x86041f 20:01:04:25:b5:3a:00:ff 20:01:00:25:b5:30:01:ff
[mcvhes0112hba0]
port-channel 10 510 0x860423 20:01:04:25:b5:3a:00:df 20:01:00:25:b5:30:01:df
[mcvhes0113hba0]
port-channel 10 510 0x860425 20:01:04:25:b5:3a:00:ef 20:01:00:25:b5:30:01:ef
[mcvhes0114hba0]
port-channel 10 510 0x860426 20:01:04:25:b5:3a:00:cf 20:01:00:25:b5:30:01:cf
[mcvhes0115hba0]
port-channel 10 510 0x860427 20:01:04:25:b5:3a:00:8e 20:01:00:25:b5:30:01:8f
[MCDBWS0200hba0]
port-channel 10 510 0x860429 20:01:04:25:b5:3a:00:9e 20:01:00:25:b5:30:01:9f
[MCDBWS0201hba0]
port-channel 10 510 0x86042a 20:01:04:25:b5:3a:00:7e 20:01:00:25:b5:30:01:7f
[mcvhes0118hba0]
port-channel 10 510 0x86042b 20:01:04:25:b5:3a:00:af 20:01:00:25:b5:30:01:af
[mcvhes0116hba0]
port-channel 10 510 0x86042c 20:01:04:25:b5:3a:00:6e 20:01:00:25:b5:30:01:6f
[mcvhes0117hba0]
port-channel 10 510 0x86042d 20:01:04:25:b5:3a:00:4e 20:01:00:25:b5:30:01:4f
[mcvhes0119hba0]
port-channel 10 510 0x86042e 20:01:04:25:b5:3a:00:5e 20:01:00:25:b5:30:01:5f
[mcvhes0120hba0]
port-channel 10 510 0x860431 20:01:04:25:b5:3a:00:2e 20:01:00:25:b5:30:01:2f
[awotorprodsql01hba0]
port-channel 10 510 0x860432 20:01:04:25:b5:3a:00:3e 20:01:00:25:b5:30:01:3f
[awotorprodsql02hba0]
port-channel 10 510 0x860435 20:01:04:25:b5:3a:00:fe 20:01:00:25:b5:30:00:ef
[dbcactv01n3hba0]
port-channel 10 510 0x860436 20:01:04:25:b5:3a:00:de 20:01:00:25:b5:30:00:bf
[dbcactv01n4hba0]
port-channel 10 510 0x860439 20:01:04:25:b5:3a:00:ce 20:01:00:25:b5:30:00:8e
[mcvhes0123hba0]
port-channel 10 510 0x86043a 20:01:04:25:b5:3a:00:be 20:01:00:25:b5:30:00:af
[mcvhes0122hba0]
port-channel 10 510 0x86043c 20:01:04:25:b5:3a:00:ae 20:01:00:25:b5:30:00:9e
[mcvhes0124hba0]
port-channel 10 510 0x860443 20:01:04:25:b5:3a:00:8d 20:01:00:25:b5:30:00:6e
[mcvhes0125hba0]
port-channel 10 510 0x860445 20:01:04:25:b5:3a:00:ee 20:01:00:25:b5:30:00:cf
[mcvhes0121hba0]
port-channel 10 510 0x860446 20:01:04:25:b5:3a:00:9d 20:01:00:25:b5:30:00:7e
[mcvhes0126hba0]
port-channel 10 510 0x860447 20:01:04:25:b5:3a:00:6d 20:01:00:25:b5:30:00:4e
[mcvhes0127hba0]
port-channel 10 510 0x860449 20:01:04:25:b5:3a:00:7d 20:01:00:25:b5:30:00:5e
[mcvhes0128hba0]I think what you do is F-Port trunking channeling !
port-channel as a zone member ? I assume you will do pwwn based zoning; in which case the answer is NO ! -
Nexus 6K: Port-Channel Load-Balance
Hi all,
I configured "port-channel load-balance ethernet source-dest-mac" on Nexus 6001. But when I use "show run all | in load-balance", it displays module 1 and module 2 are still using source-dest-ip for port-channel load-balance. And for command "show port-channel load-balance" and "show port-channel load-balance forwarding-path interface", it still shows switch using MAC for hash algorithm. The NXOS is 6.0(2)N1(2a).
Does anybody know:
- What is the function of "port-channel load-balance ethernet source-dest-ip module" and in which situation this command will be effective?
- It shows "port-channel load-balance ethernet source-dest-ip module" command for both module 1 and 2. Module 1 is N6K Supervisor and module 2 is 4xQSFP Ethernet Module. Is it possible to set different load-balance algorithm to these 2 modules?
# show run all | in load-balance
port-channel load-balance ethernet source-dest-mac
port-channel load-balance ethernet source-dest-ip module 1
port-channel load-balance ethernet source-dest-ip module 2
# show port-channel load-balance
Port Channel Load-Balancing Configuration:
System: source-dest-mac
Port Channel Load-Balancing Addresses Used Per-Protocol:
Non-IP: source-dest-mac
IP: source-dest-mac
# show port-channel load-balance forwarding-path interface port-channel 30 vlan 150 src-ip 172.25.228.6 dst-ip 172.25.226.97
Missing params will be substituted by 0's.
Load-balance Algorithm on switch: source-dest-mac
crc_hash: 977 Polynomial: CRC10b Outgoing port id Ethernet1/2
Param(s) used to calculate load-balance:
seed: 0x701
dst-mac: 0000.0000.0000
src-mac: 0000.0000.0000
# show module
Mod Ports Module-Type Model Status
1 48 Norcal 64 Supervisor N6K-C6001-64P-SUP active *
2 10 Nexus 4xQSFP Ethernet Module N6K-C6001-M4Q ok
Mod Sw Hw World-Wide-Name(s) (WWN)
1 6.0(2)N2(3) 1.0 --
2 6.0(2)N2(3) 1.0 --Hi all,
I configured "port-channel load-balance ethernet source-dest-mac" on Nexus 6001. But when I use "show run all | in load-balance", it displays module 1 and module 2 are still using source-dest-ip for port-channel load-balance. And for command "show port-channel load-balance" and "show port-channel load-balance forwarding-path interface", it still shows switch using MAC for hash algorithm. The NXOS is 6.0(2)N1(2a).
Does anybody know:
- What is the function of "port-channel load-balance ethernet source-dest-ip module" and in which situation this command will be effective?
- It shows "port-channel load-balance ethernet source-dest-ip module" command for both module 1 and 2. Module 1 is N6K Supervisor and module 2 is 4xQSFP Ethernet Module. Is it possible to set different load-balance algorithm to these 2 modules?
# show run all | in load-balance
port-channel load-balance ethernet source-dest-mac
port-channel load-balance ethernet source-dest-ip module 1
port-channel load-balance ethernet source-dest-ip module 2
# show port-channel load-balance
Port Channel Load-Balancing Configuration:
System: source-dest-mac
Port Channel Load-Balancing Addresses Used Per-Protocol:
Non-IP: source-dest-mac
IP: source-dest-mac
# show port-channel load-balance forwarding-path interface port-channel 30 vlan 150 src-ip 172.25.228.6 dst-ip 172.25.226.97
Missing params will be substituted by 0's.
Load-balance Algorithm on switch: source-dest-mac
crc_hash: 977 Polynomial: CRC10b Outgoing port id Ethernet1/2
Param(s) used to calculate load-balance:
seed: 0x701
dst-mac: 0000.0000.0000
src-mac: 0000.0000.0000
# show module
Mod Ports Module-Type Model Status
1 48 Norcal 64 Supervisor N6K-C6001-64P-SUP active *
2 10 Nexus 4xQSFP Ethernet Module N6K-C6001-M4Q ok
Mod Sw Hw World-Wide-Name(s) (WWN)
1 6.0(2)N2(3) 1.0 --
2 6.0(2)N2(3) 1.0 -- -
I want to create a port channel on my nexus switch which will be connected to my server.
will someone please share with me the configuration for the same ?Hi,
From server side create LACP port-channel and same from switch end.
Nexus-SW
=======
interface Ethernet1/1-2
description [connection to SRV-01]
switchport
switchport access vlan 10
channel-group 20 mode active
no shutdown
interface port-channel20
description [connection to SRV-01]
switchport
vpc 20
switchport access vlan 10 -
Hi all,
Hi have install a cisco nexus 7010 with the following modules :
Mod Ports Module-Type Model Status
1 48 1000 Mbps Optical Ethernet XL Modul N7K-M148GS-11L ok
2 48 10/100/1000 Mbps Ethernet XL Module N7K-M148GT-11L ok
5 0 Supervisor Module-2 N7K-SUP2 active *
6 0 Supervisor Module-2 N7K-SUP2 ha-standby
9 48 10/100/1000 Mbps Ethernet XL Module N7K-M148GT-11L ok
10 48 1/10 Gbps Ethernet Module N7K-F248XP-25E ok
After trying to build a port-channel with a 1G port on slot 1 and a 1G port on slot 10 i get a messague with incompatible port.
Can any one tell me if its supported a port-channel with ports on the following modules :
N7K-M148GS-11L
N7K-F248XP-25E
Thanks
PatrícioHi Particio,
The port-channel/vPC features require that all uplinks are connected to the same type of
module. You can refer to the following document.
http://www.cisco.com/en/US/partner/docs/switches/datacenter/sw/6_x/nx-os/interfaces/configuration/guide/if_portchannel.html#wp1888267
HTH
Regards
Inayath
*Plz rate if this is helpfull and mark as Answerd if this answerd your query. -
FI 6248 Nexus 5548 Port-channel problem
Hi all
I have a strange behavior between 2 FI and 2 nexus 5k configured as VPC , From a remote location and from my desktop I can ping odd ip and not even , from an other desktop in the same LAN the reverse, for both the tracert are good.
The only solution is to shutdown ports 1/1-2 on nexus A or FI A and in that case both desktops can ping both IP.
All seems OK, no log error , no error on interface , I give below some commands
What thing to know is that the nexus b has a L3 card , not the Nexus A , In fact I am waiting for a spare L3 daughter card.
On both NexusI have such configuration and status
interface port-channel201
description ucs-Fab-a
switchport mode trunk
switchport trunk native vlan 999
spanning-tree port type edge trunk
vpc 201
UCSM-PARIS-A(SSI153000ST)
Eth1/1 129 S I s UCS-FI-6248UP Eth1/11
UCSM-PARIS-A(SSI153000ST)
Eth1/2 174 S I s UCS-FI-6248UP Eth1/12
sh port-channel summary
201 Po201(SU) Eth LACP Eth1/1(P) Eth1/2(P)
sh mac address-table dynamic | i 1010
* 1010 0025.b5c9.481e dynamic 0 F F Po201
* 1010 0025.b5c9.481f dynamic 10 F F Po201
sh ip arp
10.203.136.21 00:01:05 0025.b5c9.481f Vlan1010
10.203.136.22 00:12:43 0025.b5c9.481e Vlan1010
On both FI A have such configuration and status
terface port-channel201
description U: Uplink
switchport mode trunk
pinning border
switchport trunk native vlan 999
switchport trunk allowed vlan 1,104,999,1010-1013,1020-1021,1500-1502,1510-151
2,1550-1552,1560-1561,1600-1602,1610-1619
speed 10000
sh port-channel summary
201 Po201(SU) Eth LACP Eth1/9(P) Eth1/10(P) Eth1/11(P)
Eth1/12(P)
sh mac address-table dynamic
* 1010 0025.b5c9.481e dynamic 0 F F Po201
* 1010 0025.b5c9.481f dynamic 0 F F Po201
sh cdp nei
E2RTR001(SSI1608085E) Eth1/9 120 S I s N5K-C5548UP Eth1/1
E2RTR001(SSI1608085E) Eth1/10 120 S I s N5K-C5548UP Eth1/2
E2RTR002(SSI16080F17) Eth1/11 151 R S I s N5K-C5548UP Eth1/1
E2RTR002(SSI16080F17) Eth1/12 136 R S I s N5K-C5548UP Eth1/2
Any ideas, A configuration I forgot on FI ?
Regards .In fact in the probem I described the path is Esx -> FAB A - > N5K-A (for layer 2) -> N5K-B (for L3) -> routing to the LAN
And what you told me is that such configuration is not supported with VPC configuration , so I need to wait to receive the L3 card for the N5k-A. and check later if I have the same problem.
thanks -
Nexus 7010 port-channel to ESXi host running on Dell 910 and 810
Was wondering has anyone had any experience with configuring a port-channel going back to ESXi host. My basic config is below. My issue is with what to put in the spanning-tree port type. Do I use normal, edge, network, or edge trunk?? Yes I have read most of the documentation out there but am just a lil confused. I just wanna be right.
Also if anyone has any suggestions for the Vswitch config as well that would be much appreciated.
int PO 201
desc 01_6-1
switchport mode trunk
switchport access vlan 99
switchport trunk native vlan 777
switchport trunk allowed vlan 220,300,310,320-321,350,390-391
switchport trunk allowed vlan add 420,777
spanning-tree port type normal (what should go here)
speed auto
medium p2p
no shutdown
int e8/11
desc 01_6-1
channel-group 201 force
int e10/11
desc 01_6-1
channel-group 201 force
Thanks GuysShort answer: You could use spanning tree port type edge (trunk; if it's going to be a trunk). The vswitch isn't really a switch, it doesn't participate in spanning tree, so it's fine to make it an edge port.
In my experience, many VMware guys don't like port channels as much as the other more host-centric NIC teaming methods. I think this has to do with ESX having a less than stellar implementation of etherchannel/LACP early on. -
2960 Stack Port Channel Question
I have a 2960 stack with 2 WS-C2960S-48FPD-L distribution switches running c2960s-universalk9-mz.150-2.SE2.bin.
I then have three stand alone 2960S-48 access switches running the same code.
I will have two ten Gig uplinks in a port-channel back to a 6500. I have this config. however
I would like to have port-channel between each of the distribution switches in the stack and each of the stand alone access switches.
So as an example:
distribution switches: port 1/0/48 and 2/0/48 in port channel 1
access switches: 1/0/51 and 1/0/52 in channel-group 1 active
Am I right in thinking that because these port channels come off of two different switches in a 2960 stack that they need to be LACP and the ports on the access switches need to be in "channel-group X active". And does it need to be in active mode on both sides?
Thank You in advanceYes, both sides must have identical channel mode.
-
I need help on a cisco config and was wondering if anyone could help me. I currently have 4 Cisco 3750 which are stacked in our server room and now I have 4 more Cisco 3750 which are stacked also in a wiring closet. I just up-linked both 3750 stacks using 4 Fiber SFP SX modules. I wanted to config a port-channel on each stack however after 5 minutes or so the switch disables the port-channel interface as a config error on the port channel.
This is my current config
interface Port-channel1
description "Uplink to 3750 Stack 2"
switchport trunk encapsulation dot1q
switchport trunk native vlan 7
switchport mode trunk
interface GigabitEthernet1/0/25
switchport trunk encapsulation dot1q
switchport trunk native vlan 7
switchport mode trunk
channel-group 1 mode on
**Update** Just as FYI we have a VoIP network in which I'm trying to do is load balance/agrigate the network traffic a cross each switch in the stack (Cross Stack EtherChannel).
Thanks for the help.Hello Oscar,
sorry for the delay.
But presidio's post gives you the answer.
You can check this configuration on the following link:
http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_guide_chapter09186a00801cdea1.html#1033981
Switch# configure terminal
Switch(config)# interface range gigabitethernet1/0/25 - 26
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 7
Switch(config-if-range)# channel-group 1 mode on
Switch(config-if-range)# end
do the same for all physical interfaces configured in the channel-group
Lets us know if it helped.
Vlad -
Nexus 7010 port-channel failed, not receiving any LACP BPDUs
Hi every one,
I'm having issue when trying to form LACP etherchannel links between N7k and server. Here's the setup:
SERVER eth0-------N7K-1 Eth102/1/9
SERVER eth1-------N7K-2 Eth102/1/9
Configuration:
N7K-1# sh run int eth102/1/9
interface Ethernet102/1/9
switchport
switchport access vlan 204
channel-group 321
no shutdown
N7K-1# sh run int po321
interface port-channel321
switchport
switchport access vlan 204
flowcontrol send on
vpc 321
N7K-2# sh run int eth102/1/9
interface Ethernet102/1/9
switchport
switchport access vlan 204
channel-group 321
no shutdown
N7K-2# sh run int po321
interface port-channel321
switchport
switchport access vlan 204
flowcontrol send on
vpc 321
vPC status
id Port Status Consistency Reason Active vlans
321 Po321 up success success 204
Scenario 1-Etherchannel only without protocol
Both links are up, problem only happened when link to N7K-2 restart. If link to N7K-1 restart no problem.
Scenario 2-Etherchannel with LACP
Both physical links NOT up. Logs showing this:
2013 Aug 20 17:04:31 N7K-1 %ETHPORT-5-IF_DOWN_ADMIN_DOWN: Interface Ethernet102/1/9 is down (Administratively down)
2013 Aug 20 17:04:32 N7K-1 %ETHPORT-5-IF_ADMIN_UP: Interface Ethernet102/1/9 is admin up .
2013 Aug 20 17:04:35 N7K-1 %ETHPORT-5-SPEED: Interface Ethernet102/1/9, operational speed changed to 1 Gbps
2013 Aug 20 17:04:35 N7K-1 %ETHPORT-5-IF_DUPLEX: Interface Ethernet102/1/9, operational duplex mode changed to Full
2013 Aug 20 17:04:35 N7K-1 %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet102/1/9, operational Receive Flow Control state changed to off
2013 Aug 20 17:04:35 N7K-1 %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet102/1/9, operational Transmit Flow Control state changed to on
2013 Aug 20 17:04:35 N7K-1 %ETHPORT-5-SPEED: Interface port-channel321, operational speed changed to 1 Gbps
2013 Aug 20 17:04:35 N7K-1 %ETHPORT-5-IF_DUPLEX: Interface port-channel321, operational duplex mode changed to Full
2013 Aug 20 17:04:35 N7K-1 %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface port-channel321, operational Receive Flow Control state changed to off
2013 Aug 20 17:04:35 N7K-1 %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface port-channel321, operational Transmit Flow Control state changed to on
2013 Aug 20 17:04:55 N7K-1 %ETH_PORT_CHANNEL-5-PORT_SUSPENDED: Ethernet102/1/9: Ethernet102/1/9 is suspended
2013 Aug 20 17:05:13 N7K-1 %LACP-FEX102-5-LACP_SUSPEND_INDIVIDUAL: LACP port Ethernet102/1/9(0x1f650200) of port-channel port-channel321(0x16000140) not receiving any LACP BPDUs suspending (individual) port
Scenario 3-Etherchannel with LACP to single 3750 switch
All working fine, fail over success as expected.
N7k is using NX-OS 6.0(4)
Anyone facing this issue?Hi,
I had had this problem before.
Please, put the following command, if in your server side is using LACP:
interface Ethernet102/1/9
switchport
switchport access vlan 204
channel-group 321 mode active
no shutdown
N7K-1# sh run int po321
interface port-channel321
switchport
switchport access vlan 204
flowcontrol send on
vpc 321
N7K-2# sh run int eth102/1/9
interface Ethernet102/1/9
switchport
switchport access vlan 204
channel-group 321 mode active
no shutdown
N7K-2# sh run int po321
interface port-channel321
switchport
switchport access vlan 204
flowcontrol send on
vpc 321 -
Nexus 1000V - port-profile for VSM and VEM on same host
Hello,
I'm trying to run the VSM and VEM on the same host. At first I connected the VSM to the vSwitch. This works fine. Then I tried to move the VSM behind its own VEM.
I have 3 different VLANs for management, control and packet traffic. Is it possible to connect the three VSM interfaces (management, control and packet) to only one port-profile, in which these three different VLANs are configured in a trunk? Or do I have to configure for each interface a separate port-profile, if I am using three different VLANs?
Thanks
TobiasHello,
The VSM does not emit VLAN-tagged frames. Therefore, its ports need to be configured in access mode. If your Control and Packet VLANs are the same, you could use the same port profile for both.
Please make sure that the access VLAN is a system VLAN for all three ports.
On a related note, if the VSM's storage is on NFS or iSCSI, the storage vmknic needs a system port profile as well. More info at:
http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_0_4_s_v_1_3/getting_started/configuration/guide/n1000v_gsg_5vsm_behind_vem.html -
Nexus 6004: Question about port-profile type port-channel
I'm setting up a new deployment of Nexus 6004 switches and want to utilize port-profiles as much as possible to simplify management down the road.
All uplinks to other switches, routers and firewalls will be connected using VPC:s. On the port-channels (vpc) the only thing that will change over time is the allowed vlans.
It seems that port-profiles of the type port-channel does not behave in the same way as those with type ethernet, at least not when adding vlans.
If I modify the port-profile using "switchport trunk allowed vlan add XXX" it will delete the previous config and only retain "switchport trunk allowed vlan add XXX", and not merge it with the previous config as is expected.
Question: Is this a bug or is it working as intended?
RH_N6K4_01(config-sync)# switch-profile rh
Switch-Profile started, Profile ID is 1
RH_N6K4_01(config-sync-sp)# port-profile type port-channel FIREWALL-UPLINK
RH_N6K4_01(config-sync-port-prof)# switchport trunk allowed vlan 3
RH_N6K4_01(config-sync-port-prof)# verify
Verification Successful
RH_N6K4_01(config-sync-sp)# commit
Verification successful...
Proceeding to apply configuration. This might take a while depending on amount of configuration in buffer.
Please avoid other configuration changes during this time.
Commit Successful
RH_N6K4_01(config-sync)# show port-profile
SHOW PORT_PROFILE
port-profile FIREWALL-UPLINK
type: Port-channel
description:
status: enabled
max-ports: 512
inherit:
config attributes:
switchport mode trunk
switchport trunk allowed vlan 3
evaluated config attributes:
switchport mode trunk
switchport trunk allowed vlan 3
assigned interfaces:
===================================
RH_N6K4_01(config-sync-sp)# port-profile type port-channel FIREWALL-UPLINK
RH_N6K4_01(config-sync-port-prof)# switchport trunk allowed vlan add 84
RH_N6K4_01(config-sync-port-prof)# verify
Verification Successful
RH_N6K4_01(config-sync-sp)# commit
Verification successful...
Proceeding to apply configuration. This might take a while depending on amount of configuration in buffer.
Please avoid other configuration changes during this time.
Commit Successful
RH_N6K4_01(config-sync)# show port-profile
SHOW PORT_PROFILE
port-profile FIREWALL-UPLINK
type: Port-channel
description:
status: enabled
max-ports: 512
inherit:
config attributes:
switchport mode trunk
switchport trunk allowed vlan add 84
evaluated config attributes:
switchport mode trunk
switchport trunk allowed vlan add 84
assigned interfaces:
Expected behavior here would be "switchport trunk allowed vlan 3,84". This only occurs when using "port-profile type port-channel" not when using "port-profile type ethernet"<> is template syntax and is generally the type of object a container holds.. So it is defining that the MSGQUEUE type is a deque holding struct_buffer*'s.
-
Nexus port channel load balance
Hi
I just want to clarify one setting for the port channel load balance on Nexus 6k switch. If I use the load balance option source-dest-ip-only, will following four converstions be load balanced?
10.10.10.1 -> 192.168.1.1
10.10.10.2 -> 192.168.1.1
10.10.10.1 -> 192.168.1.1
10.10.10.1 -> 192.168.1.2
Thanks. LeoHi Leo,
I think there may be typo in your question as I only see three conversations and not four. That aside I've not seen the Nexus port-channel load balancing sufficiently well documented to be able to give you the exact answer.
In their configuration guides Cisco only include the following statement:
Cisco NX-OS load balances traffic across all operational interfaces in a port channel by reducing part of the binary pattern formed from the addresses in the frame to a numerical value that selects one of the links in the channel.
There is other documentation that states the load balancing algorithm uses a CRC-8 based polynomial, but as we don't know exactly which parts of the frame are used in the calculation, I don't see it's possible to calculate the answer and so derive the link that will be used for a given conversation.
While I've not seen full documentation regarding the science used in the calculation, what Cisco have done is provide a command on the switch CLI that will allow you to determine which link of a port-channel will be used.
If you run the command show port-channel load-balance forwarding-path interface port-channel vlan src-ip dst-ip then one of the parts of the output is the member link of the port-channel that will be used for that flow.
You can find full details of the options for the show port-channel load-balance command in the command reference.
One other point to remember is that the load balancing across a port-channel is unidirectional, and the hashing might be completely different for the return flow of a conversation. For example it is entirely possible that traffic from A to B could use one link of a port-channel, while the return traffic from B to A for the same conversation could use a different link.
In general I would use the source-dest-port option for load balancing on the Nexus switches as this will obviously include the Layer-4 port numbers in the calculation, and so give you a better distribution of flows across all member links.
Regards -
Maximum number of interfaces in Port Channel on Nexus 5596
Let me preface this by saying I am not a network expert....
I noticed that our customer had configured a port channel on their Nexus 5596 comprised of 16 interfaces. I thought the maximum number of interfaces in a port channel was 8 interfaces? I see in the Nexus 7000 documentation that if you configure 16 interfaces, the remaining 8 will be in "hot standby." Is this the same behavior on the Nexus 5000 series?
Thank you.Same behavior on the 5500 series and other Cisco switches like 3750, 3850 , etc..
HTH
Maybe you are looking for
-
Error in running Extract Definition Upload from Data File concurrent.
Hi all, Am trying to upload the 834 Extract Layout from the data file by running the concurrent program, Extract Definition Upload from Data File. After running this concurrent program am getting the Extract Layout definition with Record layout and D
-
Error while trying to deploy the application (invalid AccountType).
Hello. Error while trying to deploy the planning application (EPMA). invalid AccountType Rejecting Member PL_Brt_L.2. invalid AccountType Rejecting Member PL_Brt_L.3.2. And not updated outline. PL_Brt_L.2 - Account Type = Revenue PL_Brt_L.3.2 - Accou
-
Hi, I heared like SBO Report Editor is Replaced by "List and Labels". what is "List and Labels" and what are the uses. bcoz i am trying to use crystal Reports. plz help me asap. Regards, Anand
-
Dnd - an email attachment onto a JTable
Hello all - I really hope someone can help with the following : I have a Java swing application, which contains a JTable. The table holds data in rows which the users can persist (save as XML). One of our users asked to know if it is possible for him
-
I need some help exporting video files, I know nothing. I'm using Premiere CS5. I import a 31.5mb (1:35s length) .mov, chop the first 12 seconds, add a Dip to Black on the beginning and end. Then I choose File/Export/Media, choose QuickTime, uncheck