Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 596

Advertising
background image

564

Network OS NETCONF Operations Guide

53-1003231-02

Configuring IGMP snooping

38

5. Under the <snooping> node, include the empty <qenable> node.

6. Issue the <edit-config> RPC to configure the <interface-vlan> node in the

urn:brocade.com:mgmt:brocade-interface namespace.

7. Under the <interface-vlan> node, include the <interface>/<vlan> hierarchy of node elements.

8. Under the <vlan> node, include the <name> leaf element, and set it to the VLAN number for

which you want to enable IGMP snooping.

9. Under the <vlan> node, include the <ip> node.

10. Under the <ip> node, include the <igmp> node element from the

urn:brocade.com:mgmt:brocade-igmp-snooping namespace.

11. Under the <igmp> node, include the <querier> node.

12. Under the <querier> node, include the empty <qenable> node to activate the IGMP querier

functionality for the VLAN.

The following example enables IGMP snooping for VLAN 10.

<?xml version="1.0" encoding="UTF-8"?>

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

<edit-config>

<target>

<running/>

</target>

<config>

<igmp-snooping xmlns="urn:brocade.com:mgmt:brocade-igmp-snooping">

<ip>

<igmp>

<snooping>

<enable/>

</snooping>

</igmp>

</ip>

</igmp-snooping>

<interface-vlan xmlns="urn:brocade.com:mgmt:brocade-interface">

<interface>

<vlan>

<name>10</name>

<ip>

<igmp

xmlns="urn:brocade.com:mgmt:brocade-igmp-snooping">

<snooping>

<querier>

<qenable/>

</querier>

</snooping>

</igmp>

</ip>

</vlan>

</interface>

</interface-vlan>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Advertising