Connectrix serie MDS (Cisco): Cómo crear un canal de puerto mediante la CLI
Summary: Cómo crear un canal de puerto en un switch Cisco mediante la CLI.
Instructions
Cómo crear un canal de puerto en un switch Cisco.
Paso 1: En switch1:
- Cree el canal de puerto.
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 agregado al canal de puerto 2 y deshabilitado.
Realice la misma operación en el switch en el otro extremo del canal de puerto y, a continuación, ejecute "no apagar" en ambos extremos para activarlos.switch1(config-if)# switchport description "To switch2 PortChannel2"
- Habilite el enlace troncal (TE) y establezca la lista de VSAN permitida en el 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
Paso 2: En el switch 2:
- Cree el canal de puerto en el switch2, incluido el ajuste de la descripción.
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 agregado al canal de puerto 2 y deshabilitado.
Realice la misma operación en el switch en el otro extremo del canal de puerto y, a continuación, ejecute "no apagar" en ambos extremos para activarlos.switch2(config-if) # switchport description "To switch1 PortChannel2"
- Habilite el enlace troncal (TE) y establezca la lista de VSAN permitida en el 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
Paso 3: Habilite las interfaces para abrir el canal de puerto:
- Switch 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 - Switch 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
Paso 4: Verifique que el canal del puerto haya aparecido:
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
Los canales de puerto permiten la agregación de varios enlaces FC o FCIP en un único ISL FC o FCIP tolerante a fallas de mayor velocidad. Tiene las mismas opciones de configuración que un FC de enlace único o un ISL FCIP en la medida en que se realiza la configuración.
Para obtener más información, consulte el documento de Cisco para configurar canales de puerto.
Consulte este video publicado: