본문 바로가기
Network

[Network] Dell OS 10 VLT Setting

by 치즈잼 2024. 9. 9.
728x90
Dell스위치에서 OS10 버전에 VLT를 구성하는 방법에 대해 정리해 보았습니다.

VLT(Virtual Link Trunk) 정의 및 특징

정의
서버와 같은 최종단말 장치나, 두개 또는 그 이상의 네트워크 장치간 Layer 2 aggregation protocol.
OS10에서는 현재, 두 대의 서로 다른 스위치 구성까지 가능
특징
동일한 Port channel 을 사용하여 노드 수준 중복성을 제공
Loop Free 토폴로지 제공
Spannig-tree blocked port 제거
사용 가능한 모든 업링크 대역폭을 사용하여 대역폭 활동도를 최적화
링크 또는 장비의 장애가 발생할 경우 빠른 컨버전스 타임 보장
VRRP 를 통해 최적화된 포워딩을 향상
Layer 3 vlan 을 위한 VLT 피어 라우팅으로 라우팅 최적화
링크 수준 복원력 제공
고가용성 보장
VLT 는 서버 또는 스위치와 같이 상대 장비의 관점에서는 논리적으로 단일 L2 스위치로 동작
VLT 도메인 멤버 스위치는 각각 독립적인 Control Plane Management 기능 유지
VLT 도메인 멤버 스위치는 동일한 VLT 설정으로 구성

 

VLT (Virtual Link Trunk) 구성 요소

구분 설명
VLT domain
VLT 가 적용되는 범위, VLT peer 장비 간 동일한 값을 갖음
VLTi
(VLT interconnect)
작동상태를 동기화 하는 데 사용되는 VLT peer 스위치간 링크
VLT peer device
전용 포트채널인 VLTi 를 통해서 연결된 장치 쌍
VLT domain에 포함된 스위치들
Discovery interface
VLTi 링크에 있는 VLT peer 의 인터페이스
VLT MAC address
VLT domain에 할당된 고유의 MAC 주소
VLT peer device 들이 동일한 MAC 주소를 갖도록 설정하여 논리적으로 하나의 장비로 인식하게 끔 함
VLT node priority
PrimarySecondary VLT 노드를 결정하는 우선순위
MAC 주소가 낮은 장비가 Primary Node가 됨
VLT port channel
서버 또는 스위치와 VLT peer 장비간 연결된 포트채널
VLT port channel ID
VLT peer의 포트 채널 인터페이스를, 연결된 장치에 단일 VLT로 그룹화, 함께 번들로 묶는 두 peer의 포트 채널 인터페이스에 동일한 VLT Port channel ID  할당
  (portchannel ID = 1000(VLAN ID: 4094) 예약됨
Orphan ports
VLT 포트 채널의 일부가 아니지만 spanned VLAN의 구성원인 포트입니다. spanned VLAN이라는 용어는 두 VLT 피어 모두에 구성된 VLAN을 나타냄

 

참고사항

- VLTi 인터페이스는 10G or 40G 지원, 1G 지원하지 않음

- OS10에서는 같은 도메인에서 최대 2대까지 VLT 지원 가능

- Discovery Interface 구성 시 각 스위치에 Port-Channel 1000이 생성되며 자동으로 VLAN 정보를 가져옴 [ 두 스위치에 모두 포함된 VLAN만 적용]

 

구성 환경

- OS1011 스위치와 OS1012 스위치 간에 VRRP를 묶고 E1/1/1-1/1/2 에 VLTi 를 설정합니다.

- 두 스위치의 E1/1/4에 백업 링크를 설정해 하트비트 모니터링을 합니다.

- OS10 스위치를 LACP로 연결해 VLT가 정상 동작하는지 확인합니다.

 

 

OS1011 스위치 Config

interface vlan10
 no shutdown
 ip address 10.10.10.1/24
 !
 vrrp-group 10
  priority 120
  virtual-address 10.10.10.3
!
interface vlan20
 no shutdown
 ip address 20.20.20.1/24
 !
 vrrp-group 20
  virtual-address 20.20.20.3
!
interface vlan30
 no shutdown
 ip address 30.30.30.1/24
!
interface port-channel1
 no shutdown
 switchport access vlan 10
 spanning-tree port type edge
 vlt-port-channel 1
!
interface mgmt1/1/1
 no shutdown
 ip address dhcp
 ipv6 address autoconfig
!
interface ethernet1/1/1
 description VLTi
 no shutdown
 no switchport
 flowcontrol receive off
!
interface ethernet1/1/2
 description VLTi
 no shutdown
 no switchport
 flowcontrol receive off
!
interface ethernet1/1/3
 description VLTPG1
 no shutdown
 channel-group 1 mode active
 no switchport
 flowcontrol receive off
!
interface ethernet1/1/4
 description BackupLink
 no shutdown
 no switchport
 ip address 1.1.1.1/24
 flowcontrol receive off
!

vlt-domain 1
 backup destination 1.1.1.2
 discovery-interface ethernet1/1/1-1/1/2
 primary-priority 4096
 vlt-mac 12:34:56:78:9a:11
!

 

OS1012 스위치 Config

interface vlan10
 no shutdown
 ip address 10.10.10.2/24
 !
 vrrp-group 10
  priority 120
  virtual-address 10.10.10.3
!
interface vlan20
 no shutdown
 ip address 20.20.20.2/24
 !
 vrrp-group 20
  virtual-address 20.20.20.3
!
interface vlan30
 no shutdown
 ip address 30.30.30.2/24
!
interface port-channel1
 no shutdown
 switchport access vlan 10
 spanning-tree port type edge
 vlt-port-channel 1
!
interface mgmt1/1/1
 no shutdown
 ip address dhcp
 ipv6 address autoconfig
!
interface ethernet1/1/1
 description VLTi
 no shutdown
 no switchport
 flowcontrol receive off
!
interface ethernet1/1/2
 description VLTi
 no shutdown
 no switchport
 flowcontrol receive off
!
interface ethernet1/1/3
 description VLTPG1
 no shutdown
 channel-group 1 mode active
 no switchport
 flowcontrol receive off
!
interface ethernet1/1/4
 description BackupLink
 no shutdown
 no switchport
 ip address 1.1.1.2/24
 flowcontrol receive off
!
vlt-domain 1
 backup destination 1.1.1.1
 discovery-interface ethernet1/1/1-1/1/2
 primary-priority 8192
 vlt-mac 12:34:56:78:9a:11

 

 

OS10 스위치 Config

interface vlan10
 no shutdown
 ip address 10.10.10.100/24
!
interface port-channel1
 no shutdown
 switchport access vlan 10
!
interface ethernet1/1/1
 no shutdown
 channel-group 1 mode active
 no switchport
 flowcontrol receive off
!
interface ethernet1/1/2
 no shutdown
 channel-group 1 mode active
 no switchport
 flowcontrol receive off
!

 

 

OS 1011 스위치 Show Config [ VRRP, VLT , VLT Port]

OS10# show vrrp brief
Interface        Group   Priority   Prempt       State        Version    Master addr(s)                  Virtual addr
---------------------------------------------------------------------------------------------------------------------
vlan10           IPv4 10   120       true      master-state     2         10.10.10.1                      10.10.10.3

vlan20           IPv4 20   100       true      master-state     2         20.20.20.1                      20.20.20.3

OS10# show vlt 1
Domain ID                              : 1
Unit ID                                : 1
Role                                   : primary
Version                                : 3.1
Local System MAC address               : 50:00:00:0b:00:00
Role priority                          : 4096
VLT MAC address                        : 12:34:56:78:9a:11
IP address                             : fda5:74c8:b79e:1::1
Delay-Restore timer                    : 90 seconds
Peer-Routing                           : Disabled
Peer-Routing-Timeout timer             : 0 seconds
Multicast peer-routing timer           : 300 seconds
VLTi Link Status
    port-channel1000                   : up

VLT Peer Unit ID    System MAC Address    Status    IP Address             Version
----------------------------------------------------------------------------------
  2                 50:00:00:0c:00:00      up       fda5:74c8:b79e:1::2     3.1
OS10# show vlt 1 vlt-port-detail
vlt-port-channel ID : 1
VLT Unit ID    Port-Channel      Status    Configured ports    Active ports
-------------------------------------------------------------------------------
* 1            port-channel1      up        1                   1
  2            port-channel1      up        1                   1
OS10# ping 10.10.10.100
PING 10.10.10.100 (10.10.10.100) 56(84) bytes of data.
64 bytes from 10.10.10.100: icmp_seq=1 ttl=64 time=2.96 ms
64 bytes from 10.10.10.100: icmp_seq=2 ttl=64 time=4.04 ms
64 bytes from 10.10.10.100: icmp_seq=3 ttl=64 time=2.71 ms
64 bytes from 10.10.10.100: icmp_seq=4 ttl=64 time=1.76 ms
64 bytes from 10.10.10.100: icmp_seq=5 ttl=64 time=4.00 ms
^C
--- 10.10.10.100 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 11ms
rtt min/avg/max/mdev = 1.755/3.094/4.042/0.860 ms

 

 

OS 1012 스위치 Show Config [ VRRP, VLT , VLT Port]

OS10# show vrrp brief
Interface        Group   Priority   Prempt       State        Version    Master addr(s)                  Virtual addr
---------------------------------------------------------------------------------------------------------------------
vlan10           IPv4 10   120       true      backup-state     2         10.10.10.1                      10.10.10.3

vlan20           IPv4 20   100       true      backup-state     2         20.20.20.1                      20.20.20.3

OS10# show vlt 1
Domain ID                              : 1
Unit ID                                : 2
Role                                   : secondary
Version                                : 3.1
Local System MAC address               : 50:00:00:0c:00:00
Role priority                          : 8192
VLT MAC address                        : 12:34:56:78:9a:11
IP address                             : fda5:74c8:b79e:1::2
Delay-Restore timer                    : 90 seconds
Peer-Routing                           : Disabled
Peer-Routing-Timeout timer             : 0 seconds
Multicast peer-routing timer           : 300 seconds
VLTi Link Status
    port-channel1000                   : up

VLT Peer Unit ID    System MAC Address    Status    IP Address             Version
----------------------------------------------------------------------------------
  1                 50:00:00:0b:00:00      up       fda5:74c8:b79e:1::1     3.1
OS10# show vlt 1 vlt-port-detail
vlt-port-channel ID : 1
VLT Unit ID    Port-Channel      Status    Configured ports    Active ports
-------------------------------------------------------------------------------
  1            port-channel1      up        1                   1
* 2            port-channel1      up        1                   1
OS10# ping 10.10.10.100
PING 10.10.10.100 (10.10.10.100) 56(84) bytes of data.
64 bytes from 10.10.10.100: icmp_seq=2 ttl=64 time=1022 ms
64 bytes from 10.10.10.100: icmp_seq=3 ttl=64 time=2.19 ms
64 bytes from 10.10.10.100: icmp_seq=1 ttl=64 time=2039 ms
64 bytes from 10.10.10.100: icmp_seq=4 ttl=64 time=3.11 ms
64 bytes from 10.10.10.100: icmp_seq=5 ttl=64 time=1.99 ms
64 bytes from 10.10.10.100: icmp_seq=6 ttl=64 time=16.0 ms
^C
--- 10.10.10.100 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 41ms
rtt min/avg/max/mdev = 1.993/514.071/2039.303/776.485 ms, pipe 3
728x90