interface 25GE1/0/9
eth-trunk 59
storm suppression broadcast cir 1 mbps
storm suppression multicast cir 1 mbps
storm suppression unknown-unicast packets 200
qos buffer queue 0 shared-threshold dynamic 1
qos buffer queue 3 shared-threshold static 33280 kbytes
qos buffer queue 4 shared-threshold static 33280 kbytes
qos drr 0 3 to 4
qos queue 0 drr weight 10
qos queue 3 drr weight 45
qos queue 4 drr weight 45
dcb pfc buffer 3 guaranteed 5 kbytes
dcb pfc buffer 3 xoff dynamic 4 xon offset 6 kbytes
dcb pfc buffer 3 hdrm 512 kbytes dcb pfc buffer 4 guaranteed 5 kbytes
dcb pfc buffer 4 xoff dynamic 4 xon offset 6 kbytes
dcb pfc buffer 4 hdrm 512 kbytes
dcb pfc enable mode manual
device transceiver 25GBASE-FIBER
system-view
# 创建二层聚合组59(对应华为Eth-Trunk59)
interface Bridge-Aggregation 59
port link-mode bridge
quit
# 进入25G接口 Twenty-FiveGigE1/0/9
interface Twenty-FiveGigE 1/0/9
. port link-mode bridge
# 加入聚合组59,等价华为 eth-trunk 59
port link-aggregation group 59
# ========== 风暴抑制 等价华为 ==========
# broadcast cir 1Mbps = 1000kbps
broadcast-suppression kbps 1000
# multicast cir 1Mbps
multicast-suppression kbps 1000
# unknown-unicast 200 pps
unicast-suppression pps 200
# ========== 介质类型:25G光纤模块,等价华为 device transceiver 25GBASE-FIBER ==========
port media-type fiber
# ========== QoS:信任802.1p,把dot1p优先级映射到本地队列 ==========
qos trust dot1p
# dot1p 0 → queue0;dot1p3→queue3;dot1p4→queue4(和华为队列一一对应)
qos map dot1p local-precedence 0 0
qos map dot1p local-precedence 3 3
qos map dot1p local-precedence 4 4
# ========== WRR字节调度,模拟华为DRR(10:45:45) ==========
qos wrr byte-count
qos wrr queue 0 group 1 weight 10
qos wrr queue 3 group 1 weight 45
qos wrr queue 4 group 1 weight 45
# ========== PFC强制开启(等价华为 dcb pfc enable mode manual,不DCBX协商) ==========
priority-flow-control enable
# dot1p 3、4开启no-drop无损(对应华为queue3、4 PFC)
priority-flow-control no-drop dot1p 3
priority-flow-control no-drop dot1p 4
# ========== PFC Buffer参数,对应华为dcb pfc buffer ==========
# queue3(dot1p3): guaranteed 5KB,xoff dynamic 4,xon offset 6KB,hdrm 512KB
priority-flow-control dot1p 3 reserved-buffer 5
priority-flow-control dot1p 3 ingress-buffer dynamic 4
priority-flow-control dot1p 3 ingress-threshold-offset 6
priority-flow-control dot1p 3 headroom 512
# queue4(dot1p4): 和3完全一致
priority-flow-control dot1p 4 reserved-buffer 5
priority-flow-control dot1p 4 ingress-buffer dynamic 4
priority-flow-control dot1p 4 ingress-threshold-offset 6
priority-flow-control dot1p 4 headroom 512
# ========== 队列共享缓存阈值(华为 qos buffer queue static/dynamic) ==========
# queue0 动态共享阈值
buffer egress cell queue 0 shared ratio 1
# queue3、4静态预留共享缓存33280KB
buffer egress cell queue 3 shared static 33280
buffer egress cell queue 4 shared static 33280
undo shutdown
quit
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
暂无评论