<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Etherchannel - Tag - Fryguy's Blog</title><link>https://hugo.fryguy.net/tags/etherchannel/</link><description>Etherchannel - Tag - Fryguy's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 19 Jul 2011 12:00:38 +0000</lastBuildDate><atom:link href="https://hugo.fryguy.net/tags/etherchannel/" rel="self" type="application/rss+xml"/><item><title>Nexus 7009 – More information</title><link>https://hugo.fryguy.net/2011/07/19/nexus-7009-more-information/</link><pubDate>Tue, 19 Jul 2011 12:00:38 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2011/07/19/nexus-7009-more-information/</guid><description>  
&amp;nbsp;  
A few months ago I did a quick post on the Nexus 7009 when it was pseudo announced (&lt;a href="http://blog.fryguy.net/2011/04/04/the-nexus-7009-and-what-is-this-nexus-7006/" target="_blank" rel="noopener noreferrer">here&lt;/a> ).  When I was attending Cisco Live 2011 last week in Las Vegas I found out that they had a Nexus 7009 in their Data Center booth in World of Solutions for all to see.  So, I figured I would post some updated information that I was able to gather or figure out. All this information was being openly spoken in the booth, nothing here was gathered from any other resource then what I was able to hear.  
To recap, below is a picture of the new family member, the 7009 along side its big brothers the 7010 and the 7018.  As you can see there are some nice size differences.  The Nexus 7009 us 14RU, the 7010 21RU, and the 7018 25RU.  
[][2]</description></item><item><title>Cisco ASR and LACP</title><link>https://hugo.fryguy.net/2010/12/02/cisco-asr-and-lacp/</link><pubDate>Thu, 02 Dec 2010 16:50:03 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2010/12/02/cisco-asr-and-lacp/</guid><description><![CDATA[<p>I am currently working on a new site deployment utilizing some Cisco ASR1002 routers.  When we typically design a location we cross-connect the two WAN routers via a cross-over cable; this allows us to have the capability to continue to transit traffic over the connected WAN routers and WAN links if need to take down the Core at the site for maintenance.<br>
If you look at the image below you will see three Sites – A – B – C.  Traffic that is destined to Site B from Site A will transit the connected WAN link.  So what happens if that WAN link goes down, it will transit through Site C instead.  By having the WAN routers connected via a cross-over cable, the traffic will stay at the end and not transverse the internal LAN of the site.<br>
<a href="/wp-content/uploads/2010/12/site-a-b-c.jpg" rel=""></a><br>
Ok, the background information is now out of the way. Lets continue.<br>
Typically we use a single gigabit ethernet cross-over cable between the routers, due to hardware limitations. Well, with the ASR series we now have more interfaces that we can use for this connectivity.  What I have also found is that the ASR and IOS-XE support LACP and etherchannels.  This is a wonderful thing as it actually solves some of the problems of a single cross-over cable between routers.<br>
So, how does one configure LACP on the ASR 1002?  It is done the same way as you would on the Nexus for L3 etherchannel. Below are the configuration commands as well as the ways to check.<br>
For this example, we are going to create Port-Channel 12 on the router and assign interfaces G0/0/2 and G0/0/3 to the channel-group<br>
Router#<span style="color:#ff0000;">conf t</span><br>
Router(config)#<span style="color:#ff0000;">interface GigabitEthernet0/0/2</span><br>
Router(config-if)# <span style="color:#ff0000;">channel-group 12 mode active</span><br>
Router(config-if)# <span style="color:#ff0000;">no shut</span><br>
Router(config-if)# <span style="color:#ff0000;">exit</span><br>
Router(config)#<span style="color:#ff0000;">interface GigabitEthernet0/0/3</span><br>
Router(config-if)# <span style="color:#ff0000;">channel-group 12 mode active</span><br>
Router(config-if)# <span style="color:#ff0000;">no shut</span><br>
Router(config-if)# <span style="color:#ff0000;">exit</span><br>
Now we can configure an IP address on the port-channel interface:<br>
Router(config)#<span style="color:#ff0000;">interface Port-channel12</span><br>
Router(config-if)# <span style="color:#ff0000;">ip address 10.1.1.1 255.255.255.252</span><br>
<span style="color:#ff0000;"><span style="color:#000000;">T0 check the port-channel:</span></span><br>
Router#<span style="color:#ff0000;">sh int port-channel 12</span><br>
<strong><span style="color:#ff0000;">Port-channel12 is up, line protocol is up </span></strong><br>
<span style="color:#ff0000;">Hardware is GEChannel, address is c471.fe0c.55cb (bia c471.fe0c.55cb)</span><br>
<span style="color:#ff0000;">Internet address is 10.98.255.9/30</span><br>
<span style="color:#ff0000;">MTU 1500 bytes, <strong>BW 2000000 Kbit/sec</strong>, DLY 10 usec, </span><br>
<span style="color:#ff0000;"><span style="color:#000000;">You can also look at the LACP information:</span></span><br>
Router#<span style="color:#ff0000;">sh lacp 12 neighbor </span><br>
<span style="color:#0000ff;">Flags:  S – Device is requesting Slow LACPDUs </span><br>
<span style="color:#0000ff;">F – Device is requesting Fast LACPDUs</span><br>
<span style="color:#0000ff;">A – Device is in Active mode       P – Device is in Passive mode </span><br>
<span style="color:#0000ff;">Channel group 12 neighbors</span><br>
<span style="color:#0000ff;">Partner’s information:</span><br>
<span style="color:#0000ff;">Partner Partner   LACP Partner  Partner   Partner  Partner     Partner</span><br>
<span style="color:#0000ff;">Port      Flags   State     Port Priority Admin Key Oper Key Port Number Port State</span><br>
<span style="color:#0000ff;">Gi0/0/2   SA      bndl      32768         0x0       0xC      0x3         0x3D </span><br>
<span style="color:#0000ff;">Gi0/0/3   SA      bndl      32768         0x0       0xC      0x4         0x3D </span><br>
Router#<br>
Now lets ping to test:<br>
Router#<span style="color:#ff0000;">p 10.1.1.2 t 1</span><br>
<span style="color:#0000ff;">Type escape sequence to abort.</span><br>
<span style="color:#0000ff;">Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 1 seconds:</span><br>
<span style="color:#0000ff;">!!!!!</span><br>
<span style="color:#0000ff;">Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms</span><br>
Router#<br>
If you noticed I typed t 1 – that means use a 1 second timeout.  I did that in case, for some reason, it does not PING successfully I only have to wait half the normal time of 2 seconds per ping.  This might not seem like a big deal, but if you use this on some LAB test – you can save some time and frustration. 🙂</p>]]></description></item><item><title>LACP Configuration and multi-chassis Etherchannel on Nexus 7000 with vPC, Part 2 of 2</title><link>https://hugo.fryguy.net/2010/09/13/lacp-configuration-and-multi-chassis-etherchannel-on-nexus-7000-with-vpc-part-2-of-2/</link><pubDate>Mon, 13 Sep 2010 23:47:25 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2010/09/13/lacp-configuration-and-multi-chassis-etherchannel-on-nexus-7000-with-vpc-part-2-of-2/</guid><description><![CDATA[<pre>This is the second part in a two part post on Etherchannel on the
Nexus 7000.  In the first part I covered how to configure vPC on
the Nexus 7000, here I will cover what it takes to get a remote
switch to uplink to the Nexus 7000 core switches using
vPC/Multi-chassis etherchannel.
Here is a diagram depicting the layout that we are using.  For
this part of the post, we will focus on the blue line that is
connecting both Nexus switches to the 3750 Stack.
<a href="/wp-content/uploads/2010/09/nexus-lacp-etherchannel.jpg"></a>
On the Cisco 3750 switches (they are in a stack configuration of
two switches) we need to configure the interface to be in a
channel-group - for this example Iam using Channel-Group 6
(the switch is actually named StackSwitch06). What you will
also notice is that you configure the 3750 Stack just like it
was only connected to one switch, just one single port-channel
that consists of all the ports connected to both Nexus switches.
For this example we are using ports G1/0/1, G1/0/24, G2/0/1,
and G2/0/24. One thing I want to mention, when you are thinking
about your uplinks to your core switches, be aware of the switch
ASIC layout.  I say this because I have seen many times when
companies use ports 23 and 24 to uplink to a core switch.
The problem with this is that:
<em> 1) The same ASIC is probably controlling both ports, and if
    it goes bad your links to the switch are gone and your
    switch is also isolated.
 2) You have a better chance of oversubscribing the ASIC
    before the uplink when utilization is high on the channel.</em>
Now, onto the configuration, first up the Cisco 3750s.<span style="color:#ff0000;">
    interface GigabitEthernet 1/0/1
     description [----[ Uplink to N7K1 - E9/10 ]----]
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-group 6 mode active
    interface GigabitEthernet1/0/24
     description [----[ Uplink to N7K2 - E9/10 ]----]
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-group 6 mode active
    interface GigabitEthernet 2/0/1
     description [----[ Uplink to N7K1 - E10/10]----]
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-group 6 mode active
    interface GigabitEthernet2/0/24
     description [----[ Uplink to N7K2 - E10/10]----]
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-group 6 mode active
    </span>
Once the interfaces are assigned to the channel-group, we
can configure the etherchannel on the Cisco 3750s. Notice
that there is no vPC info nor anything else that says this
is connected to two switches.
     <span style="color:#ff0000;">interface Port-channel6
      switchport trunk encapsulation dot1q
      switchport mode trunk
</span>
Now, on the Nexus side we need to do some configurations
as well. Both Nexus switches are also configured the same,
so there are no differences in the switch configs.
<span style="color:#ff0000;">     interface Ethernet9/10
       description [----[ StackSwitch6-1 ]----]
       switchport
       switchport mode trunk
       channel-group 6 mode active
       no shutdown
</span>


<pre><span style="color:#ff0000;">     interface Ethernet10/10
       description [----[ StackSwitch6-1 ]----]
       switchport
       switchport mode trunk
       channel-group 6 mode active
       no shutdown
<span style="color:#000000;">Now, when it comes to configuring the etherchannel on the Nexus
switches, is is configured the same except for the addition of
a vPC identifier. I recommend using the same number that you used
for the port-channel for easy identification, but that is up to you.</span></span>
<span style="color:#ff0000;">   interface port-channel6
     description [----[ LACP EtherChannel for StackSwitch6 ]----]
     switchport
     switchport mode trunk</span><span style="color:#ff0000;"><span style="color:#ff0000;">
     vpc 6
</span></span></pre>
<pre>Once you have it configured on the Nexus, make sure it is up and
in the vPC correctly.        
<span style="color:#ff0000;">
     N7K1# sh int port-channel 6  
     port-channel6 is up
     <strong>vPC Status: Up, vPC number: 6</strong>
     Hardware: Port-Channel, address: 5475.d04f.1165 (bia 5475.d04f.1165)  
     Description: [----[ LACP EtherChannel for RackSwitch6 ]----]   
<strong>     Members in this channel: Eth9/10, Eth10/10</strong>  
     N7K1#</span></pre>
<pre>Once you have confirmed that all is working correctly, you can
check out the StackSwitch spanning tree information: 
<span style="color:#ff0000;">
     StackSwitch06#sh spanning-tree interface port-channel 6</span> 
     <span style="color:#ff0000;">Vlan             Role Sts Cost      Prio.Nbr Type
     ---------------- ---- --- --------- -------- --------------------------------
     VLAN0001         Root FWD 3         128.656  P2p
     VLAN0002         Root FWD 3         128.656  P2p
     VLAN0003         Root FWD 3         128.656  P2p
     VLAN0004         Root FWD 3         128.656  P2p
     VLAN0005         Root FWD 3         128.656  P2p
     StackSwitch06#</span></pre>
<pre>You will see that even though you are connected to two switches,
the port-channel is seen as a single spanning-tree
path to the root.</pre>]]></description></item><item><title>LACP Configuration and multi-chassis Etherchannel on Nexus 7000 with vPC, Part 1 of 2</title><link>https://hugo.fryguy.net/2010/09/13/lacp-configuration-and-multi-chassis-etherchannel-on-nexus-7000-with-vpc-part-1/</link><pubDate>Mon, 13 Sep 2010 15:21:21 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2010/09/13/lacp-configuration-and-multi-chassis-etherchannel-on-nexus-7000-with-vpc-part-1/</guid><description><![CDATA[<pre>The other day I received a question on Ether-channel and the Nexus
7000 - based on the question I felt it would be also good to
include the information here.
This will be a 2-part post, first part is the Nexus configuration
for vPC, the second post will be on the mutli-chassis ether-channel
configuration around the 3750 as well as the Nexus 7000 switches.
What are the benefits of Multi-chassis (vPC) ether-channel? 
Basically all your up-links from your switches are in FORWARDING
mode, nothing is in blocking mode in your spanning tree domain. 
What this means is that you have a loop free topology in your
data center and all links can be utilized.
Below is the diagram of the configuration that I will be
showing here.  There will be a Layer 2 Ether-channel vPC between
the Nexus 7010-1 and Nexus 7010-2 (Orangish line), a Layer 3
Ether-channel for vPC keep-alive (Red line), as well as a
mutli-chassis (vPC) ether-channel from a 3750 stack to Nexus 7010-1
and Nexus 7010-2 with all links in a single ether-channel bundle.
<a href="/wp-content/uploads/2010/09/nexus-lacp-etherchannel.jpg"></a>
Configuration for both of the Nexus switches is the same except where noted.
<strong>
</strong>
<strong>Configuration for the Nexus switches</strong>
First thing to do is enable the vPC feature:
<span style="color:#ff0000;"><strong>      feature vpc
</strong></span><span style="color:#ff0000;"><strong> </strong></span>
<span style="color:#ff0000;"><span style="color:#000000;">Once you have enabled the vPC feature, you should create your keep-alive links.
Here I create a port-channel via LACP over ports 9/1 and 10/1.  You will also
notice that I have spread the channel over two line cards.  This has been done
to help assure maximum redundancy.  If a card where to go bad, the other card would
still be active in the port-channel. </span></span><span style="color:#ff0000;"><span style="color:#000000;">
</span><strong>      interface Ethernet9/1
       description [----[ vPC KeepAlive to CoreSwitch2 ]----]
       channel-group 101 mode active  </strong><span style="color:#0000ff;">! Assign port to port-channel 101 via LACP</span>
<strong>       no shutdown
     interface Ethernet10/1
       description [----[ vPC KeepAlive to CoreSwitch2 ]----]
       channel-group 101 mode active
       no shutdown</strong></span>
<span style="color:#ff0000;"><span style="color:#000000;">Now we can create the VRF for the keep-alive link.  I suggest using a dedicated
VRF for security and sanity purpose.  This VRF will not participate in your
global routing table, thus allowing for more stability and also the prevention
of duplicate IP addresses in the network.</span>
     <strong>vrf context VPC100_KA</strong></span>
<span style="color:#ff0000;"><span style="color:#000000;">Now we can create the Layer 3 interface on the port-channel and assign it
to the new VRF, VPC100_KA
</span><strong>     interface port-channel101
       description [----[ vPC Keep-Alive link between CoreSwitches ]----]
       vrf member VPC100_KA </strong><span style="color:#0000ff;">! Assign this interface into the appropriate VRF</span>
<strong>       ip address 10.10.10.1/30</strong>  <span style="color:#0000ff;">! The other side of the link is .2/30</span>
</span>
Now you can configuration the vPC Peer links (Orangish lines).  Since I am using
10G links for this connection, I have set the rate mode to Dedicated.  This prevents
any chance for over subscription on the 10G port.  It also disables the other 3 ports in
group, so you need to keep that in mind when you are designing your deployment.
<span style="color:#ff0000;"><strong>     interface Ethernet7/1
       description [-[ vPC Connection to Nexus 7010-2 - E7/1 ]-]
       switchport
       switchport mode trunk  </strong><span style="color:#0000ff;">! Set the mode to trunk</span>
       <strong>rate-mode dedicated force </strong><span style="color:#0000ff;">! Force the rate-mode</span>
       <strong>mtu 9216
       udld enable </strong><span style="color:#0000ff;">! Since this is also fiber, enable UDLD</span>
       <strong>channel-group 100 mode active </strong><span style="color:#0000ff;">! Assign to port-channel 100</span>
<strong>       no shutdown
     !
     interface Ethernet8/1
       description [-[ vPC Connection to Nexus 7010-2 - E8/1 ]-]
       switchport
       switchport mode trunk
       rate-mode dedicated force
       mtu 9216
       udld enable
       channel-group 100 mode active
       no shutdown
     !
</strong></span>
Now to configure the port-channel as a vPC link as well as the vPC
domain information.
<span style="color:#ff0000;"><strong>     interface port-channel100
       description [-[ vPC Peer-Link between Nexus Switches ]-]
       switchport
       switchport mode trunk
       vpc peer-link </strong><span style="color:#0000ff;">! Assign this port-channel as a vpc peer-link</span>
<strong>       spanning-tree port type network
       mtu 9216
     !
vpc domain 100
role priority 16000 </strong><span style="color:#0000ff;">! Here I hard-coded switch 1 to be the vPC master.
                       switch 2 was left as the default</span>
<strong>peer-keepalive destination 10.10.10.2 source 10.10.10.1 vrf VPC100_KA
                    </strong><span style="color:#0000ff;">! The other side has the IP addresses reversed</span></span><span style="color:#ff0000;">
<em><span style="color:#008000;">Had to move the formatting above to get the command to fit, sorry.</span></em></span>
Let's check the port-channel and make sure it is up with the appropriate members.
As you can see from the output, Eth7/1 and Eth8/1 are members of the channel.
<span style="color:#ff0000;"><strong>
     N7K1# sh int port-channel 100
      port-channel100 is up
<span style="color:#0000ff;">      [------ SNIP - Output omitted! ------]
</span>      Members in this channel: Eth7/1, Eth8/1
     N7K1#
</strong></span>
Also check the vPC and the vPC keep-alive link
<span style="color:#ff0000;"><strong>     N7K1# sh vpc
      Legend:
             (*) - local vPC is down, forwarding via vPC peer-link
      vPC domain id                        : 100 
      Peer status                          : peer adjacency formed ok      
      vPC keep-alive status                : peer is alive                 
      Configuration consistency status     : success 
      Type-2 consistency status            : success 
      vPC role                             : primary, operational secondary
      Number of vPCs configured            : 9   
      Peer Gateway                         : Disabled
      Dual-active excluded VLANs           : -
      vPC Peer-link status
      ---------------------------------------------------------------------
      id   Port   Status Active vlans    
      --   ----   ------ --------------------------------------------------
      1    Po100  up     1-224
     N7K1# sh vpc peer-keepalive
      vPC keep-alive status           : peer is alive                
      --Peer is alive for             : (1486816) seconds, (684) msec
      --Send status                   : Success
      --Last send at                  : 2010.09.11 12:38:36 872 ms
      --Sent on interface             : Po101
      --Receive status                : Success
      --Last receive at               : 2010.09.11 12:38:36 872 ms
      --Received on interface         : Po101
      --Last update from peer         : (0) seconds, (161) msec
     vPC Keep-alive parameters
     --Destination                    : 10.10.10.2
      --Keepalive interval            : 1000 msec
      --Keepalive timeout             : 5 seconds
      --Keepalive hold timeout        : 3 seconds
      --Keepalive vrf                 : VPC100_KA
      --Keepalive udp port            : 3200
      --Keepalive tos                 : 192
     N7K1#</strong></span>
As of now, both switches are connected via vPC.
This concludes the first post, the second post will be up shortly and will focus
around the Cisco 3750 configuration as well as the associated configs on the
Nexus 7000 switches.</pre>]]></description></item></channel></rss>