Unternehmensberatung Lemberg
Portchannel

Test : Portchannel zw. Extreme Summit 48si und Cisco 3750

Ausgangslage / Anforderung :
Für ein campusweites L2-Netzwerk werden L2-Switche der Hersteller Cisco und Extreme-Network eingesetzt. Es soll Host A mit Host C und Host B mit Host D kommunizieren können, eine Kommunikation zwischen den Vlans darf nicht erfolgen. Zwecks Bandbreitenerweiterung sollen einzelne Ethernetports aggregiert werden.

portchanneltest

Equipment :
1 Stck L2-fähiger Switch der Firma Extreme-Networks und ein L2-fähiger Switch der Firma Cisco. Diese sind miteinander physikalisch redundant verbunden, die Hosts (hier z.B. dedizierte Router) sind logisch innerhalb ihrer Vlans konnektiert.

Erwartetes Ergebnis :
Host A soll mit Host C und Host B mit Host D kommunizieren können, eine Kommunikation zwischen den Vlans findet nicht statt. Die Bandbreite zwischen den Switchen soll aggregiert sein, es findet eine L2-Kommunikation statt.

Konfigurationen :
Zuerst wurde der Extreme-Switch konfiguriert. Port 47 und 48 wurden als Trunk-Port ausgewählt, auf dem dann (in diesem Fall) beide Vlans konfiguriert werden. Die VLAN -ID’s korrespondieren zu den Vlan-ID’s auf dem Cisco-Switch. Zu beachten ist hier (im Gegensatz zu den Access-Ports 1 und 2) das Keyword “tagged”
.
Die beiden Trunkports werden nun durch den Befehl “enable sharing” zu einem Bundle zusammengefaßt. Der Sharing-Algorithmus kann angegeben werden (port-based, address-based, round-robin). Die Sharing (Bundle)-Nummer sollte eine der Portnummern sein (hier Port 47).

#
# Config information for VLAN VLAN_A.
configure vlan "VLAN_A" tag 10     # VLAN-ID=0xa Global Tag 3
configure vlan "VLAN_A" add port 1 untagged
configure vlan "VLAN_A" add port 47 tagged
configure vlan "VLAN_A" add port 48 tagged
#
# Config information for VLAN VLAN_B.
configure vlan "VLAN_B" tag 20     # VLAN-ID=0x14  Global Tag 4
configure vlan "VLAN_B" add port 2 untagged
configure vlan "VLAN_B" add port 47 tagged
configure vlan "VLAN_B" add port 48 tagged
#
# Load Sharing Configuration
enable sharing 47 grouping 47,48 algorithm port-based
configure lacp keep-alive 10
enable lbdetect port 47
enable lbdetect port 48
#

Konfiguration Extreme Summit 48SI

Auf dem Cisco-Switch wurden die Ports Gi1/0/5 und Gi1/0/7 durch den Befehl “channel-group 1” zu einem Portchannel zusammengefaßt. Beide Interfaces wurden dann, wie auch das inzwischen automatisch angelegte Portchannel- Interface mit einem Dot1q-Trunk versehen.

!
interface Port-channel1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/5
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 1 mode on
!
interface GigabitEthernet1/0/7
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 1 mode on
 

Konfiguration Cisco 3750

Erhaltenes Ergebnis :
Der Portchannel wurde auf beiden Seiten etabliert (siehe outputs unten). Auch das Entfernen und spätere Hinzufügen eines physikalischen Links bereitete keine Schwierigkeiten, der Channel blieb stabil.


* Summit48si:37 # show ports sharing
Load Sharing Monitor
Config   Current    Ld Share    Ld Share  Link     Link
Master   Master     Type        Group     Status   Ups
==========================================================
  47       47          p          47          A     1
                       p          48          A     2

Link Status: (A) Active, (D) Disabled, (LB) Loopback, (ND) Not Distributing
             (NP) Not Present, (R) Ready

Ld Share Type: (a) address based, (p) port based, (r) round robin
               (dy) dynamic

* Summit48si:38 #

Output Summit 48SI

Switch#sh int port 1
Port-channel1 is up, line protocol is up (connected)
  Hardware is EtherChannel, address is 0012.7fb5.6e07 (bia 0012.7fb5.6e07)
  MTU 1500 bytes, BW 200000 Kbit, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Full-duplex, 100Mb/s, link type is auto, media type is unknown
  input flow-control is off, output flow-control is unsupported
  Members in this channel: Gi1/0/5 Gi1/0/7
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:00, output hang never
  Last clearing of "show interface" counters 00:00:08
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 2000 bits/sec, 2 packets/sec
  5 minute output rate 2000 bits/sec, 3 packets/sec
     21 packets input, 2896 bytes, 0 no buffer
     Received 13 broadcasts (0 multicast)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 15 multicast, 0 pause input
     0 input packets with dribble condition detected
     27 packets output, 1970 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out
Switch#sh int port 1
Port-channel1 is up, line protocol is up (connected)
  Hardware is EtherChannel, address is 0012.7fb5.6e07 (bia 0012.7fb5.6e07)
  MTU 1500 bytes, BW 200000 Kbit, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Full-duplex, 100Mb/s, link type is auto, media type is unknown
  input flow-control is off, output flow-control is unsupported
  Members in this channel: Gi1/0/5 Gi1/0/7
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:01, output hang never
  Last clearing of "show interface" counters 00:00:14
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 2000 bits/sec, 2 packets/sec
  5 minute output rate 1000 bits/sec, 2 packets/sec
     40 packets input, 5454 bytes, 0 no buffer
     Received 25 broadcasts (0 multicast)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 25 multicast, 0 pause input
     0 input packets with dribble condition detected
     47 packets output, 3418 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out
Switch#sh int gi 1/0/5
GigabitEthernet1/0/5 is up, line protocol is up (connected)
  Hardware is Gigabit Ethernet, address is 0012.7fb5.6e05 (bia 0012.7fb5.6e05)
  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s, media type is 10/100/1000BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters 00:00:26
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 1000 bits/sec, 1 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     50 packets input, 5158 bytes, 0 no buffer
     Received 23 broadcasts (0 multicast)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 23 multicast, 0 pause input
     0 input packets with dribble condition detected
     31 packets output, 2470 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out
Switch#sh int gi 1/0/7
GigabitEthernet1/0/7 is up, line protocol is up (connected)
  Hardware is Gigabit Ethernet, address is 0012.7fb5.6e07 (bia 0012.7fb5.6e07)
  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s, media type is 10/100/1000BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:08, output hang never
  Last clearing of "show interface" counters 00:00:33
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 1000 bits/sec, 1 packets/sec
  5 minute output rate 1000 bits/sec, 2 packets/sec
     28 packets input, 5974 bytes, 0 no buffer
     Received 27 broadcasts (0 multicast)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 27 multicast, 0 pause input
     0 input packets with dribble condition detected
     72 packets output, 4948 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out
Switch#


-------------------------------------------------------------------------------



Switch#sh etherchannel det
               Channel-group listing:
               ----------------------

Group: 1
----------
Group state = L2
Ports: 2   Maxports = 8
Port-channels: 1 Max Port-channels = 1
Protocol:    -
               Ports in the group:
               -------------------
Port: Gi1/0/5
------------

Port state   = Up Mstr In-Bndl
Channel group = 1          Mode = On/FEC          Gcchange = -
Port-channel = Po1        GC   =   -             Pseudo port-channel = Po1
Port index   = 0          Load = 0x00            Protocol =    -

Age of the port in the current state: 00d:00h:03m:13s

Port: Gi1/0/7
------------

Port state   = Up Mstr In-Bndl
Channel group = 1          Mode = On/FEC          Gcchange = -
Port-channel = Po1        GC   =   -             Pseudo port-channel = Po1
Port index   = 0          Load = 0x00            Protocol =    -

Age of the port in the current state: 00d:00h:23m:23s

               Port-channels in the group:
               ---------------------------

Port-channel: Po1
------------

Age of the Port-channel  = 00d:00h:23m:23s
Logical slot/port  = 10/1         Number of ports = 2
GC                 = 0x00000000     HotStandBy port = null
Port state         = Port-channel Ag-Inuse
Protocol           =    -

Ports in the Port-channel:

Index  Load   Port    EC state       No of bits
------+------+------+------------------+-----------
  0    00     Gi1/0/7 On/FEC             0
  0    00     Gi1/0/5 On/FEC             0

Time since last port bundled:    00d:00h:03m:15s   Gi1/0/5
Time since last port Un-bundled: 00d:00h:04m:35s   Gi1/0/5

Switch#

Output Cisco 3750

Karriere   Kontakt   Impressum