Connectrix - MDS Series Cisco: CLI를 사용하여 포트 채널을 생성하는 방법
Summary: CLI를 사용하여 Cisco 스위치에서 포트 채널을 생성하는 방법
Instructions
Cisco 스위치에서 포트 채널을 생성하는 방법
1단계: 스위치 1:
- 포트 채널을 생성합니다.
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이 포트 채널 2에 추가되고 비활성화되었습니다.
포트 채널의 다른 쪽 끝에 있는 스위치에 대해 동일한 작업을 수행한 다음 양쪽 끝에서 "no shutdown"을 수행하여 스위치를 가동합니다.switch1(config-if)# switchport description "To switch2 PortChannel2"
- TE(Trunking)를 활성화하고 Switch1에서 VSAN 허용 목록을 설정합니다.
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
2단계: 스위치 2:
- 설명 설정을 포함하여 Switch2에 포트 채널을 생성합니다.
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이 포트 채널 2에 추가되고 비활성화되었습니다.
포트 채널의 다른 쪽 끝에 있는 스위치에 대해 동일한 작업을 수행한 다음 양쪽 끝에서 "no shutdown"을 수행하여 스위치를 가동합니다.switch2(config-if) # switchport description "To switch1 PortChannel2"
- TE(Trunking)를 활성화하고 Switch1에서 VSAN 허용 목록을 설정합니다.
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
3단계: 인터페이스가 포트 채널을 불러오도록 합니다.
- 스위치 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:
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
4단계: 포트 채널이 작동하는지 확인합니다.
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
포트 채널을 사용하면 여러 FC 또는 FCIP 링크를 더 빠른 속도의 내결함성이 있는 단일 FC 또는 FCIP ISL로 집계할 수 있습니다. 구성이 완료되면 단일 링크 FC 또는 FCIP ISL과 동일한 구성 옵션이 있습니다.
자세한 내용은 포트 채널 구성에 대한 Cisco 문서를 참조하십시오.
게시된 이 비디오를 참조하십시오.