Configuring the mtu on an interface port – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 311

Network OS NETCONF Operations Guide
279
53-1003231-02
VLAN configuration and management
21
<name>22/0/1</name>
<shutdown/>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1902" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Configuring the MTU on an interface port
To configure the maximum transmission unit (MTU) on an interface port, perform the following
steps.
1. Issue the <edit-config> RPC to configure the <interface> node in the
urn:brocade.com:mgmt:brocade-interface namespace.
2. Under the <interface> element, specify the interface type element (<gigabitethernet>,
<tengigabitethernet>, <fortygigabitethernet>, or <hundredgigabitethernet>).
3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>, or
<hundredgigabitethernet> element, include the following elements.
a. In the <name> element, specify the port name in [rbridge-id/]slot/port format.
b. In the <shutdown> element, include the delete operation in the opening tag to enable the
interface port.
c. In the <mtu> element, set the new MTU value for the interface port.
The following example enables port 22/0/1 and sets its MTU value to 4200.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1903" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>22/0/1</name>
<shutdown xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
<mtu>4200</mtu>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1903" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>