Configuring a fibre channel port for trunking – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 171

Network OS NETCONF Operations Guide
139
53-1003231-02
Configuring a Fibre Channel port for trunking
11
Possible values include “l0”, “le”, “ld”, and “ls”. The default value is “l0”.
d. For LD and LS modes only, in the <desire-distance> element, set the desired distance.
e. For 8 Gbps ports only, in the <vc-link-init> element, set the fill word for the long distance
link to the same value as the fill word for the remote port.
Possible values include “idle” and “arb”. The default value is “idle”.
f.
On the Fabric OS end of the ISL, configure the Fibre Channel port with the same values set
in
using the Fabric OS portCfgFillWord and portCfgLongDistance
commands.
The following example sets the long distance mode to LS for a distance of 100 km.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1304" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<fc-port>
<name>8/0/1</name>
<fill-word>arbff-arbff</fill-word>
<long-distance>ls</long-distance>
<desire-distance>100</desire-distance>
<vc-link-init>arb</vc-link-init>
</fc-port>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1304" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Configuring a Fibre Channel port for trunking
A link can be configured to be part of a trunk group. Two or more links in a port group form a trunk
group when they are configured for the same speed, the same distance level, and their link
distances are nearly equal.
To enable a Fibre Channel port for trunking, perform the following steps.
1. Issue the <edit-config> RPC to configure the <interface> node in the
urn:brocade.comn:mgmt:brocade-interface namespace.
2. Under the <interface> node, include the <fc-port> node element.
3. Under the <fc-port> node element, include the following leaf elements.
a. In the <name> element, identify the port you want to configure. Identify the port by
rbridge-ID/slot/port.
b. Include the <trunk-enable/> element with no value.