Network/Dell

[Network] Dell Switch OS9 / OS10 명령어 비교 [LACP, Vlan Tag]

치즈잼 2024. 12. 4. 14:53
728x90
델 스위치의 버전 별 [OS9, OS10] LACP와 Vlan Tag 명령어의 차이에 대해 정리해 보았습니다.

구성 환경 : S4048 - S3148P 사이 포트 2개 연결 후 VLAN 설정 및 LACP

구성 장비 : S4048-ON 1EA , S3148P 1EA

구성 버전 : OS9, OS10

 

OS 9 Config

-  SW1 Te1/1-2 과 SW2 Te1/1-2 포트 연결

 

SW1

interface TenGigabitEthernet 1/1
 no ip address
!
 port-channel-protocol LACP
  port-channel 100 mode active
 no shutdown
!
interface TenGigabitEthernet 1/2
 no ip address
!
 port-channel-protocol LACP
  port-channel 100 mode active
 no shutdown
!

interface Vlan 100
 ip address 100.100.100.100/24
 untagged Port-channel 100
 no shutdown
!



SW1#sh int status
Port                 Description  Status Speed        Duplex Vlan
Te 1/1                              Up     10000 Mbit   Full   --
Te 1/2                              Up     10000 Mbit   Full   --




SW1#sh lacp summary

Port-channel    Member Ports
100             Te 1/1,Te 1/2

 

 

SW2

interface TenGigabitEthernet 1/1
 no ip address
!
 port-channel-protocol LACP
  port-channel 100 mode active
 no shutdown
!
interface TenGigabitEthernet 1/2
 no ip address
!
 port-channel-protocol LACP
  port-channel 100 mode active
 no shutdown
!

interface Vlan 100
 ip address 100.100.100.200/24
 untagged Port-channel 100
 no shutdown
!



SW2#sh int status
Port                 Description  Status Speed        Duplex Vlan
Te 1/1                              Up     10000 Mbit   Full   --
Te 1/2                              Up     10000 Mbit   Full   --




SW2#sh lacp summary

Port-channel    Member Ports
100             Te 1/1,Te 1/2

 

 

OS 9 내용 정리

1. VLAN 통신을 적용하려면 access, Trunk가 아닌 Untagged, Tagged를 사용하여야 함

1-1. Interface Port가 아닌 Interface vlan 안에서 Tag를 지정할 수 있음

 

2. Interface Port에 Port-channel을 적용하려면 no switchport 모드여야 함 [일반 포트일 경우 switchport]

2-1. Interface Port에 Port-channel을 적용하려면 Port-channel mode를 먼저 지정하여야 함

2-2 Interface Port-channel은 switchport 모드

 

OS10 Config 

-  SW1 E1/1-2 과 SW2 E1/1-2 포트 연결

 

SW1

interface vlan100
 no shutdown
 ip address 100.100.100.100/24
 !

interface port-channel100
 no shutdown
 switchport access vlan 100

interface ethernet1/1
 no shutdown
 channel-group 100 mode active
 no switchport

interface ethernet1/2
 no shutdown
 channel-group 100 mode active
 no switchport

 

SW2

interface vlan100
 no shutdown
 ip address 100.100.100.200/24
 !

interface port-channel100
 no shutdown
 switchport access vlan 100

interface ethernet1/1
 no shutdown
 channel-group 100 mode active
 no switchport

interface ethernet1/2
 no shutdown
 channel-group 100 mode active
 no switchport

 

 

OS 10 내용 정리

1. VLAN 통신을 적용하려면 access, Trunk를 사용

1-1. Interface Port에 직접 vlan 적용

 

2. Interface Port에 Port-channel을 적용하려면 no switchport 모드여야 함 [일반 포트일 경우 switchport]

2-1. Interface Port에 Port-channel을 적용하려면 Port-channel mode를 먼저 지정하여야 함

2-2 Interface Port-channel은 switchport 모드

 

총 정리

  OS9 OS10
VLAN 적용 명령어 Tagged / Untagged Access / Trunk
명령어 적용 위치 Interface Vlan 내부 Interface Port 내부
Port-channel 적용 시
Switchport Mode
Interface Port : no switchport
Interface Port-channel : switchport
Interface Port : no switchport
Interface Port-channel : switchport

 

1. OS9은 HP , Enterasys 스위치와 같이 Tagged, Untagged 방식을 사용

1-1 OS10은 Cisco, Arista 스위치와 같이 Access, Trunk 방식을 사용

 

2. Tagged / Untagged 명령어 적용 시 OS 9 은 Interface Vlan 에 적용

2-1 Access / Trunk 명령어 적용 시 OS 10 은 Interface Port 에 적용

 

3. Port-channel 적용 시 Switchport mode는 OS 9 / 10 둘 다 Interface Port는 no Switchport , Interface Port-channel 에는 switchport 적용 해야 함 [ Cisco와 Interface Port 적용 방식이 반대]

3-1 포트채널이 아닌 일반 포트일 경우에는 Interface Port가 switchport mode여야 함 [이 경우에는 Cisco와 같음]

728x90