<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>L2 Bridging &amp; Switching &#8211; www.expertcisco.fr</title>
	<atom:link href="https://www.expertcisco.fr/category/l2-bridging-switching/feed" rel="self" type="application/rss+xml" />
	<link>https://www.expertcisco.fr</link>
	<description>CCIE Routing and Switching Lab Exam</description>
	<lastBuildDate>Mon, 04 Feb 2013 18:17:25 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.4</generator>
	<item>
		<title>6500 VSS (1440)</title>
		<link>https://www.expertcisco.fr/l2-bridging-switching/6500-vss-1440</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Tue, 04 Dec 2012 17:56:14 +0000</pubDate>
				<category><![CDATA[L2 Bridging & Switching]]></category>
		<guid isPermaLink="false">http://www.expertcisco.fr/?p=630</guid>

					<description><![CDATA[VSS (Virtual Switch System) est une technologie de virtualisation de switch Cisco. Le switch viruel 1440 (VSS1440) est composé de 2 switch Cisco Catalyst 6500 interconnectés par un lien VSL (Virtual Switch Link) Une carte Supervisor 720-10GE est utilisé par &#8230; <a href="https://www.expertcisco.fr/l2-bridging-switching/6500-vss-1440">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>VSS (Virtual Switch System) est une technologie de virtualisation de switch Cisco.</p>
<p>Le switch viruel 1440 (VSS1440) est composé de 2 switch Cisco Catalyst 6500 interconnectés par un lien VSL (Virtual Switch Link)</p>
<p style="text-align: center;"><a href="http://www.expertcisco.fr/wp-content/uploads/2013/02/6500VSS.jpg" title="6500VSS" rel="lightbox630"><img class="size-full wp-image-632 aligncenter" alt="6500VSS" src="http://www.expertcisco.fr/wp-content/uploads/2013/02/6500VSS.jpg" width="362" height="258" /></a></p>
<p>Une carte Supervisor 720-10GE est utilisé par châssis 6500.<br />
Le lien VSS est assuré par les interfaces 10To de la carte Sup.<br />
La distance entre 2 membres du VSS varie entre 15m et 80km, en fonction des modules 10To utilisés (cuivre ou optique):</p>
<ul>
<li><span style="font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 1.5;">X2-10GB-CX4: 15m</span></li>
<li>X2-10GB-LX4: 300m</li>
<li>X2-10GB-SR: 26m (FDDI grade MMF), 300M with OM3 MMF)</li>
<li>X2-10GB-LR: 10km</li>
<li><em id="__mceDel">X2-10GB-ER: 40km</em></li>
<li><em id="__mceDel"><em id="__mceDel"><em id="__mceDel"><em id="__mceDel"></em></em></em></em><em id="__mceDel"><em id="__mceDel"><em id="__mceDel"><em id="__mceDel"><em id="__mceDel">X2-10GB-LRM: 220m over MMF</em></em></em></em></em></li>
<li><em id="__mceDel"><em id="__mceDel"><em id="__mceDel"><em id="__mceDel"><em id="__mceDel"></em></em></em></em></em><em id="__mceDel"><em id="__mceDel"><em id="__mceDel"><em id="__mceDel"><em id="__mceDel"><em id="__mceDel">X2-10GB-ZR: 80km</em></em></em></em></em></em></li>
</ul>
<p>Le lien VSL est un port channel pouvant être composé de 2 à 8 liens,<br />
Le lien VSL assure la synchronisation des 2 membres, il transporte les informations de contrôle et les données.<br />
un châssis obtient le rôle « Active », l&rsquo;autre le rôle « Standby ».</p>
<p>L&rsquo;architecture VSS permet d&rsquo;assurer les fonctions suivantes :</p>
<ul>
<li><span style="font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 1.5;">stateful switchover (SSO)</span></li>
<li><em id="__mceDel"><span style="font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 1.5;">nonstop forwarding (NSF).</span></em></li>
<li><em id="__mceDel"></em><em id="__mceDel"><em id="__mceDel">lien MEC &#8211; Multichassis EtherChannel</em></em></li>
</ul>
<p style="text-align: center;"><a href="http://www.expertcisco.fr/wp-content/uploads/2013/02/6500VSS-MEC.jpg" title="6500VSS-MEC" rel="lightbox630"><img class="size-full wp-image-631 aligncenter" alt="6500VSS-MEC" src="http://www.expertcisco.fr/wp-content/uploads/2013/02/6500VSS-MEC.jpg" width="446" height="169" /></a></p>
<h3>User Actions :</h3>
<pre><span style="color: #00ffff;">6K500-VSS</span>#<span style="color: #ff0000;">show switch virtual</span>
Switch mode                  : Virtual Switch
Virtual switch domain number : 110
Local switch number          : 1
Local switch operational role: Virtual Switch Active
Peer switch number           : 2
Peer switch operational role : Virtual Switch Standby</pre>
<pre><span style="color: #00ffff;">6K500-VSS</span>#<span style="color: #ff0000;">show switch virtual link</span>
VSL Status : UP
VSL Uptime : 3 years, 5 weeks, 4 days, 22 hours, 53 minutes
VSL SCP Ping : Pass
VSL ICC Ping : Pass
VSL Control Link : Te1/5/5</pre>
<pre><span style="color: #00ffff;">6K500-VSS</span>#<span style="color: #ff0000;">show switch virtual role</span>

Switch  Switch Status  Preempt    Priority  Role     Session ID
        Number         Oper(Conf) Oper(Conf)         Local  Remote
------------------------------------------------------------------
LOCAL    1     UP      FALSE(N )   110(110)  ACTIVE   0      0
REMOTE   2     UP      FALSE(N )   100(100)  STANDBY  6444   6146

In dual-active recovery mode: No</pre>
<p>show switch virtual redundancy<br />
ou<br />
show redundancy</p>
<pre><span style="color: #00ffff;">6K500-VSS</span>#<span style="color: #ff0000;">show redundancy</span>
Redundant System Information :
------------------------------
       Available system uptime = 3 years, 5 weeks, 4 days, 22 hours, 55 minutes
Switchovers system experienced = 0
              Standby failures = 0
        Last switchover reason = none

                 Hardware Mode = Duplex
    Configured Redundancy Mode = sso
     Operating Redundancy Mode = sso
              Maintenance Mode = Disabled
                Communications = Up

Current Processor Information :
-------------------------------
               Active Location = slot 1/5
        Current Software state = ACTIVE
       Uptime in current state = 3 years, 5 weeks, 4 days, 22 hours, 54 minutes
                 Image Version = Cisco IOS Software, s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(33)SXI2a, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Wed 02-Sep-09 00:59 by prod_rel_team
                          BOOT = sup-bootdisk:s72033-advipservicesk9_wan-mz.122-33.SXI2a.bin,1;
        Configuration register = 0x2102

Peer Processor Information :
----------------------------
              Standby Location = slot 2/5
        Current Software state = STANDBY HOT
       Uptime in current state = 3 years, 5 weeks, 4 days, 22 hours, 50 minutes
                 Image Version = Cisco IOS Software, s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(33)SXI2a, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Wed 02-Sep-09 00:59 by prod_rel_team
                          BOOT = sup-bootdisk:s72033-advipservicesk9_wan-mz.122-33.SXI2a.bin,1;
        Configuration register = 0x2102</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>MLS QOS</title>
		<link>https://www.expertcisco.fr/l2-bridging-switching/mls-qos</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Fri, 06 Jul 2012 07:47:44 +0000</pubDate>
				<category><![CDATA[L2 Bridging & Switching]]></category>
		<category><![CDATA[QOS]]></category>
		<guid isPermaLink="false">http://www1.expertcisco.fr/?p=217</guid>

					<description><![CDATA[Multi-Layer Switching (MLS) QOS permet de modifier, si besoin, la valeur CoS sur chaque port d&#8217;accès MLS QOS est activé sur le switch de façon global avec la commande « mls qos » « mls qos trust cos » permet de ne pas ré-écrire &#8230; <a href="https://www.expertcisco.fr/l2-bridging-switching/mls-qos">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Multi-Layer Switching (MLS) QOS permet de modifier, si besoin, la valeur CoS sur chaque port d&rsquo;accès</p>
<ul>
<li>MLS QOS est activé sur le switch de façon global avec la commande « mls qos »</li>
<li>« mls qos trust cos » permet de ne pas ré-écrire la valeur CoS quand elle existe déjà (utilisation d&rsquo;un IP Phone Cisco par exemple)</li>
<li>« switchport priority extend cos » permet d’attribuer une valeur CoS aux trames « untrust »</li>
</ul>
<h3>Exemple de configuration d&rsquo;un port de switch accueillant un IP Phone et un PC</h3>
<ul>
<li><img style="float: right;" src="/images/voice-vlan.jpg" alt="" width="273" height="185" />MLS QOS est activé globalement</li>
<li>le trafic voix est transporté par le Vlan 100, la valeur CoS n&rsquo;est pas modifié par le switch</li>
<li>le trafic Data est transporté par le Vlan 200, la valeur CoS est ré-écrite</li>
<li>Le lien est du type 802.1q</li>
</ul>
<pre>SW1#conf t
SW1(config)#<span style="color: #ff0000;">mls qos</span>

SW1(config)#int fa0/1
SW1(config-if)#switchport access vlan <span style="color: #ff0000;">200</span>
SW1(config-if)#switchport voice vlan <span style="color: #ff0000;">100</span>
SW1(config-if)#
SW1(config-if)#switchport priority extend cos 1
SW1(config-if)#mls qos trust cos</pre>
<h3></h3>
<h3>Modification de la valeur « IP Precedence » sur un port d’accès</h3>
<ul>
<li>Activation de « mls qos »</li>
<li>Création d&rsquo;une access list</li>
<li>Création d&rsquo;une class-map</li>
<li>Création d&rsquo;une policy-map</li>
<li>Application de la policy sur l&rsquo;interface</li>
</ul>
<pre>SW1#conf t
SW1(config)#<span style="color: #ff0000;">mls qos</span>

SW1(config)#<span style="color: #ff0000;">access-list</span> 100 permit ip any any

SW1(config)#<span style="color: #ff0000;">class-map</span> QOS-TEST
SW1(config-cmap)#match access-group 100
SW1(config-cmap)#exit

SW1(config)#<span style="color: #ff0000;">policy-map</span> TEST
SW1(config-pmap)#class QOS-TEST
SW1(config-pmap-c)#set ip precedence 1

SW1(config)#int fa0/2
SW1(config-if)#<span style="color: #ff0000;">service-policy</span> input TEST</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications</strong></span></p>
<pre>SW1#<span style="color: #ff0000;">show class-map</span>
 Class Map match-any class-default (id 0)
   Match any

 Class Map match-all QOS-TEST (id 1)
   Match access-group  100

SW1#<span style="color: #ff0000;">show access-lists</span>
Extended IP access list 100
    10 permit ip any any

SW1#<span style="color: #ff0000;">show policy-map</span>
  Policy Map TEST
    Class QOS-TEST
      set ip precedence 1</pre>
<h3></h3>
<h3>Préservation de la valeur « IP Precedence » lors de la traversé des autres switch</h3>
<ul>
<li>Si « mls qos » n&rsquo;est pas activé, le switch ne modifiera la valeur « IP Precedence » qui sera donc préservée.</li>
</ul>
<pre>SW2#<span style="color: #ff0000;">show mls qos</span>
QoS is <span style="color: #ff0000;">disabled </span></pre>
<p>&nbsp;</p>
<ul>
<li>Si « mls qos » est activé, il est nécessaire de configurer les interfaces d&rsquo;interco pour préserver la valeur « IP Precedence »</li>
</ul>
<pre>SW2#<span style="color: #ff0000;">show mls qos</span>
QoS is <span style="color: #ff0000;">enabled</span>

SW2#conf t
SW2(config)#int gi0/1
SW2(config-if)#mls qos trust ip-precedence</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Trunks</title>
		<link>https://www.expertcisco.fr/l2-bridging-switching/trunks</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Sat, 19 May 2012 07:14:16 +0000</pubDate>
				<category><![CDATA[L2 Bridging & Switching]]></category>
		<guid isPermaLink="false">http://www1.expertcisco.fr/?p=209</guid>

					<description><![CDATA[Les différents modes de l&#8217;interface : SW1(config-if)#switchport mode ? access Set trunking mode to ACCESS unconditionally dynamic Set trunking mode to dynamically negotiate access or trunk mode trunk Set trunking mode to TRUNK unconditionally DTP &#8211; Dynamic Trunk Protocol « dynamic &#8230; <a href="https://www.expertcisco.fr/l2-bridging-switching/trunks">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Les différents modes de l&rsquo;interface :</p>
<pre> SW1(config-if)#<span style="color: #ff0000;">switchport mode ?</span> 
   <span style="color: #ff0000;">access</span> Set trunking mode to ACCESS unconditionally 
   <span style="color: #ff0000;">dynamic</span> Set trunking mode to dynamically negotiate access or trunk mode 
   <span style="color: #ff0000;">trunk</span> Set trunking mode to TRUNK unconditionally</pre>
<h3></h3>
<h3>DTP &#8211; Dynamic Trunk Protocol</h3>
<p style="padding-left: 30px;"><strong>« dynamic desirable »</strong></p>
<blockquote>
<ul>
<li>permet de négocier avec un autre switch et détermine le bon mode</li>
<li>envoi des paquets de négociation DTP</li>
</ul>
</blockquote>
<p style="padding-left: 30px;"><strong>« dynamic auto »</strong></p>
<blockquote>
<ul>
<li>reçoit et rebond aux paquets DTP</li>
</ul>
</blockquote>
<h3>3 modes d&rsquo;encapsulation :</h3>
<pre> SW2(config-if)#<span style="color: #ff0000;">switchport trunk encapsulation ?</span> 
   <span style="color: #ff0000;">dot1q</span> Interface uses only 802.1q trunking encapsulation when trunking 
   <span style="color: #ff0000;">isl</span> Interface uses only ISL trunking encapsulation when trunking 
   <span style="color: #ff0000;">negotiate</span> Device will negotiate trunking encapsulation with peer on interface</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications</strong></span></p>
<pre>SW1#show interfaces fa0/1 switchport 
     Name: Fa0/1 
     Switchport: Enabled 
     Administrative Mode: <span style="color: #ff0000;">dynamic auto</span> 
     Operational Mode: static access 
     Administrative Trunking Encapsulation: <span style="color: #ff0000;">negotiate</span> 
     Operational Trunking Encapsulation: native 
     Negotiation of Trunking: On

SW1#show interfaces trunk

Port   Mode       Encapsulation  Status    Native vlan
Fa0/1  <span style="color: #ff0000;">desirable n-isl</span>          trunking  1</pre>
<h3></h3>
<h3>Désactivation du DTP</h3>
<p>Le « Dynamic Trunk Protocol » peut être désactivé avec la commande « switchport nonegotiate »,<br />
mais uniquement après la commande « switchport mode trunk »</p>
<pre>SW1(config)#int fa0/1
SW1(config-if)#switchport trunk encapsulation dot1q
SW1(config-if)#switchport mode trunk
SW1(config-if)#switchport nonegotiate</pre>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vlans autorisés</strong></span></p>
<ul>
<li>switch trunk allowed vlan</li>
<li>switch trunk allowed vlan <strong>add</strong></li>
<li>switch trunk allowed vlan <strong>remove</strong></li>
<li>switch trunk allowed vlan <strong>none</strong></li>
<li>switch trunk allowed vlan <strong>exept</strong></li>
<li>switch trunk allowed vlan <strong>all</strong></li>
</ul>
<pre>SW1(config)#int fastEthernet 0/1
SW1(config-if)#switchport trunk allowed vlan 101
SW1(config-if)#switchport trunk allowed vlan add 9-11

SW1#show interfaces trunk

Port        Vlans allowed on trunk
Fa0/1       9-11,101</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SPAN</title>
		<link>https://www.expertcisco.fr/l2-bridging-switching/span</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Fri, 18 May 2012 07:10:45 +0000</pubDate>
				<category><![CDATA[L2 Bridging & Switching]]></category>
		<guid isPermaLink="false">http://www1.expertcisco.fr/?p=207</guid>

					<description><![CDATA[Switched Port Analyser (SPAN) ou Port monitoring SPAN permet d&#8217;effectuer la copie d&#8217;un port ou d&#8217;un vlan de façon transparente afin d&#8217;analyser de trafic Configuration SW1#conf t SW1(config)#monitor session 1 source interface fa0/1 both SW1(config)#monitor session 1 destination interface fa0/10 &#8230; <a href="https://www.expertcisco.fr/l2-bridging-switching/span">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h2>Switched Port Analyser (SPAN) ou Port monitoring</h2>
<p>SPAN permet d&rsquo;effectuer la copie d&rsquo;un port ou d&rsquo;un vlan de façon transparente afin d&rsquo;analyser de trafic</p>
<h3>Configuration</h3>
<pre>SW1#conf t
SW1(config)#monitor session 1 <span style="color: #ff0000;">source</span> interface fa0/1 both
SW1(config)#monitor session 1 <span style="color: #ff0000;">destination</span> interface fa0/10</pre>
<p>&nbsp;</p>
<p>RSPAN permet de rediriger la copie vers un autre switch</p>
<pre><span style="color: #ff0000;">SW1</span>#conf t
<span style="color: #ff0000;">SW1</span>(config)#vlan 99
SW1(config-vlan)#remote-span
SW1(config-vlan)#exit
SW1(config)#monitor session 2 source interface fastEthernet 0/2
SW1(config)#monitor session 2 destination <span style="color: #ff0000;">remote vlan</span> 99 reflector-port fa0/1

<span style="color: #ff0000;">SW2</span>(config)#monitor session 1 source remote vlan 99
SW2(config)#monitor session 1 destination interface fastEthernet 0/10</pre>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications</strong></span></p>
<pre>SW1#<span style="color: #ff0000;">show monitor</span>
Session 1
---------
Type                   : Local Session
Source Ports           :
    Both               : Fa0/1
Destination Ports      : Fa0/10
    Encapsulation      : Native
          Ingress      : Disabled

Session 2
---------
Type                   : Remote Source Session
Source Ports           :
    Both               : Fa0/2
Reflector Port         : Fa0/11
Dest RSPAN VLAN        : 99</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>VTP</title>
		<link>https://www.expertcisco.fr/l2-bridging-switching/vtp</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Wed, 16 May 2012 07:06:14 +0000</pubDate>
				<category><![CDATA[L2 Bridging & Switching]]></category>
		<guid isPermaLink="false">http://www1.expertcisco.fr/?p=205</guid>

					<description><![CDATA[VTP &#8211; Vlan Trunking Protocol Le VTP permet la gestion de la base de donnée des VLANs, 3 modes : Serveur Ajout de vlan Suppression de vlan Modification Propagation des informations gestion des VLAN de 1 à 1005 Client Réception &#8230; <a href="https://www.expertcisco.fr/l2-bridging-switching/vtp">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h2>VTP &#8211; Vlan Trunking Protocol</h2>
<p>Le VTP permet la gestion de la base de donnée des VLANs, 3 modes :</p>
<ul>
<li>Serveur
<ul>
<li>Ajout de vlan</li>
<li>Suppression de vlan</li>
<li>Modification</li>
<li>Propagation des informations</li>
<li>gestion des VLAN de 1 à 1005</li>
</ul>
</li>
<li>Client
<ul>
<li>Réception et propagation des informations</li>
<li>Ajout / Suppression / Modification &#8211;&gt; impossible</li>
</ul>
</li>
<li>Transparent
<ul>
<li>Ajout de vlan</li>
<li>Suppression de vlan</li>
<li>Modification</li>
<li>PAS de propagation des informations</li>
<li>gestion du range étendu: VLAN 1006 à 4094</li>
</ul>
</li>
</ul>
<h3>Configuration</h3>
<pre>SW1#conf t
SW1(config)#<span style="color: #ff0000;">vtp mode ?</span>
  client       Set the device to client mode.
  server       Set the device to server mode.
  transparent  Set the device to transparent mode.

SW1(config)#vtp mode server
SW1(config)#vtp domain TEST
SW1(config)#vtp password cisco
SW1(config)#vtp version 2</pre>
<p>« vtp interface » permet de spécifier l&rsquo;ID utilisé</p>
<pre>SW1(config)#vtp interface lo0 only</pre>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications</strong></span></p>
<pre>SW1#<span style="color: #ff0000;">show vtp status</span>
VTP Version                     : running VTP2
Configuration Revision          : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 10
VTP Operating Mode              : <span style="color: #ff0000;">Server</span>
VTP Domain Name                 : TEST
VTP Pruning Mode                : Enabled
VTP V2 Mode                     : Enabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x57 0xD8 0x57 0xD5 0x9B 0x6D 0xBE 0x60
Configuration last modified by 0.0.0.0 at 3-1-93 00:41:07
Local updater <span style="color: #ff0000;">ID is 192.168.100.1 on interface Lo0</span> (preferred interface)
Preferred interface name is lo0 (mandatory)</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>VMPS</title>
		<link>https://www.expertcisco.fr/l2-bridging-switching/vmps</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Sun, 06 May 2012 07:01:54 +0000</pubDate>
				<category><![CDATA[L2 Bridging & Switching]]></category>
		<guid isPermaLink="false">http://www1.expertcisco.fr/?p=201</guid>

					<description><![CDATA[VLAN Membership Policy Server (VMPS) / Dynamic VLANs VMPS permet d&#8217;assigner dynamiquement un vlan en mode accès à un port sur la base de adresse mac de l&#8217;équipement connecté. Un Switch 6500 peut être configuré en serveur VMPS Configuration SW1#conf &#8230; <a href="https://www.expertcisco.fr/l2-bridging-switching/vmps">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h2>VLAN Membership Policy Server (VMPS) / Dynamic VLANs</h2>
<p>VMPS permet d&rsquo;assigner dynamiquement un vlan en mode accès à un port</p>
<ul>
<li>sur la base de adresse mac de l&rsquo;équipement connecté.</li>
<li>Un Switch 6500 peut être configuré en serveur VMPS</li>
</ul>
<h3>Configuration</h3>
<pre>SW1#conf t
SW1(config)#vmps server 10.1.1.10 primary
SW1(config)#vmps server 10.1.1.12

SW1(config)#vmps reconfirm 30
SW1(config)#vmps retry 5

SW1(config)#int range fa0/1-10
SW1(config-if-range)#switchport access vlan <span style="color: #ff0000;">dynamic </span></pre>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Vérifications</strong></span></p>
<pre>SW1#<span style="color: #ff0000;">show vmps</span>
VQP Client Status:
--------------------
VMPS VQP Version:   1
Reconfirm Interval: <span style="color: #ff0000;">30</span> min
Server Retry Count: <span style="color: #ff0000;">5</span>
VMPS domain server: 10.1.1.12
                    10.1.1.10 (primary, current)

Reconfirmation status
---------------------
VMPS Action:         other</pre>
<pre>SW1#<span style="color: #ff0000;">show interfaces status</span>

Port      Name               Status       Vlan       Duplex  Speed Type
Fa0/1     R1:fa0/0           connected    <span style="color: #ff0000;">unassigned</span> a-full  a-100 10/100BaseTX
Fa0/2                        notconnect   <span style="color: #ff0000;">unassigned </span> auto   auto 10/100BaseTX
Fa0/3     R3:fa0/0           notconnect   <span style="color: #ff0000;">unassigned </span> auto   auto 10/100BaseTX
Fa0/4                        notconnect   <span style="color: #ff0000;">unassigned </span> auto   auto 10/100BaseTX
Fa0/5     R5:fa0/0           notconnect   <span style="color: #ff0000;">unassigned </span> auto   auto 10/100BaseTX
Fa0/6                        notconnect   <span style="color: #ff0000;">unassigned </span> auto   auto 10/100BaseTX
Fa0/7                        notconnect   <span style="color: #ff0000;">unassigned </span> auto   auto 10/100BaseTX
Fa0/8                        notconnect   <span style="color: #ff0000;">unassigned </span> auto   auto 10/100BaseTX
Fa0/9                        notconnect   <span style="color: #ff0000;">unassigned </span> auto   auto 10/100BaseTX
Fa0/10                       notconnect   <span style="color: #ff0000;">unassigned </span> auto   auto 10/100BaseTX
Fa0/11                       monitoring   1          a-half   auto 10/100BaseTX
Fa0/12                       connected    21         a-full  a-100 10/100BaseTX
Fa0/13                       connected    trunk      a-full  a-100 10/100BaseTX
Fa0/14                       notconnect   1            auto   auto 10/100BaseTX
Fa0/15                       notconnect   1            auto   auto 10/100BaseTX
Fa0/16                       notconnect   1            auto   auto 10/100BaseTX
Fa0/17                       notconnect   1            auto   auto 10/100BaseTX
Fa0/18    SW2                connected    100        a-full  a-100 10/100BaseTX
Fa0/19    SW2                connected    100        a-full  a-100 10/100BaseTX
Fa0/20    SW2                connected    100        a-full  a-100 10/100BaseTX
Fa0/21    SW3                connected    trunk      a-full  a-100 10/100BaseTX

Port      Name               Status       Vlan       Duplex  Speed Type
Fa0/22    SW3                connected    trunk      a-full  a-100 10/100BaseTX
Fa0/23    SW4                connected    trunk      a-full  a-100 10/100BaseTX
Fa0/24    SW4                connected    trunk      a-full  a-100 10/100BaseTX
Gi0/1     SW2:Gi0/1          disabled     1            auto   auto 1000BaseSX
Gi0/2     SW2:Gi0/2          disabled     1            auto   auto 1000BaseTX</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>UDLD</title>
		<link>https://www.expertcisco.fr/l2-bridging-switching/udld</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Sun, 15 Apr 2012 09:56:35 +0000</pubDate>
				<category><![CDATA[L2 Bridging & Switching]]></category>
		<guid isPermaLink="false">http://www1.expertcisco.fr/?p=199</guid>

					<description><![CDATA[UniDirectional Link Detection Protocol &#8211; UDLD SW1#sh udld fa0/18 Interface Fa0/18 --- Port enable administrative configuration setting: Disabled Port enable operational state: Disabled Current bidirectional state: Unknown Configuration SW1(config)#interface fastEthernet 0/18 SW1(config-if)#udld port aggressive Vérification SW1#show udld fa0/18 Interface Fa0/18 &#8230; <a href="https://www.expertcisco.fr/l2-bridging-switching/udld">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h2>UniDirectional Link Detection Protocol &#8211; UDLD</h2>
<pre>SW1#<span style="color: #ff0000;">sh udld fa0/18</span>

Interface Fa0/18
---
Port enable administrative configuration setting: <span style="color: #ff0000;">Disabled</span>
Port enable operational state: Disabled
Current bidirectional state: Unknown</pre>
<h3></h3>
<h3>Configuration</h3>
<pre>SW1(config)#interface fastEthernet 0/18
SW1(config-if)#<span style="color: #ff0000;">udld port aggressive </span></pre>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérification</strong></span></p>
<pre>SW1#<span style="color: #ff0000;">show udld fa0/18</span>

Interface Fa0/18
---
Port enable administrative configuration setting: <span style="color: #ff0000;">Enabled / in aggressive mode</span>
Port enable operational state: <span style="color: #ff0000;">Enabled / in aggressive mode</span>
Current bidirectional state: Unknown
Current operational state: Advertisement
Message interval: 7
Time out interval: 5
<span style="color: #ff0000;">No neighbor</span> cache information stored</pre>
<h3></h3>
<h3>Configuration Bidirectionnel</h3>
<pre>SW2#conf t
SW2(config)#int fa 0/18
SW2(config-if)#<span style="color: #ff0000;">udld port aggressive </span></pre>
<pre>SW1#show udld fa0/18

Interface Fa0/18
---
Port enable administrative configuration setting: Enabled / in aggressive mode
Port enable operational state: Enabled / in aggressive mode
Current bidirectional state: <span style="color: #ff0000;">Bidirectional</span>
Current operational state: Advertisement - <span style="color: #ff0000;">Single neighbor detected</span>
Message interval: 7
Time out interval: 5

    Entry 1
    ---
    Expiration time: 44
    Cache Device index: 1
    Current neighbor state: <span style="color: #ff0000;">Bidirectional</span>
    Device ID: CAT0742X0UJ 
    Port ID: Fa0/18 
    Neighbor echo 1 device: CAT1013N35D
    Neighbor echo 1 port: Fa0/18

    Message interval: 15
    Time out interval: 5
    CDP Device name: <span style="color: #ff0000;">SW2</span> 
</pre>
<h3></h3>
<h3>Recovery</h3>
<pre>SW1#conf t
SW1(config)#<span style="color: #ff0000;">errdisable recovery cause udld</span> 
SW1(config)#errdisable recovery interval 180</pre>
<pre>SW1#<span style="color: #ff0000;">show errdisable recovery</span>
ErrDisable Reason            Timer Status
-----------------            --------------
arp-inspection               Disabled
bpduguard                    Disabled
channel-misconfig            Disabled
dhcp-rate-limit              Disabled
dtp-flap                     Disabled
gbic-invalid                 Disabled
l2ptguard                    Disabled
link-flap                    Disabled
mac-limit                    Disabled
link-monitor-failure         Disabled
loopback                     Disabled
oam-remote-failure           Disabled
pagp-flap                    Disabled
port-mode-failure            Disabled
psecure-violation            Disabled
security-violation           Disabled
sfp-config-mismatch          Disabled
storm-control                Disabled
<span style="color: #ff0000;">udld Enabled</span>
unicast-flood                Disabled
vmps                         Disabled

Timer interval: 180 seconds

Interfaces that will be enabled at the next timeout:</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SDM Prefer</title>
		<link>https://www.expertcisco.fr/l2-bridging-switching/sdm-prefer</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Tue, 10 Apr 2012 06:50:29 +0000</pubDate>
				<category><![CDATA[L2 Bridging & Switching]]></category>
		<guid isPermaLink="false">http://www1.expertcisco.fr/?p=197</guid>

					<description><![CDATA[Switch Database Managment (SDM) SDM utilise des templates pour allouer les ressources mémoires des switch L2/L3 selon l’utilisation souhaitée : Default Access Routing VLANs SW1(config)#sdm prefer ? access multicast and qos/acl bias, drop unicast extended-match Using extended match for unicast &#8230; <a href="https://www.expertcisco.fr/l2-bridging-switching/sdm-prefer">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h3>Switch Database Managment (SDM)</h3>
<p>SDM utilise des templates pour allouer les ressources mémoires des switch L2/L3 selon l’utilisation souhaitée :</p>
<ul>
<li>Default</li>
<li>Access</li>
<li>Routing</li>
<li>VLANs</li>
</ul>
<pre>SW1(config)#<span style="color: #ff0000;">sdm prefer ?</span>
  access          multicast and qos/acl bias, drop unicast
  extended-match  Using extended match for unicast routing
  routing         unicast bias, drop qos/acl
  vlan            vlan bias, drop routing</pre>
<p>Le changement de profile SDM nécessite un <span style="text-decoration: underline;">reboot du switch !</span>!!</p>
<pre>SW1#<span style="color: #ff0000;">conf t</span>
SW1(config)#<span style="color: #ff0000;">sdm prefer routing</span>
Changes to the running SDM preferences have been stored, but cannot take effect
until the next reload.
Use 'show sdm prefer' to see what SDM preference is currently active.
SW1(config)#^Z
SW1#<span style="color: #ff0000;">wr</span>
Building configuration...
[OK]
SW1#<span style="color: #ff0000;">reload</span>
Proceed with reload? [confirm]</pre>
<p>Les différents template</p>
<pre>SW1#<span style="color: #ff0000;">show sdm prefer</span>
 The current template is <span style="color: #ff0000;">the default template.</span>
 The selected template optimizes the resources in
 the switch to support this level of features for
 8 routed interfaces and 1K VLANs.

 number of unicast mac addresses:   5K
 number of igmp groups:             1K
 number of qos aces:                1K
 number of security aces:           1K
 number of unicast routes:          8K
 number of multicast routes:        1K</pre>
<pre>SW1#<span style="color: #ff0000;">show sdm prefer</span>
 The current template is the <span style="color: #ff0000;">access template.</span>
 The selected template optimizes the resources in
 the switch to support this level of features for
 8 routed interfaces and 1K VLANs.

 number of unicast mac addresses:   1K
 number of igmp groups:             2K
 number of qos aces:                1K
 number of security aces:           2K
 number of unicast routes:          2K
 number of multicast routes:        2K</pre>
<pre>SW1#<span style="color: #ff0000;">show sdm prefer</span>
 The current template is the <span style="color: #ff0000;">routing template</span>.
 The selected template optimizes the resources in
 the switch to support this level of features for
 8 routed interfaces and 1K VLANs.

 number of unicast mac addresses:   5K
 number of igmp groups:             1K
 number of qos aces:                512
 number of security aces:           512
 number of unicast routes:          16K
 number of multicast routes:        1K</pre>
<pre>SW1#<span style="color: #ff0000;">show sdm prefer</span>
 The current template is the <span style="color: #ff0000;">vlan template</span>.
 The selected template optimizes the resources in
 the switch to support this level of features for
 8 routed interfaces and 1K VLANs.

 number of unicast mac addresses:   8K
 number of igmp groups:             1K
 number of qos aces:                1K
 number of security aces:           1K
 number of unicast routes:          0
 number of multicast routes:        0</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Routage</title>
		<link>https://www.expertcisco.fr/l2-bridging-switching/routage</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Sun, 01 Apr 2012 06:45:05 +0000</pubDate>
				<category><![CDATA[L2 Bridging & Switching]]></category>
		<guid isPermaLink="false">http://www1.expertcisco.fr/?p=195</guid>

					<description><![CDATA[Par défaut, les switch L2/L3 ne font pas de routage, même si plusieurs interfaces Vlan sont configurées : SW1#show ip interface brief &#124; inc Vlan Vlan1 10.200.200.200 YES manual up up Vlan10 10.10.10.1 YES manual up up Vlan20 20.20.20.1 YES &#8230; <a href="https://www.expertcisco.fr/l2-bridging-switching/routage">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Par défaut, les switch L2/L3 ne font pas de routage, même si plusieurs interfaces Vlan sont configurées :</p>
<pre>SW1#show ip interface brief | inc Vlan
Vlan1                  10.200.200.200  YES manual up                    up
Vlan10                 10.10.10.1      YES manual up                    up
Vlan20                 20.20.20.1      YES manual up                    up
Vlan30                 30.30.30.1      YES manual up                    up</pre>
<pre>SW1#<span style="color: #ff0000;">show ip route</span>
<span style="color: #ff0000;">Default gateway is not set</span>

Host               Gateway           Last Use    Total Uses  Interface
ICMP redirect cache is empty</pre>
<p>Une passerelle par défaut peut être configuré afin d’atteindre le switch à des fins administratifs</p>
<pre>SW1#conf t
SW1(config)#<span style="color: #ff0000;">ip default-gateway</span> 10.200.200.1</pre>
<pre>SW1#<span style="color: #ff0000;">show ip route</span>
Default gateway is 10.200.200.1

Host               Gateway           Last Use    Total Uses  Interface
ICMP redirect cache is empty</pre>
<h3></h3>
<h3>Activation du routage niveau 3</h3>
<pre>SW1#conf t
SW1(config)#<span style="color: #ff0000;">ip routing</span>
SW1(config)#^Z</pre>
<p style="padding-left: 30px;">vérification de la table de routage</p>
<pre>SW1#<span style="color: #ff0000;">show ip route</span>
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not
*Mar  1 02:41:51.271: %SYS-5-CONFIG_I: Configured from console by consoleset

     20.0.0.0/24 is subnetted, 1 subnets
C       20.20.20.0 is directly connected, Vlan20
     10.0.0.0/24 is subnetted, 2 subnets
C       10.200.200.0 is directly connected, Vlan1
C       10.10.10.0 is directly connected, Vlan10
     30.0.0.0/24 is subnetted, 1 subnets
C       30.30.30.0 is directly connected, Vlan30</pre>
<p>Dans ce cas « ip default gateway » n&rsquo;est plus pris en compte,<br />
« ip route » peut être utilisé pour spécifier une route statique</p>
<pre>SW1#conf t
SW1(config)#<span style="color: #ff0000;">ip route</span> 0.0.0.0 0.0.0.0 10.200.200.1</pre>
<pre>SW1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.200.200.1 to network 0.0.0.0

     20.0.0.0/24 is subnetted, 1 subnets
C       20.20.20.0 is directly connected, Vlan20
     10.0.0.0/24 is subnetted, 2 subnets
C       10.200.200.0 is directly connected, Vlan1
C       10.10.10.0 is directly connected, Vlan10
     30.0.0.0/24 is subnetted, 1 subnets
C       30.30.30.0 is directly connected, Vlan30
S*   0.0.0.0/0 [1/0] via 10.200.200.1</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>EtherChannels</title>
		<link>https://www.expertcisco.fr/l2-bridging-switching/etherchannels</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Wed, 21 Mar 2012 14:50:44 +0000</pubDate>
				<category><![CDATA[L2 Bridging & Switching]]></category>
		<guid isPermaLink="false">http://www1.expertcisco.fr/?p=29</guid>

					<description><![CDATA[Les liens EtherChannels ou ChannelGroup Les liens Etherchannels sont une agrégation d&#8217;un ensemble de liens physiques, dont voici les principales caractéristiques : Utilisation entre switch et/ou routeur Augmentation de la bande passante, jusqu&#8217;à 8 liens agrégé Gestion de la perte &#8230; <a href="https://www.expertcisco.fr/l2-bridging-switching/etherchannels">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h3><strong>Les liens EtherChannels ou ChannelGroup</strong></h3>
<p>Les liens Etherchannels sont une agrégation d&rsquo;un ensemble de liens physiques, dont voici les principales caractéristiques :</p>
<ul>
<li><span style="font-size: small;">Utilisation entre switch et/ou routeur</span></li>
<li><span style="font-size: small;">Augmentation de la bande passante, jusqu&rsquo;à 8 liens agrégé</span></li>
<li><span style="font-size: small;">Gestion de la perte d&rsquo;un lien sans interruption et perte de trafic</span></li>
<li><span style="font-size: small;">Support des protocoles de Spanning Tree; Le lien EtherChannel est vu comme un simple lien</span></li>
<li><span style="font-size: small;">le liens composant l&rsquo;EtherChannel doivent avoir les mêmes caractéristiques (speed, duplex, &#8230;.)</span></li>
<li><span style="font-size: small;">EtherChannel Layer 2 or Layer 3</span></li>
<li><span style="font-size: small;">Protocole d&rsquo;agrégation :</span>
<ul>
<li><span style="font-size: small;">PAgP : Port Aggregation Protocol ( protocole propriétaire CISCO )</span></li>
<li><span style="font-size: small;">LACP : Link Aggreagation Protocol ( Standard industriel IEEE 802.3ad )</span></li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;"><strong>5 modes de Configuration:</strong></span></p>
<ul>
<li><span style="font-size: small;">ON &#8211; Sans utilisation des protocoles de contrôle/gestion ( sans LACP, sans PAgP )</span></li>
<li><span style="font-size: small;">ACTIVE &#8211; Utilisation de LACP, l&rsquo;équipement négociera sur le liens EtherChannel l&rsquo;utilisation de LACP</span></li>
<li><span style="font-size: small;">PASSIVE &#8211; Utilisation de LACP, répond uniquement aux requêtes LACP reçues (minimise les échanges LACP)</span></li>
<li><span style="font-size: small;">AUTO &#8211; Utilisation de PAgP, répond uniquement aux requêtes PAgP reçues (minimise les échanges PAgP)</span></li>
<li><span style="font-size: small;">DESIRABLE &#8211; Utilisation de PAgP, mode actif, l&rsquo;équipement initialisera la négociation PAgP</span></li>
</ul>
<p><span style="text-decoration: underline;"><strong>Les configurations possibles:</strong></span></p>
<p>&nbsp;</p>
<table style="border-collapse: collapse; border-color: #888888; border-width: 1px; margin-left: 1px;" border="1" cellspacing="0">
<tbody>
<tr>
<td style="text-align: center; width: 122px; height: 50px; background-color: #cfe2f3;"><strong><strong> Switch 1</strong></strong></td>
<td style="text-align: center; width: 121px; height: 50px; background-color: #cfe2f3;"><strong><strong> Switch 2</strong></strong></td>
<td style="text-align: center; width: 163px; height: 50px; background-color: #cfe2f3;"><strong><strong> établissement du lien EtherChannel ?</strong></strong></td>
<td style="text-align: center; width: 155px; height: 50px; background-color: #cfe2f3;"><strong> Protocole</strong></td>
</tr>
<tr>
<td style="width: 122px; height: 21px;">ON</td>
<td style="width: 121px; height: 21px;">ON</td>
<td style="width: 163px; height: 21px; text-align: center;"><span style="color: #00ff00;">OUI </span></td>
<td style="width: 155px; height: 21px; text-align: center;">NONE</td>
</tr>
<tr>
<td style="width: 122px; height: 21px;">ON</td>
<td style="width: 121px; height: 21px;">Active</td>
<td style="width: 163px; height: 21px; text-align: center; color: #ff0000;">NON</td>
<td style="width: 155px; height: 21px; text-align: center;"></td>
</tr>
<tr>
<td style="width: 122px; height: 21px;">ON</td>
<td style="width: 121px; height: 21px;">Passive</td>
<td style="width: 163px; height: 21px; text-align: center; color: #ff0000;">NON</td>
<td style="width: 155px; height: 21px; text-align: center;"></td>
</tr>
<tr>
<td style="width: 122px; height: 21px;">ON</td>
<td style="width: 121px; height: 21px;">Auto</td>
<td style="width: 163px; height: 21px; text-align: center; color: #ff0000;">NON</td>
<td style="width: 155px; height: 21px; text-align: center;"></td>
</tr>
<tr>
<td style="width: 122px; height: 21px;">ON</td>
<td style="width: 121px; height: 21px;">Desirable</td>
<td style="width: 163px; height: 21px; text-align: center; color: #ff0000;">NON</td>
<td style="width: 155px; height: 21px; text-align: center;"></td>
</tr>
<tr>
<td style="width: 122px; height: 21px;">ACTIVE</td>
<td style="width: 121px; height: 21px;">ACTIVE</td>
<td style="width: 163px; height: 21px; text-align: center; color: #00ff00;">OUI</td>
<td style="width: 155px; height: 21px; text-align: center;">LACP</td>
</tr>
<tr>
<td style="width: 122px; height: 21px;">ACTIVE</td>
<td style="width: 121px; height: 21px;">PASSIVE</td>
<td style="width: 163px; height: 21px; text-align: center; color: #00ff00;">OUI</td>
<td style="width: 155px; height: 21px; text-align: center;">LACP</td>
</tr>
<tr>
<td style="width: 122px; height: 21px;">PASSIVE</td>
<td style="width: 121px; height: 21px;">PASSIVE</td>
<td style="width: 163px; height: 21px; text-align: center; color: #ff0000;">NON</td>
<td style="width: 155px; height: 21px; text-align: center;"></td>
</tr>
<tr>
<td style="width: 122px; height: 21px;">DESIRABLE</td>
<td style="width: 121px; height: 21px;">DESIRABLE</td>
<td style="width: 163px; height: 21px; text-align: center; color: #00ff00;">OUI</td>
<td style="width: 155px; height: 21px; text-align: center;">PAgP</td>
</tr>
<tr>
<td style="width: 122px; height: 21px;">DESIRABLE</td>
<td style="width: 121px; height: 21px;">AUTO</td>
<td style="width: 163px; height: 21px; text-align: center; color: #00ff00;">OUI</td>
<td style="width: 155px; height: 21px; text-align: center;">PAgp</td>
</tr>
<tr>
<td style="width: 122px; height: 21px;">AUTO</td>
<td style="width: 121px; height: 21px;">AUTO</td>
<td style="width: 163px; height: 21px; text-align: center;"><span style="color: #ff0000;">NON </span></td>
<td style="width: 155px; height: 21px; text-align: center;"></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>Configuration d&rsquo;un EtherChannel composé de 3 liens physiques<a href="http://test1.fred-j.org/wp-content/uploads/2012/12/Switch.png" title="" rel="lightbox29"><img class="alignright  wp-image-163" title="Switch" src="http://test1.fred-j.org/wp-content/uploads/2012/12/Switch.png" alt="" width="301" height="180" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">1. Configuration par défaut des interfaces</p>
<pre>SW1#conf t
SW1(config)#default int range fa0/<span style="color: #ff0000;">18-20</span></pre>
<p style="padding-left: 30px;">2. Regroupement des interfaces</p>
<pre>SW1(config)#int range fa0/18-20
SW1(config-if-range)#channel-group 10 mode <span style="color: #ff0000;">active</span>
SW1(config-if-range)#no shutdown</pre>
<p style="padding-left: 30px;">3. Configuration de l&rsquo;interface EtherChannel</p>
<pre>SW1(config)#<span style="color: #ff0000;">int po10</span>
SW1(config-if)#switchport trunk encapsulation dot1q
SW1(config-if)#switchport trunk allowed vlan 100
SW1(config-if)#switchport mode trunk
SW1(config-if)#^Z</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications</strong></span><br />
<em>plusieurs méthodes permettent de valider la configuration :</em></p>
<pre>SW1#<span style="color: #ff0000;">show run int po10</span>
!
interface Port-channel10
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 100
 switchport mode trunk
end

SW1#<span style="color: #ff0000;">show run int fa0/18</span>
!
interface FastEthernet0/18
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 100
 switchport mode trunk
 shutdown
 channel-group 10 mode active
end</pre>
<pre>SW1#<span style="color: #ff0000;">show interfaces status | inc Po10</span>
Po10                         connected    trunk      a-full  a-100</pre>
<pre>SW1#<span style="color: #ff0000;">show interfaces trunk</span>
Port        Mode             Encapsulation  Status        Native vlan
Po10        on               802.1q         trunking      1</pre>
<pre>SW1#<span style="color: #ff0000;">show etherchannel summary</span>
Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
10     Po10(SU)        LACP      Fa0/18(P)   Fa0/19(P)   Fa0/20(P)</pre>
<pre>SW1#<span style="color: #ff0000;">show interfaces fa0/20 switchport | inc Operational Mode</span>
Operational Mode: trunk (member of bundle Po10)</pre>
<h3></h3>
<h3>LACP ou PAgP ?</h3>
<p>3 liens EtherCannel configurés avec différents modes :</p>
<pre>SW1#conf t
SW1(config)#int range <span style="color: #ff0000;">fa0/18-20</span>
SW1(config-if-range)#channel-group 10 <span style="color: #ff0000;">mode active</span>
SW1(config)#
SW1(config)#int range fa0/21-22
SW1(config-if-range)#channel-group 11 <span style="color: #ff0000;">mode desirable</span>
Creating a port-channel interface Port-channel 11
SW1(config)#
SW1(config)#int range gi0/1-2
SW1(config-if-range)#channel-group 12 <span style="color: #ff0000;">mode on</span>
Creating a port-channel interface Port-channel 12</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérification du protocole utilisé</strong></span></p>
<pre>SW1#<span style="color: #ff0000;">show etherchannel protocol</span>
                Channel-group listing:
                ----------------------
Group: 10
----------
Protocol:  <span style="color: #ff0000;">LACP</span>

Group: 11
----------
Protocol:  <span style="color: #ff0000;">PAgP</span>

Group: 12
----------
Protocol:   -  (<span style="color: #ff0000;">Mode ON</span>)</pre>
<pre>SW1#<span style="color: #ff0000;">show etherchannel summary</span>
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator

        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port

Number of channel-groups in use: 3
Number of aggregators:           3

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
10     Po10(SU)        <span style="color: #ff0000;">LACP </span> Fa0/18(P)   Fa0/19(P)   Fa0/20(P)
11     Po11(SU)        <span style="color: #ff0000;">PAgP </span> Fa0/21(P)   Fa0/22(P)
12     Po12(SU)         -        Gi0/1(P)    Gi0/2(P)</pre>
<h3></h3>
<h3>Méthode de load balancing</h3>
<p>La configuration est globale au switch, et est donc appliquée à tous les liens EtherChannel<br />
Différences dans le choix de la méthode de loadbalancing selon de switch (3550 ou 3560)</p>
<pre>SW1#<span style="color: #ff0000;">show etherchannel load-balance</span>
EtherChannel Load-Balancing Configuration:
        <span style="color: #ff0000;">src-mac</span>

EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source MAC address
  IPv4: Source MAC address</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Configuration sur un 3550 :</strong></span></p>
<pre>SW1(config)#<span style="color: #ff0000;">port-channel load-balance ?</span>
  dst-mac  Dst Mac Addr
  src-mac  Src Mac Addr</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Configuration sur un 3560 :</strong></span></p>
<pre>SW1(config)#<span style="color: #ff0000;">port-channel load-balance ?</span>
  dst-ip       Dst Ip  Addr
  dst-mac      Dst Mac Addr
  src-dst-ip   Src XOR Dst IP Addr
  src-dst-mac  Src XOR Dst Mac Addr
  src-ip       Src IP  Addr
  src-mac      Src Mac Addr</pre>
<h2></h2>
<h2>EtherChannel Layer 3</h2>
<p>Configuration d&rsquo;un lien Etherchannel de niveau 3 entre 2 switch</p>
<pre><span style="color: #ff0000;">SW1</span>#conf t
SW1(config)#default int range gi0/1-2
SW1(config)#int range gi0/1-2
SW1(config-if-range)#no shutdown
SW1(config-if-range)#<span style="color: #ff0000;">no switchport</span>
SW1(config-if-range)#channel-group 20 mode on
Creating a port-channel interface Port-channel 20

SW1(config)#int po20
SW1(config-if)#ip address 10.0.0.1 255.255.255.0</pre>
<pre><span style="color: #ff0000;">SW2</span>#conf t
SW2(config)#default int range gi0/1-2
SW2(config)#interface range gi0/1-2
SW2(config-if-range)#no shutdown
SW2(config-if-range)#<span style="color: #ff0000;">no switchport</span>
SW2(config-if-range)#channel-group 20 mode on
Creating a port-channel interface Port-channel 20

SW2(config)#int po2
SW2(config-if)#ip address 10.0.0.2 255.255.255.0</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications</strong></span></p>
<pre>SW1#<span style="color: #ff0000;">show etherchannel summary</span>
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        <span style="color: #ff0000;">R</span> - Layer3      <strong><span style="color: #00ffff;">S </span></strong>- Layer2
        U - in use      f - failed to allocate aggregator

        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port

Number of channel-groups in use: 3
Number of aggregators:           3

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------
10     Po10(<strong><span style="color: #00ffff;">SU</span></strong>)        LACP      Fa0/18(P)   Fa0/19(P)   Fa0/20(P)
11     Po11(<strong><span style="color: #00ffff;">SU</span></strong>)        PAgP      Fa0/21(P)   Fa0/22(P)
20     Po20(<span style="color: #ff0000;">RU</span>)         -        Gi0/1(P)    Gi0/2(P)</pre>
<pre>SW1#<span style="color: #ff0000;">show ip interface brief</span>

GigabitEthernet0/1     unassigned      YES unset  up                    up
GigabitEthernet0/2     unassigned      YES unset  up                    up
Port-channel20         10.0.0.1        YES manual up                    up</pre>
<pre>SW1#<span style="color: #ff0000;">ping 10.0.0.2 source 10.0.0.1</span>

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
Packet sent with a source address of 10.0.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms</pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
