이 문서에서는 Catalyst OS(CatOS) 사용자를 Cisco IOS® System Software에서 사용하는 레이어 2(L2) 구성에 대해 설명합니다. 이 문서에서는 포트/인터페이스, 트렁크, 채널, VLAN, VTP(Virtual Trunk Protocol)와 같은 명령 및 개념에 대한 CatOS와 Cisco IOS 소프트웨어의 유사점과 차이점을 다룹니다. 이 문서에서는 가장 널리 사용되는 명령에 대한 빠른 참조를 위해 CatOS/Cisco IOS Software 명령 매트릭스를 제공합니다.
이 문서에 대한 특정 요건이 없습니다.
이 문서는 특정 소프트웨어 및 하드웨어 버전으로 한정되지 않습니다.
문서 규칙에 대한 자세한 내용은 Cisco 기술 팁 표기 규칙을 참고하십시오.
Supervisor Engine의 CatOS 및 MSFC의 Cisco IOS 소프트웨어(하이브리드): Catalyst 6500/6000 Switch에서 CatOS를 시스템 소프트웨어로 사용하여 수퍼바이저 엔진을 실행할 수 있습니다. MSFC 옵션이 설치된 경우 별도의 Cisco IOS Software 이미지를 사용하여 MSFC를 실행합니다.
수퍼바이저 엔진 및 MSFC 모두에 Cisco IOS Software(네이티브): Catalyst 6500/6000 스위치에서 단일 Cisco IOS Software 이미지를 시스템 소프트웨어로 사용하여 수퍼바이저 엔진과 MSFC 둘 다 실행할 수 있습니다.
참고: 자세한 내용은 Cisco Catalyst 6500 Series Switch용 Cisco Catalyst 및 Cisco IOS 운영 체제 비교 문서를 참조하십시오.
Catalyst 6500/6000 스위치에는 두 가지 유형의 소프트웨어 중 하나를 실행할 수 있는 옵션이 있습니다.
CatOS: 이 구현은 RSM(Route Switch Module)이 있는 Catalyst 5500/5000 Series 스위치와 논리적으로 동일합니다. CatOS 모드에서 실행하면 두 개의 소프트웨어 이미지가 있습니다. MSFC는 기존 Cisco IOS Software 이미지를 실행하고 Supervisor Engine은 기존 CatOS를 실행합니다. 각 디바이스에는 고유한 컨피그레이션 파일이 있습니다.
Cisco IOS 소프트웨어: 이 구현에서는 "라우터와 유사한" 단일 인터페이스를 제공합니다. RP(Route Processor)라는 이름을 가진 라우터와 SP(Switch Processor)라는 이름을 가진 스위치 수퍼바이저 엔진 간의 구분은 사용자에게 투명합니다. 단일 콘솔 연결, 컨피그레이션 파일 및 소프트웨어 이미지가 있습니다.
참고: MSFC1을 올바르게 로드하려면 항상 MSFC1 부팅 이미지가 필요합니다. 부트 이미지는 하드웨어 지원에 필요하며, 부트 이미지는 응급 복구 상황에 대한 백업을 제공합니다. 소프트웨어 이미지는 실제로 라우터의 전체 기능을 위해 필요한 소프트웨어를 로드합니다.
MSFC 외에 PFC(Policy Feature Card)도 필요합니다.
CatOS에서는 스위치 수퍼바이저 엔진과 MSFC가 별도의 소프트웨어 이미지를 실행합니다.
Supervisor Engine을 참조하면 두 가지 이미지 유형이 있습니다. 하나는 Supervisor Engine Is용 이고 다른 하나는 Supervisor Engine II용 입니다. cat6000-sup 접두사 뒤에 오는 숫자는 이미지의 차이를 나타냅니다.
2가 cat6000-sup 접두사 뒤에 오는 경우 이미지는 Catalyst Supervisor Engine II에 대한 것입니다. 720이 cat600-sup 접두사 뒤에 오는 경우 해당 이미지는 Catalyst Supervisor Engine 720에 대한 이미지입니다. 2 또는 720이 cat6000-sup 접두사 뒤에 오는 경우 해당 이미지는 Catalyst Supervisor Engine I에 대한 이미지입니다. 따라서 예를 들어 이름이 "cat6000-sup.6-2-3.bin"인 파일은 Supervisor Engine I용이며 이름이 "cat6000-sup2.6-2-3.bin"인 파일은 Supervisor Engine II용입니다. 이러한 이미지를 다운로드하려면 소프트웨어 다운로드 - Catalyst 6500/6000 CatOS 시스템 소프트웨어(등록된 고객만 해당)를 참조하십시오.
MSFC1, MSFC2 또는 MSFC3에서 Cisco IOS Software와 함께 CatOS를 실행할 경우 각 MSFC 유형은 고유한 개별 이미지를 실행합니다. 이제 Download Software Area(등록된 고객만 해당)에 이러한 이미지가 포함됩니다. MSFC1, MSFC2 또는 MSFC3에 대한 이미지를 다운로드하려면 Cisco Software Download(Cisco 소프트웨어 다운로드) 페이지로 이동하십시오.
Cisco IOS System Software는 Supervisor Engine과 MSFC 부속 카드 모두에 대해 결합된 소프트웨어 이미지를 실행합니다. 사용자의 경우 Flash에 로드할 이미지는 하나뿐입니다. Supervisor Engine 및 MSFC 설치 유형에서는 각 이미지를 분류합니다. 소프트웨어 다운로드 영역의 이미지 카테고리(등록된 고객만 해당):
Supervisor Engine 720/MSFC3(CAT6000-SUP720/MSFC3)
Supervisor Engine 2/MSFC2(CAT6000-SUP2/MSFC2)
Supervisor Engine 1/MSFC2(CAT6000-SUP1/MSFC2)
Supervisor Engine 1/MSFC1(CAT6000-SUP1/MSFC1)
Cisco IOS System Software 이미지를 다운로드하려면 Software Download - Catalyst 6500/6000 Cisco IOS System Software(등록된 고객만 해당)를 참조하십시오.
참고: Supervisor Engine II는 MSFC2 도터 카드를 사용해야 합니다. supervisor Engine II는 원래 MSFC 도터 카드를 사용할 수 없습니다.
현재 실행 중인 이미지를 확인하려면 show version 명령을 실행합니다.
참고: 하이브리드 모드에서 각 모듈에서 show version 명령을 실행하여 실행 중인 현재 이미지를 확인합니다.
예를 들어, 여기서 show version 명령은 Supervisor Engine에서 CatOS를 실행하고 MSFC에서 Cisco IOS Software를 실행하는 MSFC2가 포함된 Catalyst 6500을 나타냅니다.
Hybrid_Cat6500>(enable) show version WS-C6509 Software, Version NmpSW: 7.6(4) Copyright (c) 1995-2003 by Cisco Systems NMP S/W compiled on Nov 4 2003, 19:22:09 System Bootstrap Version: 5.3(1) System Boot Image File is 'bootflash:cat6000-supk8.7-6-4.bin' System Configuration register is 0x2102 Hardware Version: 2.0 Model: WS-C6509 Serial #: SCA043500S2 PS1 Module: WS-CAC-1300W Serial #: SON04340836 PS2 Module: WS-CAC-1300W Serial #: SNI05470791 Mod Port Model Serial # Versions --- ---- ------------------- ----------- -------------------------------------- 1 2 WS-X6K-SUP1A-2GE SAD04500AFW Hw : 7.4 Fw : 5.3(2) Fw1: 5.4(2) Sw : 7.6(4) Sw1: 7.6(4) WS-X6K-SUP1A-2GE SAD04500AFW Hw : 7.4 Sw : 2 2 WS-X6K-SUP1A-2GE SAL0549F477 Hw : 7.1 Fw : 5.3(1) Fw1: 5.4(2) Sw : 7.6(4) Sw1: 7.6(4) WS-X6K-SUP1A-2GE SAL0549F477 Hw : 7.1 Sw : 3 48 WS-X6148-GE-TX SAD0746052K Hw : 4.0 Fw : 7.2(1) Sw : 7.6(4) 4 48 WS-X6248-RJ-45 SAD04281CZY Hw : 1.2 Fw : 5.1(1)CSX Sw : 7.6(4) 5 48 WS-X6248-RJ-45 SAD042608NZ Hw : 1.2 Fw : 5.1(1)CSX Sw : 7.6(4) 6 48 WS-X6248-RJ-45 SAD04170CG9 Hw : 1.2 Fw : 5.1(1)CSX Sw : 7.6(4) 7 48 WS-X6248-RJ-45 SAD04270N9U Hw : 1.2 Fw : 5.1(1)CSX Sw : 7.6(4) 15 1 WS-F6K-MSFC2 SAD04520C65 Hw : 1.7 Fw : 12.1(19)E1 Sw : 12.1(19)E1 16 1 WS-F6K-MSFC2 SAL0548F2TE Hw : 2.0 Fw : 12.1(19)E1 Sw : 12.1(19)E1 DRAM FLASH NVRAM Module Total Used Free Total Used Free Total Used Free ------ ------- ------- ------- ------- ------- ------- ----- ----- ----- 2 130944K 50017K 80927K 16384K 10857K 5527K 512K 389K 123K Uptime is 142 days, 4 hours, 27 minutes
기능 | CatOS | Cisco IOS Software |
---|---|---|
컨피그레이션 파일 | 2개의 컨피그레이션 파일: 하나는 수퍼바이저 엔진(NMP1)용, 다른 하나는 MSFC용 | 하나의 컨피그레이션 파일 |
소프트웨어 이미지 | 2개의 이미지: 하나는 수퍼바이저 엔진용, 다른 하나는 MSFC용 | 소프트웨어 이미지 1개, 또한 MSFC가 제대로 로드되도록 하려면 MSFC 부팅 이미지가 필요합니다 |
기본 포트 모드 | 모든 포트는 L2 스위치 포트입니다 | 모든 포트는 L32 라우팅 포트(인터페이스) |
기본 포트 상태 | 모든 포트가 활성화됨 | 모든 포트(인터페이스)가 종료 상태입니다. |
구성 명령 형식 | command 키워드 set가 각 configuration 명령 앞에 옵니다. | 전역 및 인터페이스 레벨 명령이 포함된 Cisco IOS 명령 구조 |
컨피그레이션 모드 | 컨피그레이션 모드 없음(set, clear 및 show 명령) | 이 명령은 터미널 및 VLAN 데이터베이스를 구성하고 컨피그레이션 모드를 활성화합니다 |
구성 제거/변경 | clear, set 및/또는 enable/disable 명령 사용 | Cisco IOS 명령 구조와 동일 키워드 no는 명령을 부정합니다. |
1 NMP = 네트워크 관리 프로세서
2 L3 = 레이어 3
Cisco IOS Software의 포트를 인터페이스로 참조합니다. Cisco IOS Software에는 두 가지 유형의 인터페이스 모드가 있습니다.
L3 라우티드 인터페이스
L2 스위치 인터페이스
참고: 기본값은 L3 라우티드 인터페이스입니다.
포트/인터페이스를 L2 스위치 인터페이스로 만들려면 다음 예와 같이 interface 아래에 switchport 명령을 추가합니다.
Cat6500# show running-config interface fastethernet 5/10 Building configuration... Current configuration: ! interface FastEthernet5/10 no ip address switchport end
L2 스위치 포트의 기본 인터페이스 컨피그레이션은 CatOS와 다릅니다. 예를 들어 포트에 L2 포트 컨피그레이션이 있는 경우 auto 대신 trunk 모드가 좋습니다. show interface interface switchport 명령은 L2 스위치 포트의 현재 컨피그레이션에 대한 세부 정보를 제공합니다. 예를 들면 다음과 같습니다.
Cat6500# show interfaces fastethernet 5/10 switchport Name: Fa5/10 Switchport: Enabled Administrative Mode: dynamic desirable Operational Mode: down Administrative Trunking Encapsulation: negotiate Negotiation of Trunking: On Access Mode VLAN: 1 ( default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001
Cisco IOS Software에는 세 가지 기본 L2 스위치 포트 모드가 있습니다.
액세스: 인터페이스를 비트렁킹 모드로 설정합니다.
동적: 액세스 또는 트렁크 모드에 대해 동적으로 협상할 인터페이스를 설정합니다. 이 설정에 대한 두 가지 옵션은 다음과 같습니다.
Desirable: 이 컨피그레이션을 사용하면 인접 디바이스가 바람직한 또는 자동 모드에서 트렁크 컨피그레이션을 갖는 경우 포트가 트렁크가 될 수 있습니다. 바람직한 모드는 포트에 스위치 포트 컨피그레이션이 있는 경우 기본 모드입니다.
자동: 이 컨피그레이션을 사용하면 다른 인접 디바이스가 바람직한 모드의 트렁크 컨피그레이션을 갖는 경우 포트가 트렁크가 될 수 있습니다.
트렁크: 인터페이스를 영구 트렁크 모드로 설정합니다.
기능 | CatOS |
---|---|
PortFast를 사용하려면 | CatOS (enable) set spantree portfast 4/1 enable Warning: Spantree port fast start should only be enabled on ports connected to a single host. Connecting hubs, concentrators, switches, bridges, etc. to a fast start port can cause temporary spanning tree loops. Use with caution. Spantree port 4/1 fast start enabled. |
호스트 액세스를 위한 포트를 구성합니다. 이 명령은 PortFast를 활성화하고 CatOS에서 트렁킹 및 채널링을 비활성화합니다. | CatOS (enable) set port host 4/2 Port(s) 4/2 channel mode set to off. Warning: Spantree port fast start should only be enabled on ports connected to a single host. Connecting hubs, concentrators, switches, bridges, etc. to a fast start port can cause temporary spanning tree loops. Use with caution. Spantree port 4/2 fast start enabled. Port(s) 4/2 trunk mode set to off. CatOS (enable) |
포트 상태를 표시하려면 | show port show port mod show port mod/port show port counters
show port counters mod/port
|
기능 | Cisco IOS Software |
---|---|
PortFast를 사용하려면 | CiscoIOS(config)# interface fastethernet 4/2 CiscoIOS(config-if)# spanning-tree portfast Warning: portfast should only be enabled on ports connected to a single host. Connecting hubs, concentrators, switches, bridges, etc. to this interface when portfast is enabled can cause temporary spanning tree loops. Use with CAUTION Portfast has been configured on FastEthernet4/2 but will only have effect when the interface is in a non-trunking mode. CiscoIOS(config-if)# ^Z CiscoIOS# |
호스트 액세스를 위한 포트를 구성합니다. 이 명령은 PortFast를 활성화하고 CatOS에서 트렁킹 및 채널링을 비활성화합니다. | CiscoIOS(config)# interface fastethernet 4/2 CiscoIOS(config-if)# switchport CiscoIOS(config-if)# switchport mode access CiscoIOS(config-if)# spanning-tree portfast %Warning: portfast should only be enabled on ports connected to a single host. Connecting hubs, concentrators, switches, bridges, etc. to this interface when portfast is enabled, can cause temporary spanning tree loops. Use with CAUTION %Portfast has been configured on FastEthernet4/2 but will only have effect when the interface is in a non-trunking mode. CiscoIOS(config-if)# ^Z CiscoIOS# |
포트 상태를 표시하려면 | show interface status
show interface status module mod
show interface status errordisabled
show interface counters error module mod
|
스위치에서 Cisco IOS Software를 실행하는 경우에도 많은 수의 인터페이스를 사용할 수 있습니다. 따라서 여러 포트의 빠른 컨피그레이션을 지원하기 위해 Cisco IOS Software에서는 CatOS에서와 같이 다양한 인터페이스를 동시에 구성할 수 있습니다. range 명령을 실행하면 동일한 컨피그레이션으로 여러 인터페이스를 신속하게 구성할 수 있습니다.
CiscoIOS(config)# interface range gigabitethernet 1/1 -2, fastethernet 4/1 -24
참고: 이 명령의 구문에는 첫 번째 인터페이스 범위와 하이픈 사이에 공백이 있습니다. 구문은 중요하며 절대적으로 정확해야 합니다. 공백이 없으면 CLI(Command Line Interface)에서 구문 오류를 반환합니다.
다음은 range 명령을 잘못 사용한 예입니다.
CiscoIOS(config)# interface range gigabitethernet 1/1-2,fastethernet 4/1-24 ^ % Invalid input detected at '^' marker. CiscoIOS(config)# interface range gigabitethernet 1/1 -2,fastethernet 4/1-24 ^ % Invalid input detected at '^' marker. CiscoIOS(config)# interface range gigabitethernet 1/1 -2,fastethernet 4/1 -24
다음 예에서는 VLAN 2에서 4/2-8의 포트를 설정합니다.
NativeIOS(config)# interface range fastethernet 4/2 -8 CiscoIOS(config-if)# switchport CiscoIOS(config-if)# switchport access vlan 2 CiscoIOS(config-if)# no shut CiscoIOS(config-if)# ^Z CiscoIOS# show interface
이렇게 range 명령을 사용하면 컨피그레이션이 다음과 같이 표시됩니다.
interface FastEthernet4/4 no ip address switchport switchport access vlan 2 ! interface FastEthernet4/5 no ip address switchport switchport access vlan 2 ! interface FastEthernet4/6 no ip address switchport switchport access vlan 2 ! interface FastEthernet4/7 no ip address switchport switchport access vlan 2 ! interface FastEthernet4/8 no ip address switchport switchport access vlan 2 ! interface FastEthernet4/9 no ip address shutdown
Cisco IOS 소프트웨어는 ISL(Inter-Switch Link Protocol) 및 IEEE 802.1Q(dot1q) 트렁킹 모드를 모두 지원합니다. Cisco IOS System Software의 인터페이스 이해 섹션에서 설명하는 대로 다양한 인터페이스 컨피그레이션 옵션을 사용할 수 있습니다. Trunking은 CatOS와 정확히 동일한 방식으로 작동하며, Cisco IOS Software의 기본 설정은 자동이 아닌 것이 좋습니다.
기능 | CatOS |
---|---|
ISL 트렁크를 활성화하려면 | CatOS (enable) set trunk 4/1 on isl Port(s) 4/1 trunk mode set to on. Port(s) 4/1 trunk type set to isl. |
dot1q 트렁크를 활성화하려면 | CatOS (enable) set trunk 4/1 on dot1q Port(s) 4/1 trunk mode set to on. Port(s) 4/1 trunk type set to dot1q CatOS (enable) set vlan 2 4/1 VLAN 2 modified. VLAN 1 modified. VLAN Mod/Ports ---- ----------------------- 2 1/1 4/1 참고: dot1q의 경우, 네이티브 VLAN이 트렁크 링크 전체에서 일치하는 것이 매우 중요합니다. CatOS에서 set vlan vlan-id mod/port 명령을 사용하여 트렁크에 대한 네이티브 VLAN을 설정합니다. |
트렁크 모드를 변경하려면 | CatOS (enable) set trunk mod/port {on | off | desirable | auto | nonegotiate} [vlans] [isl | dot1q | negotiate] |
트렁킹 상태를 표시하려면 | show trunk show trunk mod show port mod/port |
기능 | Cisco IOS Software |
---|---|
ISL 트렁크를 활성화하려면 | CiscoIOS# configure terminal Enter configuration commands, one per line. End with CNTL/Z. CiscoIOS(config)# interface fastethernet 4/1 CiscoIOS(config-if)# switchport CiscoIOS(config-if)# switchport trunk encapsulation isl CiscoIOS(config-if)# switchport mode trunk 3d22h: %DTP-SP-5-TRUNKPORTON: Port Fa4/1 has become isl CiscoIOS(config-if)# ^Z CiscoIOS# |
dot1q 트렁크를 활성화하려면 | CiscoIOS# configure terminal Enter configuration commands, one per line. End with CNTL/Z. CiscoIOS(config)# interface fastethernet 4/1 CiscoIOS(config-if)# switchport CiscoIOS(config-if)# switchport trunk encapsulation dot1q CiscoIOS(config-if)# switchport mode trunk 3d22h: %DTP-SP-5-TRUNKPORTON: Port Fa4/1 has become dot1q CiscoIOS(config-if)# switchport trunk native vlan 2 CiscoIOS(config-if)# ^Z CiscoIOS# |
트렁크 모드를 변경하려면 | CiscoIOS(config-if)# switchport mode {access | trunk | multi | dynamic {auto | desirable}} |
트렁킹 상태를 표시하려면 | show interfaces trunk show interfaces trunk module number show interfaces interface-type mod/port show interfaces status |
Cisco IOS Software에서 트렁크 정보를 확인하는 방법에는 여러 가지가 있습니다.
참고: 라우팅된 포트는 L2 트렁크 포트가 아닙니다.
show interfaces trunk 명령은 현재 트렁크되는 모든 인터페이스를 표시합니다. 이 명령은 트렁크에 대한 컨피그레이션이 있지만 능동적으로 트렁크하지 않는 포트를 표시하지 않습니다.
Switch# show interfaces trunk Port Mode Encapsulation Status Native vlan Po41 desirable n-isl trunking 1 Port Vlans allowed on trunk Po41 1-1005 Port Vlans allowed and active in management domain Po41 1-6,1002-1005 Port Vlans in spanning tree forwarding state and not pruned Po41 1-6,1002-1005
show interfaces trunk module number 명령은 트렁크 상태에 관계없이 지정된 모듈의 모든 인터페이스를 표시합니다.
Switch# show interfaces trunk module 4 Port Mode Encapsulation Status Native vlan Fa4/1 desirable n-isl trunk-inbndl 1 (Po41) Fa4/2 desirable n-isl trunk-inbndl 1 (Po41) Fa4/3 desirable n-isl trunk-inbndl 1 (Po41) Fa4/4 desirable n-isl trunk-inbndl 1 (Po41) Fa4/5 desirable negotiate not-trunking 1 Fa4/6 desirable negotiate not-trunking 1 Fa4/7 desirable negotiate not-trunking 1 Fa4/8 desirable negotiate not-trunking 1 Fa4/9 desirable negotiate not-trunking 1 Fa4/10 routed negotiate routed 1 Fa4/11 desirable negotiate not-trunking 1 Fa4/12 desirable negotiate not-trunking 1 Fa4/13 desirable negotiate not-trunking 1 Fa4/14 desirable negotiate not-trunking 1 Fa4/15 desirable negotiate not-trunking 1 Fa4/16 desirable negotiate not-trunking 1 Fa4/17 desirable negotiate not-trunking 1
여러 화면을 스크롤하지 않고도 show interfaces interface-type mod/port trunk 명령을 사용하여 특정 인터페이스의 트렁킹 상태를 확인할 수 있습니다.
Switch# show interfaces fastethernet 4/1 trunk Port Mode Encapsulation Status Native vlan Fa4/1 desirable n-isl trunk-inbndl 1 (Po41) Port Vlans allowed on trunk Fa4/1 1-1005 Port Vlans allowed and active in management domain Fa4/1 1-6,1002-1005 Port Vlans in spanning tree forwarding state and not pruned Fa4/1 1-6,1002-1005
show interfaces status 명령은 각 인터페이스에 대해 상태 및 트렁킹 상태의 한 줄 표시를 제공합니다.
Switch# show interfaces status Port Name Status Vlan Duplex Speed Type Gi1/1 connected routed full 1000 1000BaseSX Gi1/2 connected 1 full 1000 1000BaseSX Gi3/1 notconnect routed full 1000 missing Gi3/2 notconnect routed full 1000 missing Gi3/3 notconnect routed full 1000 1000BaseSX Gi3/4 notconnect routed full 1000 1000BaseSX Gi3/5 notconnect routed full 1000 1000BaseSX Gi3/6 notconnect routed full 1000 1000BaseSX Gi3/7 notconnect routed full 1000 1000BaseSX Gi3/8 notconnect routed full 1000 1000BaseSX Fa4/1 connected trunk full 100 100BaseFX MM Fa4/2 connected trunk full 100 100BaseFX MM Fa4/3 connected trunk full 100 100BaseFX MM Fa4/4 connected trunk full 100 100BaseFX MM Fa4/5 notconnect 1 full 100 100BaseFX MM Fa4/6 notconnect 1 full 100 100BaseFX MM Fa4/7 notconnect 2 full 100 100BaseFX MM Fa4/8 notconnect 2 full 100 100BaseFX MM Fa4/9 notconnect 1 full 100 100BaseFX MM Fa4/10 notconnect routed full 100 100BaseFX MM Fa4/11 notconnect 1 full 100 100BaseFX MM
Cisco IOS Software에서 EtherChannel은 CatOS와 매우 다르게 구성할 수 있습니다. Cisco IOS Software의 포트 그룹에서 EtherChannel을 활성화하려면 포트 채널 인터페이스를 사용해야 합니다. 모든 조건이 포트 그룹에 유효한 경우 포트 채널을 형성합니다. 인터페이스에 스위치 포트 컨피그레이션이 있는 경우에도 기본적으로 모든 인터페이스에는 포트 채널링이 비활성화되어 있습니다.
인터페이스 그룹을 EtherChannel의 일부로 구성하려면 각 인터페이스 아래에서 channel-group group-number mode channel-mode 명령을 개별적으로 실행해야 합니다. 컨피그레이션에서 switchport 명령을 제거하면 해당 스위치 포트와 관련된 모든 명령이 컨피그레이션에 더 이상 표시되지 않습니다. 그러나 포트를 스위치 포트로 재구성하면 이전의 모든 명령이 반환됩니다. 따라서 스위치 포트로서 포트를 구성하고 구성하지 않으면 포트 채널 그룹 정보가 지워지지 않습니다.
채널 그룹을 생성한 후에는 개별 물리적 포트가 아닌 포트 채널 인터페이스에서 모든 컨피그레이션을 실행해야 합니다. 포트 채널에서 실행하는 모든 명령은 모든 물리적 포트에 투명하게 전파됩니다. 채널 멤버의 물리적 인터페이스에서 실행하는 명령은 채널 그룹에서 인터페이스를 제거할 수 있습니다.
기능 | CatOS |
---|---|
채널을 만들려면 | CatOS (enable) set port channel 4/3-4 on Port(s) 4/3-4 are assigned to admin group 613. Port(s) 4/3-4 channel mode set to on. CatOS (enable) |
채널 모드를 설정하려면 | CatOS (enable) set port channel
mod/port mode {on | off | desirable |
auto} [silent | non-silent]
|
포트 채널 상태 표시 | show port channel show port channel mod/port show port channel channel-group |
기능 | Cisco IOS Software |
---|---|
채널을 만들려면 | CiscoIOS# configure terminal Enter configuration commands, one per line. End with CNTL/Z. CiscoIOS(config)# interface port-channel 1 CiscoIOS(config-if)# exit CiscoIOS(config)# interface fastethernet 4/3 CiscoIOS(config-if)# channel-group 1 mode on CiscoIOS(config-if)# interface fastethernet 4/4 CiscoIOS(config-if)# channel-group 1 mode on CiscoIOS(config-if)# |
채널 모드를 설정하려면 | CiscoIOS(config-if)# channel-group
channel-group_number mode {on | auto
[non-silent] | desirable [non-silent]}
|
포트 채널 상태 표시 | show etherchannel
show etherchannel channel-group
show interfaces etherchannel
show interfaces interface-type mod/port etherchannel |
show etherchannel 명령에는 포트 채널 컨피그레이션에 대한 정보를 표시하는 다양한 하위 명령이 있습니다.
show etherchannel channel channel-group summary 명령은 채널 그룹 컨피그레이션 내의 모든 인터페이스의 상태를 제공합니다. 이 명령은 채널 그룹에 속해야 하는 인터페이스를 빠르게 찾는 데 매우 유용합니다.
CiscoIOS# show etherchannel 256 summary Flags: U - in use I - in port-channel S - suspended D - down I - stand-alone d - default setting Group Port-channel Ports -----+------------+----------------------------------------------------------- 256 Po256(U) Fa5/5(I) Fa5/6(I) Fa5/7(I) Fa5/8(I)
show interfaces etherchannel 명령은 채널 상태와 상관없이 채널 그룹과 연결되는 모든 인터페이스를 표시합니다.
CiscoIOS# show interfaces etherchannel ---- GigabitEthernet1/1: Port state = EC-Enbld Up In-Bndl Usr-Config Channel group = 254 Mode = Automatic Gcchange = 0 Port-channel = Po254 GC = 0x00FE0001 Port indx = 0 Load = 0x55 Flags: S - Device is sending Slow hello. C - Device is in Consistent state. A - Device is in Auto mode. P - Device learns on physical port. Timers: H - Hello timer is running. Q - Quit timer is running. S - Switching timer is running. I - Interface timer is running. Local information: Hello Partner PAgP Learning Group Port Flags State Timers Interval Count Priority Method Ifindex Gi1/1 SAC U6/S7 Q 30s 1 128 Any 56 Partner's information: Partner Partner Partner Partner Group Port Name Device ID Port Age Flags Cap. Gi1/1 69055180(STELLA) 0010.7bbe.50bb 3/4 12s SC 2
여러 화면을 스크롤할 필요 없이 show interfaces interface-type mod/port etherchannel 명령을 사용하여 특정 인터페이스의 채널 상태를 확인할 수 있습니다.
CiscoIOS# show interfaces fastethernet 5/5 etherchannel Port state = EC-Enbld Up Cnt-bndl Sngl-port-Bndl Cnt-Bndl Not-in-Bndl Usr-Config Channel group = 256 Mode = Automatic Gcchange = 1 Port-channel = null GC = 0x11000002 Port indx = 0 Load = 0x00 Flags: S - Device is sending Slow hello. C - Device is in Consistent state. A - Device is in Auto mode. P - Device learns on physical port. Timers: H - Hello timer is running. Q - Quit timer is running. S - Switching timer is running. I - Interface timer is running. Local information: Hello Partner PAgP Learning Group Port Flags State Timers Interval Count Priority Method Ifindex Fa5/5 SAC U6/S7 Q 30s 1 128 Any 0 Partner's information: Partner Partner Partner Partner Group Port Name Device ID Port Age Flags Cap. Fa5/5 066549452(SINGHA) 00d0.bb3a.c0d9 4/17 29s SC 2 Age of the port in the current state: 00h:30m:31s Probable reason: pm - different in oper mode (1) with Fa5/8(2)
show interfaces port-channel channel-group etherchannel 명령은 포트 채널의 현재 활성 멤버인 포트를 표시합니다.
CiscoIOS# show interfaces port-channel 256 etherchannel Age of the Port-channel = 05h:52m:49s Logical slot/port = 13/64 Number of ports = 2 GC = 0x01000001 HotStandBy port = null Port state = Port-channel Ag-Inuse Ports in the Port-channel: Index Load Port EC state Configuration ------+------+------+-----------+-------------- 1 55 Fa5/7 auto user 0 AA Fa5/8 auto user Time since last port bundled: 00h:46m:51s Fa5/7 Time since last port Un-bundled: 00h:46m:54s Fa5/8
VLAN의 개념과 기능은 Cisco IOS Software와 CatOS 간에 동일합니다. 그러나, 두 구현들 간의 구성 방법들은 상당히 다르다. set 명령은 CatOS에서 VLAN을 생성하지만 Cisco IOS Software의 VLAN 데이터베이스 컨피그레이션 모드를 통해 VLAN이 생성됩니다.
기능 | CatOS |
---|---|
VLAN을 생성하려면 | CatOS (enable) set vlan 2 Vlan 2 configuration successful |
VLAN 삭제 | CatOS (enable) clear vlan 2 This command will deactivate all ports on vlan 2 Do you want to continue(y/n) [n]?y Vlan 2 deleted |
VLAN에 포트를 할당하려면 | CatOS (enable) set vlan 2 1/1 VLAN 2 modified. VLAN 10 modified. VLAN Mod/Ports ---- ----------------------- 2 1/1 |
VLAN 상태를 보려면 | show vlan |
기능 | Cisco IOS Software |
---|---|
VLAN을 생성하려면 | CiscoIOS# vlan database CiscoIOS(vlan)# vlan 2 VLAN 2 added: Name: VLAN0002 CiscoIOS(vlan)# exit APPLY completed. Exiting.... |
VLAN 삭제 | NativeIOS# vlan database CiscoIOS(vlan)# no vlan 2 Deleting VLAN 2... CiscoIOS(vlan)# exit APPLY completed. Exiting.... |
VLAN에 포트를 할당하려면 | CiscoIOS# configure terminal Enter configuration commands, one per line. End with CNTL/Z. CiscoIOS(config)# interface gigabitethernet2/2 CiscoIOS(config-if)# switchport CiscoIOS(config-if)# switchport access vlan 2 CiscoIOS(config-if)# ^Z CiscoIOS# |
VLAN 상태를 보려면 | show vlan |
VLAN의 상태를 확인하려면 show vlan 명령을 사용합니다.
Router# show vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active 2 VLAN0002 active 10 VLAN0010 active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1 enet 100001 1500 - - - - - 0 0 2 enet 100002 1500 - - - - - 0 0 10 enet 100010 1500 - - - - - 0 0 1002 fddi 101002 1500 - - - - - 0 0 1003 tr 101003 1500 - - - - - 0 0 1004 fdnet 101004 1500 - - - ieee - 0 0 1005 trnet 101005 1500 - - - ibm - 0 0 Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------
VTP는 VTP 도메인에서 VLAN 데이터베이스를 동기화하는 L2 프로토콜입니다. 동일한 VTP 도메인 내의 VLAN을 추가, 삭제 또는 수정할 때, VTP는 동일한 VTP 도메인 내의 모든 멤버에 대한 VLAN 데이터베이스를 동기화합니다. VTP 프루닝은 전파가 필요하지 않은 VLAN에 대한 불필요한 브로드캐스트 및 멀티캐스트 트래픽을 줄여 트렁크의 트래픽을 최소화합니다.
Cisco IOS Software에서 VLAN 데이터베이스 모드는 VTP 컨피그레이션을 정의합니다. VLAN 데이터베이스 및 VTP에 대한 변경 사항은 VLAN 데이터의 응용 프로그램에서 발생합니다. 이는 사용자가 VLAN 데이터베이스 컨피그레이션 모드에서 종료할 때 발생합니다. 기본 Cisco IOS Software VTP 컨피그레이션이 여기에 표시됩니다.
참고: 기본 VTP 모드는 서버입니다.
CiscoIOS# show vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 1005 Number of existing VLANs : 6 VTP Operating Mode : Server VTP Domain Name : null VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0xE2 0x4F 0xC0 0xD6 0x94 0xBB 0x31 0x9A Configuration last modified by 0.0.0.0 at 6-27-01 02:04:20 Local updater ID is 0.0.0.0 (no valid interface found)
기능 | CatOS |
---|---|
VTP 구성 | CatOS (enable) set vtp domain cisco VTP domain cisco modified |
VTP 모드를 변경하려면 | CatOS (enable) set vtp mode client VTP domain cisco modified CatOS (enable) set vtp mode server VTP domain cisco modified CatOS (enable) set vtp mode transparent VTP domain cisco modified |
VTP 정리를 활성화하려면 | CatOS (enable) set vtp pruning enable This command will enable the pruning function in the entire management domain. All devices in the management domain should be pruning-capable before enabling. Do you want to continue (y/n) [n]? y VTP domain cisco modified |
VTP 컨피그레이션을 표시하려면 | CatOS (enable) show vtp domain |
기능 | Cisco IOS Software |
---|---|
VTP 구성 | CiscoIOS# vlan database CiscoIOS(vlan)# vtp domain cisco Changing VTP domain name from null to cisco CiscoIOS(vlan)# exit APPLY completed. Exiting.... |
VTP 모드를 변경하려면 | CiscoIOS# vlan database CiscoIOS(vlan)# vtp client Setting device to VTP CLIENT mode. CiscoIOS(vlan)# vtp server Setting device to VTP SERVER mode. CiscoIOS(vlan)# vtp transparent Setting device to VTP TRANSPARENT mode. CiscoIOS(vlan)# exit APPLY completed. Exiting.... |
VTP 정리를 활성화하려면 | CiscoIOS# vlan database CiscoIOS(vlan)# vtp pruning Pruning switched ON CiscoIOS(vlan)# exit APPLY completed. |
VTP 컨피그레이션을 표시하려면 | CiscoIOS# show vtp status |
이 표는 CatOS 명령 및 해당 명령에 해당하는 Cisco IOS Software의 간단한 목록입니다. 이 표는 CatOS에서 Cisco IOS Software로 마이그레이션하는 경우 빠른 참조를 위해 유용합니다. 이 표는 자주 사용하는 명령의 축약된 목록입니다. 이 테이블에는 각 명령에 대한 모든 매개변수가 나열되지 않습니다. 전체 명령 구문 및 매개변수는 Catalyst 6500 Series Cisco IOS Command Reference, 12.2SX를 참조하십시오.
이 섹션의 코멘트는 특정 명령에 대한 지원을 제공합니다. 주석은 기울임꼴로 표시됩니다.
CatOS 명령 | Cisco IOS Software 명령 |
---|---|
vlan 지우기 | no vlan 이 명령은 VLAN 데이터베이스 명령입니다. |
cam agingtime 설정 | mac-address-table aging-time 이 명령은 VLAN당 MAC 주소 에이징 시간을 설정합니다. |
cam set cam {static | 영구} | mac-address-table static 모든 고정 항목도 영구적입니다. |
errdisable-timeout 간격 설정 | errdisable recovery interval 30-86400 이 명령은 errdisable 복구 시간을 설정합니다. |
mls 설정 | mls MLS(Multilayer Switching)는 Cisco IOS Software에서 투명하게 발생합니다. |
set 옵션 errport | errdisable recovery cause 이 명령은 errdisable 옵션을 구성합니다. |
set port channel 기본 모드는 auto입니다. | channel-group group mode 기본 모드는 off입니다. |
포트 듀플렉스 설정 | duplex 기본 동작은 라인 카드에 따라 달라집니다. |
set port flowcontrol send [원하는 항목] | 끄기 |on ] | flowcontrol send [원함 | 끄기 | 켜기 ] |
set port flowcontrol receive [권장 | 끄기 |on ] | flowcontrol receive [원함 | 끄기 | 켜기 ] |
포트 호스트 설정 | switchport switchport mode access spanning-tree portfast 액세스 포트는 채널링/트렁킹을 자동으로 해제합니다. |
포트 협상 모드/포트 비활성화 설정 | speed nonegotiate 기가비트 포트에서만 이 명령을 사용합니다. 10/100Mbps 포트에는 speed 및 duplex 명령을 사용합니다. |
포트 협상 모드/포트 활성화 설정 | no speed nonegotiate 기가비트 포트에서만 이 명령을 사용합니다. 10/100Mbps 포트에는 speed 및 duplex 명령을 사용합니다. |
포트 속도 설정 | 속도 기본 동작은 라인 카드에 따라 달라집니다. |
qos 설정 | mls qos |
스팬 설정 | 모니터 세션 |
spantree 설정 | 신장 트리 |
시스템 crossbar-fallback 설정 | 서비스 내부 [no] 패브릭 스위칭 모드 허용 [bus-only] | 잘림] |
테스트 진단 수준 설정 | 진단 수준 부팅 진단 수준입니다. |
추적 설정 | debug 이 명령은 주의하여 사용합니다. 일부 디버그는 방해가 됩니다. |
set trunk 기본 모드는 auto입니다. | switchport mode trunk 기본 모드가 바람직합니다. |
udld 설정 | udld 이 명령은 전역적으로 인터페이스별로 구성합니다. |
vlan 설정 | vlan switchport access vlan 이 명령은 VLAN 데이터베이스 명령입니다. 이 명령은 인터페이스 명령이며 VLAN을 생성하지 않습니다. |
vtp 설정 | vtp 이 명령은 VLAN 데이터베이스 명령입니다. |
show boot | show bootvar 이 명령은 부팅 매개변수를 표시합니다. |
cam 동적 표시 | show mac-address-table dynamic |
채널 정보 표시 포트 채널 | etherchannel 요약 표시 |
오류 감지 표시 | show errdisable detect |
show errdisable-timeout | show errdisable recovery |
show port show mac | 인터페이스 표시 |
포트 상태 표시 | 인터페이스 상태 표시 |
표시 범위 | 모니터 표시 |
쇼 스프롬 | show idprom 이 명령은 섀시 일련 번호를 확인하는 데 유용합니다. |
show system crossbar-fallback | 패브릭 스위칭 모드 표시 |
show test [diaglevel](테스트 표시[diaglevel]) | mod] | show diagnostic [레벨] | 모듈 수정] |
qos 표시 | mls qos 표시 |
트래픽 표시 | show catalyst6000 traffic-meter 이 명령은 백플레인 사용률을 표시합니다. |
show trunk 포트 트렁크 | show interfaces trunk |
udld 표시 | udld 표시 |
VLAN 표시 | VLAN 표시 |
vtp 도메인 표시 | vtp 상태 표시 |
스위치 콘솔 | 원격 로그인 특정 트러블슈팅에는 Cisco Technical Support에서만 이 명령을 사용합니다. |
개정 | 게시 날짜 | 의견 |
---|---|---|
1.0 |
05-Dec-2001
|
최초 릴리스 |