interface GigabitEthernet1/10
switchport mode trunk
qos trust cos
auto qos voip trust
tx-queue 3
bandwidth percent 33
priority high
shape percent 33
spanning-tree link-type point-to-point
service-policy output autoqos-voip-policy
请问怎么把以上思科qos命令改为华三交换机可用配置?
(0)
最佳答案
# 进入接口
interface GigabitEthernet1/10
port link-type trunk
port trunk permit vlan all
# 信任COS(等价 cisco qos trust cos)
qos trust dot1p
# 等价 cisco auto qos voip trust
qos priority trust dot1p
# 队列3:带宽33% + 高优先级 + 限速33%
qos queue 3 shaping percent 33
qos queue 3 bandwidth percent 33
qos queue 3 sp
# 生成树 point-to-point
stp point-to-point force-true
# 等价 output service-policy(华三全局+接口应用)
qos apply policy autoqos-voip-policy outbound
interface GigabitEthernet1/10
switchport mode trunk
qos trust cos
auto qos voip trust
tx-queue 3
bandwidth percent 33
priority high
shape percent 33
spanning-tree link-type point-to-point
service-policy output autoqos-voip-policy
interface GigabitEthernet1/10
port link-type trunk ← trunk
qos trust dot1p ← trust cos
qos priority trust dot1p ← auto qos voip trust
qos queue 3 bandwidth percent 33 ← bandwidth percent 33
qos queue 3 sp ← priority high
qos queue 3 shaping percent 33 ← shape percent 33
stp point-to-point force-true ← spanning-tree link-type p2p
qos apply policy autoqos-voip-policy outbound ← service-policy output
qos trust cos → 华三:qos trust dot1pauto qos voip trust → 华三:qos priority trust dot1pqos priority trust 实现tx-queue 3 队列配置(最关键)qos queue 3 bandwidth percent 33
qos queue 3 sp ← 严格高优先级(等价 priority high)
qos queue 3 shaping percent 33
service-policy output → 华三:qos apply policy outbound
(0)
(0)
思科的autoqos-voip-policy是缺省自带的配置吗?
思科的autoqos-voip-policy是缺省自带的配置吗?
要将这段思科 QoS 配置迁移到 H3C 交换机上,核心思路是用 H3C 的 MQC 方式重新实现相同的 QoS 策略。
下面是每个命令的对照翻译和等效配置:
| 思科配置 | H3C 等效配置 | 说明 |
|---|---|---|
switchport mode trunk | port link-type trunk | 将接口设为 Trunk 模式。 |
qos trust cos | qos trust dot1p | 信任接口收到的 802.1p 优先级。 |
auto qos voip trust | voice-vlan qos trust | 在全局启用语音 VLAN 后,使用此命令信任语音流量。 |
tx-queue 3bandwidth percent 33priority highshape percent 33 | qos queue 3bandwidth 33queue 3 pqqos shape 33 | 配置队列3:分配33%带宽、设为优先级队列、并整形到33%。 |
spanning-tree link-type point-to-point | stp point-to-point | 将链路指定为点到点,用于加速 STP 收敛。 |
service-policy output autoqos-voip-policy | 需通过 MQC 方式重新定义 | 创建新的 Class-map 和 Policy-map 并应用。 |
关于 service-policy output autoqos-voip-policy 的替换方案
H3C 无法直接兼容思科的 Policy,需要根据原始策略中定义的流量分类和执行动作,使用 H3C 的 MQC 方式来重构。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明