Connectrix – MDS-sarja Cisco: Porttikanavan luominen komentoriviliittymän avulla

Summary: Porttikanavan luominen Cisco-kytkimeen komentoriviliittymän avulla.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Porttikanavan luominen Cisco-kytkimessä.
 

Vaihe 1: Kytkimessä 1:

  1. Luo porttikanava.

    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 Lisätty porttikanavaan 2 ja poistettu käytöstä.

    Tee sama toimenpide porttikanavan toisessa päässä olevalle kytkimelle ja tuo ne ylös tekemällä "ei sammutusta" molemmista päistä.

    switch1(config-if)# switchport description "To switch2 PortChannel2"
     
  2. Ota kanavat käyttöön (TE) ja määritä VSANin sallittujen luettelo kytkimessä 1.

    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

 

Vaihe 2: Kytkimessä 2:

  1. Luo kytkimen 2 porttikanava, mukaan lukien kuvauksen määrittäminen.

    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 Lisätty porttikanavaan 2 ja poistettu käytöstä.

    Tee sama toimenpide porttikanavan toisessa päässä olevalle kytkimelle ja tuo ne ylös tekemällä "ei sammutusta" molemmista päistä.

    switch2(config-if) # switchport description "To switch1 PortChannel2"
     
  2. Ota kanavat käyttöön (TE) ja määritä VSANin sallittujen luettelo kytkimessä 1.

    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


Vaihe 3: Ota liittymät käyttöön porttikanavan avaamiseksi:

  1. Kytkin 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

     
  2. Kytkin 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

 

Vaihe 4: Varmista, että porttikanava on avautunut:

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

Porttikanavat mahdollistavat useiden FC- tai FCIP-linkkien yhdistämisen yhdeksi, nopeammaksi, vikasietoiseksi FC- tai FCIP ISL -laitteeksi. Sillä on samat määritysvaihtoehdot kuin yhden linkin FC: llä tai FCIP ISL: llä, mitä tulee konfigurointiin.


Lisätietoja on porttikanavien määrittämistä koskevassa Ciscon asiakirjassa.

Katso tämä julkaistu video:

Affected Products

Connectrix MDS-Series Hardware

Products

Connectrix
Article Properties
Article Number: 000011183
Article Type: How To
Last Modified: 22 May 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.