100 Network OS NETCONF Operations Guide
53-1003231-02
Configuring vLAGs for distributed Ethernet Fabrics
9
7. Repeat for all interfaces that must be part of the port-channel.
The following example configures physical interface 11/0/2 to port channel 4.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1907" 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>11/0/2</name>
<shutdown xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
<switchport>
<basic/>
<channel-group>
<port-int>4</port-int>
<mode>active</mode>
<type>standard</type>
</channel-group>
</switchport>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1907" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Retrieving Metro VCS configuration
Use the <get-config> RPC to retrieve the current configuration data and operational state data.
Refer to “Retrieving configuration data” on page 11 and “Retrieving operational data” on page 15
for detailed instructions.
Komentarze do niniejszej Instrukcji