Task
1. Erase the previous configuration on switches NXOS01, NXOS02, NXOS03 and NXOS04 using command “write erase” and reload both switches, assign hostname the same hostname to both switches. Use provisioning documents if required
2. Configure port channels between NXOS01, NXOS02, NXOS03, and NXOS04 as follows:
● The links between NXOS03 and NXOS01 should be grouped together in Port-Channel 1. Do not use a negotiation protocol for this channel.
● The links between NXOS01 and NXOS02 should be grouped into Port-Channels 2. Both switches should initiate LACP negotiation and use LACP fast timers.
● The links between NXOS04 and NXOS02 should grouped together into Port-Channel 4. NXOS02 should initiate LACP negotiation and NXOS04 should respond.
● Disable all other interconnections between the switches.
3. Configure all of these port channels as 802.1Q trunk links. Create VLAN 10 on all switches.
4. Configure NXOS02 with an LACP priority of 16384 so that it is the preferred device for managing negotiation of its port channels.
5. Configure all switches to use source and destination TCP/UDP ports for load balancing flows across the port channel members.
6. Configure NXOS03’s link to Win Server and NXOS04’s link to SW in VLAN 10.
7. Win Server should use the IP address 10.0.0.1/24 and SW should use the IP address 10.0.0.2/24. When complete, Win Server and SW should have IP reachability to each other.
8. Keep saving your configuration using command “copy run start”
Configuration
feature lacp ! |
NXOS04:
! feature lacp ! vlan 10 |
NXOS01:
! feature lacp ! |
NXOS02:
! feature lacp |
SW:
! hostname SW |
Verification
Port channels in NX-OS, just like in Catalyst IOS and other platforms, require that the member interfaces first have compatible parameters for the channel to form. In NX-OS, these parameters can be verified with the command show port-channel compatibility-parameters. Some of these parameters can be seen below:
NXOS01# show port-channel compatibility-parameters | include \* * port mode |
Note: – In the topologies (not related to our topology), both M series and F series modules are present, because these modules have different port level capabilities, they are not compatible to channel together. In case you try to form a port channels on these incompatible modules, the NX-OS parser will detect this and return an error message if you attempt to channel together incompatible port types, as shown below:
%ETH_PORT_CHANNEL-3-COMPAT_CHECK_FAILURE: rate mode is not compatible
command failed: port not compatible [rate mode]
After the channels are successfully formed, the show port-channel summary output should indicate that the member links are “Up in the port-channel” with flag (P). This output also shows whether LACP negotiation was used or not.
NXOS01# show port-channel summary Flags: D – Down P – Up in port-channel (members) |
NXOS02# show port-channel summary Flags: D – Down P – Up in port-channel (members) |
NXOS03# show port-channel summary Flags: D – Down P – Up in port-channel (members) |
NXOS04# show port-channel summary Flags: D – Down P – Up in port-channel (members) |
Spanning-Tree Protocol should see the port channels as one logical link, as shown below. Separate channels that point the same direction in the spanning-tree, such as Port-Channels 1 and 2 below, are still subject to the normal forwarding and blocking rules.
NXOS01# show spanning-tree vlan 10 VLAN0010 |
LACP neighbors of NXOS01 and NXOS02 should see that its System Priority (the first portion of the System ID) has been reduced to a more preferred value of 16384. The output below also shows whether the neighbor is running LACP in active or passive mode, and whether slow or fast LACP hellos are being used.
NXOS01# show lacp neighbor interface Po2 Flags: S – Device is sending Slow LACPDUs F – Device is sending Fast LACPDUs |
To verify the configured load balancing method of the switches, use the show port-channel load-balance command, as seen below.
Note that on the Nexus the load balancing method can only be changed in the default VDC, as this change is chassis-wide between all VDCs.
NXOS03# show port-channel load-balance System config: |
NXOS01# show port-channel load-balance System config: |
Configure the IP address on Win Server. Win Server and SW should have IP reachability to each other
Amar Singh is a senior network security engineer and a certified trainer. He is currently working with a reputed organization based out of India. His accomplishments include CCNA, CCNP Security, CEH, Vmware, Checkpoint and Palo Alto Certifications. He is holding more than 12 years of experience in Network security domain. In his career he has ...
More... | Author`s Bog | Book a Meeting