Obtaining interface to port-profile mapping – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 295

Advertising
background image

Network OS NETCONF Operations Guide

263

53-1003231-02

Obtaining the AMPP operational data

19

<last-received-port-profile-info>

<profile-name>auto-VM_Network</port-profile-name>

<profile-mac>00:50:56:b3:00:01</port-profile-mac>

</last-received-port-profile-info>

</get-port-profile-status>

</rpc>

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1731">

<port-profile xmlns="urn:brocade.com:mgmt:brocade-port-profile-ext">

<name>auto-VM_Network</name>

<ppid>9</ppid>

<is-active>true</is-active>

<mac-association>

<mac>00:50:56:b3:00:02</mac>

<applied-interface>

<interface-type>tengigabitethernet</interface-type>

<interface-name>9/0/53</interface-name>

</applied-interface>

</mac-association>

<has-more>true</has-more>

</port-profile>

</rpc-reply>

Obtaining interface to port-profile mapping

Issue the <get-port-profile-for-intf> custom RPC to return information about port-profiles to which
interfaces are applied. Include the <interface-type> and <interface-name> input parameters for
the first interface for which you want port profiling information. Check the <has-more> element in
the output to determine whether such information exists for more interfaces. If <has-more> returns
true, re-issue the RPC and include the <last-received-interface-info> node element. Under
<last-received-interface-info>, include the <interface-type> and <interface-name> elements from
the previous invocation of the RPC. Repeat until <has-more> returns false.

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1732">

<get-port-profile-for-intf

xmlns="urn:brocade.com:mgmt:brocade-interface-ext"/>

<interface-type>tengigabitethernet</interface-type>

<interface-name>9/0/53</interface-name>

</get-port-profile-for-intf>

</rpc>

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1732">

<interface xmlns="urn:brocade.com:mgmt:brocade-port-profile-ext">

<interface-type>tengigabitethernet</interface-type>

<interface-name>9/0/53</interface-name>

<port-profile>

<name>auto-VM_Network</name>

</port-profile>

</interface>

<has-more>true</has-more>

</rpc-reply>

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1732">

<get-port-profile-for-intf

xmlns="urn:brocade.com:mgmt:brocade-interface-ext"/>

<last-recevied-interface-info>

<interface-type>tengigabiethernet</interface-type>

<interface-name>9/0/53</interface-name>

Advertising