如何在 Dell Networking Force10 交换机上使用流量控制以配置和管理暂停帧
概要: 如何在戴尔交换机上配置和管理暂停帧、在戴尔交换机上配置流量控制、在 Dell Force10 交换机上设置流量控制
手順
目标
1. 暂停帧的定义
2. 如何启用流量控制
3. 如何查看暂停帧的接口统计信息
暂停帧的定义
以太网暂停帧允许暂时停止数据传输。可能出现这样的情形:发送设备的数据传输速度超过目标设备的接受能力。目标设备将暂停帧发送回源,停止发送方的传输一段时间。
暂停帧由 IEEE 802.3x 定义,并使用 MAC 控制帧来执行暂停命令。以太网暂停帧仅在全双工上受支持。
如果端口已超出订阅,以太网暂停帧流量控制无法确保不会出现丢失。
如何启用流量控制
控制系统如何在以太网接口上响应和生成 802.3x 暂停帧。默认值为 rx off tx off。
要启用暂停帧,请在 1 到 10 个 gig 接口端口中使用以下命令。
- rx on - 处理此端口上接收的流量控制帧。
- rx off - 忽略此端口上接收的流量控制帧。
- tx on - 在接收到更高的流量时,将控制帧从该端口发送到连接的设备。
- tx off - 在接收到更高的流量时,流量控制帧不会从该端口发送到连接的设备。
如何查看暂停帧的接口统计信息
您可以使用以下命令,查看自上次清除计数器后的当前降频数:throttles。 as pause framesDell Networking Force10 switches report
Dell#show interface te 0/1
TenGigabitEthernet 0/1失效,线协议失效
硬件为DellEth,地址为00:01:e8:8b:18:bb
当前地址为00:01:e8:8b:18:bb
可插拔介质不存在
接口索引为 1048708
Internet address is not set
Mode of IPv4 Address Assignment : NONE
DHCP客户端ID:0001e88b18bb
MTU 1554 bytes, IP MTU 1500 bytes
LineSpeed auto
Flowcontrol rx off tx off
ARP type: ARPA, ARP Timeout 04:00:00
Last clearing of "show interface" counters 16:48:20
Queueing strategy: fifo
Input Statistics:
0 packets, 0 bytes
0 64-byte pkts, 0 over 64-byte pkts, 0 over 127-byte pkts
0 over 255-byte pkts, 0 over 511-byte pkts, 0 over 1023-byte pkts
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 runts, 0 giants, 0 throttles
0 CRC, 0 overrun, 0 discarded
Output Statistics:
0 packets, 0 bytes, 0 underruns
0 64-byte pkts, 0 over 64-byte pkts, 0 over 127-byte pkts
0 over 255-byte pkts, 0 over 511-byte pkts, 0 over 1023-byte pkts
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 throttles, 0 discarded, 0 collisions, 0 wreddrops
Rate info (interval 299 seconds):
Input 00.00 Mbits/sec, 0 packets/sec, 0.00% of line-rate
Output 00.00 Mbits/sec, 0 packets/sec, 0.00% of line-rate
上次接口状态更改后的时间:16:46:37