Users Guide

lldpad 是用于启动和配置链路层发现协议 (LLDP) 的实用程序。LLDP 启用 IEEE 数据中心桥接扩展 (DCBx),从而能够实现 FCoE VLAN 发现、参
数协商和发起会话。
1. 启动 lldpad 服务并配置为在启动时启动。
root# service lldpad start
Starting lldpad: [done]
root# chkconfig lldpad on
注意:此命令没有输出,但会使 lldpad 在启动系统时自动启动。
2. 使用以下命令将每个物理接口的 DCB 设置调整为用于 FCoE
注意dcbtool 会更改 /var/lib/lldpad/lldpad.conf
root# dcbtool sc eth3 dcb on
root# dcbtool sc eth3 dcb on
Version: 2
Command: Set Config
Feature: DCB State
Port: eth3
Status: Successful
root# dcbtool sc eth3 app:fcoe e:1
root# dcbtool sc eth3 app:fcoe e:1
Version: 2
Command: Set Config
Feature: Application FCoE
Port: eth3
Status: Successful
root# dcbtool sc eth3 pfc e:1 a:1 w:1(此可选命令确保以默认方式配置 pfc,这在新系统中不必要)
root# dcbtool sc eth3 pfc e:1 a:1 w:1
Version: 2
Command: Set Config
Feature: Priority Flow Control
Port: eth3
Status: Successful
root# dcbtool go eth3 pfc(此可选命令用于验证设置是否正确)
root# dcbtool go eth3 pfc
Version: 2
Command: Get Oper
Feature: Priority Flow Control
Port: eth3
Status: Successful
Oper Version: 0
Max Version: 0
Errors: 0x00 - none
Oper Mode: true
Syncd: true
pfcup: 0 0 0 1 0 0 0 0
root# dcbtool go eth3 pfc(此可选命令用于验证设置是否正确)
root# dcbtool go eth3 app:fcoe
Version: 2
Command: Get Oper
Feature: Application FCoE
Port: eth3
Status: Successful
Oper Version: 0
Max Version: 0
Errors: 0x00 - none
Oper Mode: true
Syncd: true
appcfg: 08
配置 Intel® Ethernet FCoE
1. VLAN 网卡创建配置文件: 要拷贝 cfg 文件,运行命令:
注意:样本文件为 cfg-ethx。将其复制到反映 FCoE 网络接口名称的文件(例如 cfg-eth3)。
root# cp /etc/fcoe/cfg-ethx /etc/fcoe/cfg-eth3