Article Number: 000118094
命令 | 用途 |
Force10# configure |
输入配置模式。 |
Force10(conf)# protocol spanning-tree rstp |
进入RSTP配置模式。 |
Force10(conf-rstp)# bridge-priority 4096 (primary peer) Force10(conf-rstp)# bridge-priority 8192 (secondary peer) |
可选:配置 RSTP 桥接优先级。* 这些优先级对于 VLT 对并非唯一,而是用于显示对主交换机的首选项。使用4096的更高倍数,以避免主要交换机成为根网桥。 |
Force10(conf-rstp)# no disable |
启用生成树协议。 |
命令 | 用途 |
Force10# configure |
输入配置模式。 |
Force10(conf)# interface range fortyGigE 0/56 , fortyGigE 0/60 |
进入接口配置模式。请注意逗号前后所需的空格。 |
Force10(conf-if-range-fo-0/56,fo-0/60)# no shutdown |
启用接口范围。 |
Force10(conf-if-range-fo-0/56,fo-0/60)# interface port-channel 100 |
进入端口通道配置模式。 |
Force10(conf-if-po-100)# channel-member fortyGigE 0/56,60 |
将物理接口添加到端口通道。 |
Force10(conf-if-po-100)# no shutdown |
启用端口通道。 |
命令 | 用途 |
Force10# configure |
输入配置模式。 |
Force10(conf)# vlt domain 1 |
进入域ID 1-1000的VLT域配置模式。 |
Force10(conf-vlt-domain)# primary-priority 10 (primary peer) Force10(conf-vlt-domain)# primary-priority 20 (secondary peer) |
可选:为每个对等交换机指定 VLT 优先级。1-65535(从高到低) |
Force10(conf-vlt-domain)# back-up destination 1.1.1.2 (primary peer) Force10(conf-vlt-domain)# back-up destination 1.1.1.1 (secondary peer) |
指定对等交换机的管理IP地址。这将设置监视对等系统状态的心跳。 |
Force10(conf-vlt-domain)# peer-link port-channel 100 |
将VLTi LAG关联到VLT域。 |
Force10(conf-vlt-domain)# system-mac <mac-address>此外,在 VLT 对等交换机上配置相同的 MAC 地址。此命令用于最大程度地缩短VLT系统在一个对等交换机重新启动时在两个对等交换机上同步VLT域的默认MAC地址所需的时间。
命令 | 用途 |
Force10# configure |
进入配置模式 |
Force10(conf)# interface tengigabit 0/20 |
进入接口配置模式 |
Force10(conf-if-te-0/20)# port-channel-protocol lacp |
进入 LACP 配置模式 |
Force10(conf-if-te-0/20-lacp)# port-channel 20 mode active |
将 LACP LAG 的端口通道设置为“mode active” |
Force10(conf-if-te-0/20-lacp)# interface port-channel 20 |
进入端口通道配置模式 |
Force10(conf-if-po-20)# portmode hybrid |
端口模式混合允许接口传递已标记和未标记的流量。 |
Force10(conf-if-po-20)# switchport |
交换机端口将接口置于第 2 层模式。 |
Force10(conf-if-po-20)# vlt-peer-lag port-channel 20 |
将端口通道分配为 VLT 端口通道 |
Force10(conf-if-po-20)#end |
退出配置模式 |
Force10# write |
保存配置 |
Force10# show vlt brief VLT Domain Brief ------------------------------------------------- Domain ID: 1 Role: Primary Role Priority: 10 ICL Link Status: Up Heartbeat Status: Up VLT Peer Status: Up Local System MAC address: 00:01:e8:8b:19:37 Remote System MAC address: 00:01:e8:8b:18:b9 Configured System MAC address: aa:11:22:33:44:55
Force10# show vlt brief VLT Domain Brief ------------------------------------------------- Domain ID: 1 Role: Secondary Role Priority: 20 ICL Link Status: Up Heartbeat Status: Up VLT Peer Status: Up Local System MAC address: 00:01:e8:8b:18:b9 Remote System MAC address: 00:01:e8:8b:19:37 Configured System MAC address: aa:11:22:33:44:55
Force10# show vlt statistics ----------------------------------------------------- HeartBeat Messages Sent: 95446 HeartBeat Messages Received: 95440 ICL Hello's Sent: 95420 ICL Hello's Received: 95414 Domain Mismatch Errors: 0 Version Mismatch Errors: 0 Config Mismatch Errors: 0验证VLT备份链路状态:
Force10# show vlt backup-link VLT Backup Link -------------------------------------------------- Destination: 1.1.1.2 Peer HeartBeat status: Up HeartBeat Timer Interval: 1 HeartBeat Timeout: 3 UDP Port: 34998 HeartBeat Messages Sent: 95305 HeartBeat Messages Received: 95299
Force10# show vlt backup-link VLT Backup Link -------------------------------------------------- Destination: 1.1.1.1 Peer HeartBeat status: Up HeartBeat Timer Interval: 1 HeartBeat Timeout: 3 UDP Port: 34998 HeartBeat Messages Sent: 95305 HeartBeat Messages Received: 95299
Force10# show vlt mismatch
22 Mar 2024
5
How To