Connectrix - MDS serie Cisco: Een poortkanaal maken met CLI
Summary: Een poortkanaal maken op een Cisco-switch met behulp van CLI.
Instructions
Een poortkanaal maken op een Cisco-switch.
Stap 1: Op switch1:
- Maak het poortkanaal.
switch1# config terminal
Enter configuration commands, one per line, ending with CNTL/Z.
switch1(config)# interface fc1/1, fc2/1
switch1(config-if)# channel-group 2
fc1/1 fc2/1 toegevoegd aan poortkanaal 2 en uitgeschakeld.
Voer dezelfde bewerking uit op de switch aan de andere kant van het poortkanaal en voer vervolgens "no shutdown" uit aan beide uiteinden om ze omhoog te brengen.switch1(config-if)# switchport description "To switch2 PortChannel2"
- Schakel trunking (TE) in en stel de VSAN-lijst met toegestane bestanden in op switch1.
switch1# config terminal
switch1(config)# int port-channel 2
switch1(config-if)# switchport trunk mode on
switch1(config-if)# switchport trunk allowed vsan 1
switch1(config-if)# switchport trunk allowed vsan add 10
Stap 2: Op switch2:
- Maak het poortkanaal op switch2, inclusief het instellen van de beschrijving.
switch2# config terminal
Enter configuration commands, one per line, ending with CNTL/Z.
switch2(config)# interface fc1/1, fc2/1
switch2(config-if)# channel-group 2
fc1/1 fc2/1 toegevoegd aan poortkanaal 2 en uitgeschakeld.
Voer dezelfde bewerking uit op de switch aan de andere kant van het poortkanaal en voer vervolgens "no shutdown" uit aan beide uiteinden om ze omhoog te brengen.switch2(config-if) # switchport description "To switch1 PortChannel2"
- Schakel trunking (TE) in en stel de VSAN-lijst met toegestane bestanden in op switch1.
switch2# config terminal
switch2(config)# int port-channel 2
switch2(config-if)# switchport trunk mode on
switch2(config-if)# switchport trunk allowed vsan 1
switch2(config-if)# switchport trunk allowed vsan add 10
Stap 3: Schakel de interfaces in om het poortkanaal op te roepen:
- Schakelaar 1:
switch1# config terminal
Enter configuration commands, one per line, ending with CNTL/Z.
switch1(config)# interface fc1/1, fc2/1
switch1(config-if)# no shut - Schakelaar 2:
switch2# config terminal
Enter configuration commands, one per line, ending with CNTL/Z.
switch2(config)# interface fc1/1, fc2/1
switch2(config-if)# no shut
Stap 4: Controleer of het poortkanaal is weergegeven:
switch1# show interface port-channel 2
port-channel 2 is trunking
Port description is To switch2 PortChannel2
Hardware is Fibre Channel
Port WWN is 24:02:00:0c:85:e9:d2:c0
Admin port mode is E, trunk mode is on
Port mode is TE
Port vsan is 1
Speed is 4 Gbps
Trunk vsans (admin allowed and active) (1,10)Trunk vsans (up) (1,10)Trunk vsans (isolated) ()Trunk vsans (initializing) ()
5 minutes input rate 64 bits/sec, 8 bytes/sec, 0 frames/sec
5 minutes output rate 56 bits/sec, 7 bytes/sec, 0 frames/sec 78296342 frames input, 72311141128 bytes 0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
56299070 frames output, 26061293700 bytes
0 discards, 0 errors
0 input OLS, 2 LRR, 0 NOS, 0 loop inits
4 output OLS, 2 LRR, 0 NOS, 0 loop inits
Member[1] : fc1/2
Member[2] : fc2/1
Additional Information
Poortkanalen maken het mogelijk om meerdere FC- of FCIP-koppelingen samen te voegen tot één fouttolerante FC of FCIP ISL met hogere snelheid. Het heeft dezelfde configuratie-opties als een single link FC of FCIP ISL voor zover de configuratie is gedaan.
Zie voor meer informatie Cisco's document voor het configureren van poortkanalen.
Raadpleeg deze gepubliceerde video: