API Guide

9. 在连接到 CNA 1 的接口上应用服务策略。
OS10(config)# interface ethernet 1/1/50
OS10(confifeth1/1/50)# servicepolicy input type networkqos pmap1
10. 配置连接到 NPG2 的接口。
OS10(config)# interface fibrechannel 1/1/5
OS10(config-iffc1/1/5)# vfabric 2
NPG2 交换机配置
1. 启用 NPG 功能。
OS10(config)# feature fc npg
2. 配置 vFabric
OS10(config)# vfabric 2
OS10(confvfabric2)# vlan 1000
OS10(confvfabric2)# name fcoe_fabric
OS10(confvfabric2)# fcoe fcmap 0efc02
3. 在连接到 NPG1 交换机的接口上应用 vFabric 配置。将端口模式更改为 F_Port
OS10(config)# interface fibrechannel 1/1/5
OS10(confiffc1/1/21)# vfabric 2
OS10(confiffc1/1/21)# fc portmode f
4. 在连接到 CNA 2 的接口上应用 vFabric 配置。
OS10(config)# interface ethernet 1/1/1
OS10(confifeth1/1/1)# vfabric 2
5. 全局启用 DCBX
OS10(config)# dcbx enable
6. 创建类别映射和策略映射。
OS10(config)# classmap type networkqos cmap1
OS10(configcmapnqos)# match qosgroup 3
OS10(config)# policymap type networkqos pmap1
OS10(configpmapnetworkqos)# class cmap1
OS10(configpmapcnqos)# pause
OS10(configpmapcnqos)# pfccos 3
7. 禁用连接到 CNA 2 的接口上的 LLFC
OS10(config)# interface ethernet 1/1/1
OS10(confifeth1/1/1)# no flowcontrol receive
8. 在连接到 CNA 2 的接口上启用 PFC 模式。
OS10(config)# interface ethernet 1/1/1
OS10(confifeth1/1/1)# priorityflowcontrol mode on
9. 在连接到 CNA 2 的接口上应用服务策略。
OS10(config)# interface ethernet 1/1/1
OS10(confifeth1/1/1)# servicepolicy input type networkqos pmap1
10. 配置连接到 FCF 的接口。
OS10(config)# interface fibrechannel 1/1/21
OS10(config-iffc1/1/21)# vfabric 2
344
光纤通道