Dell Networking SmartFabric OS10 如何设置虚拟链路中继 (VLT)

VLT 对等交换机上的生成树

生成树默认处于启用状态,建议用于防止 VLT 域中出现环路。VLT 端口支持快速每 VLAN 生成树 (RPVST)(默认)和快速生成树协议 (RSTP) 模式。

复制代码
OS10# configure terminal 
OS10(config)# spanning-tree mode rstp [or] rapid-pvst
创建 VLT 域并配置 VLT 互连 (VLTi)

|----------------------------------------------------------------|---------------------------------|
| OS10# configure terminal | 输入配置模式。 |
| OS10(config)# interface range ethernet 1/1/1-1/1/2 | 进入接口配置模式 |
| OS10(conf-range-eth1/1/1-1/1/2)# no switchport | 从 VLTi 端口删除交换机端口。 |
| OS10(config)# vlt-domain 1 | 通过在每个对等交换机上配置相同的域 ID 来创建 VLT 域。 |
| OS10(conf-vlt-1)# discovery-interface ethernet 1/1/1   | 设置 VLTi 接口。 |
| OS10(conf-vlt-1)# discovery-interface ethernet 1/1/2   | 设置 VLTi 接口。 |

配置 VLT 优先级、VLT MAC 地址和 VLT 备份链路

|-------------------------------------------------------------------------------------------------------------------------------------|---------------------------------|
| OS10# configure terminal  | 输入配置模式。 |
| OS10(config)# vlt-domain 1   | 进入 VLT 域配置模式。 |
| OS10(conf-vlt-1)# primary-priority 4096 (primary peer) OS10(conf-vlt-1)# primary-priority 8192 (secondary peer)   | 为每个对等交换机指定 VLT 优先级。 |
| OS10(conf-vlt-1)# vlt-mac 00:11:22:33:44:55    | 使用唯一 MAC 地址指定 VLT MAC 地址。 |
| OS10(conf-vlt-1)# backup destination 1.1.1.2 (primary peer) OS10(conf-vlt-1)# backup destination 1.1.1.1 (secondary peer)   | 指定对等交换机的管理IP地址。 此操作设置监控系统的检测信号。 |

**提醒:**网络中的每个 VLT 域都必须使用单独的唯一 MAC 地址。此 MAC 地址在 VLT 域中的两台交换机上必须相同。

为已连接的终端设备配置 LAG

以下示例使用 LACP 端口通道中两个 VLT 对等节点上的以太网 1/1/10 连接到一个终端设备。

|--------------------------------------------------------------|---------------------------------|
| OS10# configure terminal  | 输入配置模式。 |
| OS10(config)# interface port-channel  5  | 指定终端设备的 LAG。在两个对等上使用相同的 LAG 编号。 |
| OS10(conf-if-po-5)# vlt-port-channel 5 | 将 LAG 指定为 VLT。 |
| OS10(conf-if-po-5)# exit | 退出 |
| OS10(config)# interface ethernet 1/1/10 | 进入接口配置模式。 |
| OS10(conf-if-eth1/1/10)# channel-group 5 mode active | 指定端口上的 LAG。 |

验证端口通道是否正常运行:

复制代码
OS10# show vlt 1 vlt-port-detail
VLT port channel ID : 5
VLT Unit ID    Port-Channel        Status      Configured ports     Active ports
----------------------------------------------------------------------------------
*1             port-channel5         up              1                   1
2              port-channel5         up              1                   1

验证和监控

复制代码
OS10# show vlt 1
Domain ID                   : 1
Unit ID                         : 1
Role                            : primary
Version                       : 1.0
Local System MAC address   : 90:b1:1c:f4:xx:xx
VLT MAC address           :  00:11:22:33:44:55 
IP address                       : fda5:74c8:xxxx:1::1
Delay-Restore timer        : 1000 seconds
Peer-Routing                   : Disabled
Peer-Routing-Timeout timer  : 0 seconds
VLTi Link Status
port-channel1000          : up
                                 
VLT Peer Unit ID  System MAC Address  Status  IP Address           Version
--------------------------------------------------------------------------
 2               90:b1:1c:f4:xx:xx   up      fda5:74c8:xxxx:1::2   1.0


OS10# show vlt 1 mismatch
          Peer-routing mismatch:
          No mismatch                
          VLAN mismatch:
          No mismatch        
          VLT VLAN mismatch:
          No mismatch


OS10# show running-configuration vlt
!
vlt domain 1
discovery-interface ethernet 1/1/1
discovery-interface ethernet 1/1/2
primary-priority 4096
vlt-mac 00:11:22:33:44:55 
backup destination 1.1.1.2
!
interface port-channel 5
vlt-port-channel 5
相关推荐
❥ღ Komo·4 小时前
Ansible Playbook入门指南:核心语法与实战
网络
人工智能训练5 小时前
Ubuntu中如何进入root用户
linux·运维·服务器·人工智能·ubuntu·ai编程·root
tianshiyeben5 小时前
WGCLOUD监控系统使用指南 - 告警消息整理完整版
linux·运维·服务器·系统安全·zabbix
Σdoughty5 小时前
DNS主从服务
网络
喜欢你,还有大家6 小时前
Docker-存储
运维·docker·容器
暂时先用这个名字6 小时前
信创时代下,PHP/MySQL应用的平滑迁移与运维管理升级(AI整理)
运维·mysql·php·信创·国产化·国产·迁移
CS_浮鱼6 小时前
【Linux】进程控制
linux·运维·网络
人工智能训练7 小时前
Docker中容器的备份方法和步骤
linux·运维·人工智能·ubuntu·docker·容器·nvidia
MasonYyp7 小时前
Docker安装和使用kkfileview
运维·docker·容器
渡我白衣7 小时前
深入 Linux 内核启动:从按下电源到用户登录的全景解剖
java·linux·运维·服务器·开发语言·c++·人工智能