Igmp-Mld-Snooping-Netconf
此内容尚不支持你的语言。
Igmp Mld Snooping
Section titled “Igmp Mld Snooping”Resources Summary
Section titled “Resources Summary”| YANG Path | get/get-config | edit-config | rpc |
|---|---|---|---|
| /igmp-mld-snooping | Y | merge, replace, create, delete | — |
| /igmp-mld-snooping/global | Y | merge, replace, create, delete | — |
| /igmp-mld-snooping/groups/{vlan}/{dst-ip}/{src-ip} | Y | merge, replace, create, delete | — |
| /igmp-mld-snooping/groups/{vlan}/{dst-ip}/{src-ip}/output-interfaces /{interface}/{uvlan} | Y | merge, replace, create, delete | — |
| /show-igmp-mld-snooping-group | — | — | Y |
| /show-igmp-snooping | — | — | Y |
| /show-igmp-snooping-mrouter | — | — | Y |
| /show-igmp-snooping-mvlan | — | — | Y |
| /show-mld-snooping | — | — | Y |
| /show-mld-snooping-mrouter | — | — | Y |
| /show-mld-snooping-mvlan | — | — | Y |
| /vlans/{vlanid}/igmp-mld-snooping | Y | merge, replace, create, delete | — |
| /vlans/{vlanid}/igmp-mld-snooping/group-limits/{interface} | Y | merge, replace, create, delete | — |
| /vlans/{vlanid}/igmp-mld-snooping/igmp-snooping | Y | merge, replace, create, delete | — |
| /vlans/{vlanid}/igmp-mld-snooping/igmp-snooping/mrouter | Y | merge, replace, create, delete | — |
| /vlans/{vlanid}/igmp-mld-snooping/igmp-snooping/mrouter/mrouter-interfaces /{interface} | Y | merge, replace, create, delete | — |
| /vlans/{vlanid}/igmp-mld-snooping/igmp-snooping/mvlan | Y | merge, replace, create, delete | — |
| /vlans/{vlanid}/igmp-mld-snooping/igmp-snooping/snooping | Y | merge, replace, create, delete | — |
| /vlans/{vlanid}/igmp-mld-snooping/mld-snooping | Y | merge, replace, create, delete | — |
| /vlans/{vlanid}/igmp-mld-snooping/mld-snooping/mrouter | Y | merge, replace, create, delete | — |
| /vlans/{vlanid}/igmp-mld-snooping/mld-snooping/mrouter/mrouter-interfaces /{interface} | Y | merge, replace, create, delete | — |
| /vlans/{vlanid}/igmp-mld-snooping/mld-snooping/mvlan | Y | merge, replace, create, delete | — |
| /vlans/{vlanid}/igmp-mld-snooping/mld-snooping/snooping | Y | merge, replace, create, delete | — |
Examples
Section titled “Examples”This chapter provides examples on how to use Netconf to manage igmp-mld-snoopig configurations on AsterNOS devices.
Enable L2MC
Section titled “Enable L2MC”Igmp-mld snooping and mvlan can take effect only when the global enable is true.
Request example to enable mcast-snooping via edit-config.
<config> <top> <igmp-mld-snooping> <global operation="merge"> <enabled>true</enabled> </global> </igmp-mld-snooping> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:54ef1dfb-ca04-4f75-832c-6eb45c9258d5"> <ok/></rpc-reply>Disable L2MC
Section titled “Disable L2MC”Request example to disable mcast-snooping via edit-config.
<config> <top> <igmp-mld-snooping> <global operation="merge"> <enabled>false</enabled> </global> </igmp-mld-snooping> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:54ef1dfb-ca04-4f75-832c-6eb45c9258d5"> <ok/></rpc-reply>Create IGMP/MLD Snooping For VLAN
Section titled “Create IGMP/MLD Snooping For VLAN”Other parameters can only be configured when enable is true. igmp/mld proxy and igmp/mld querier can’t be enabled together.
Request example to enable igmp snooping and querier for vlan 100 via edit-config.
<config> <top> <vlans> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping> <igmp-snooping> <snooping> <enable>true</enable> <fast-leave>true</fast-leave> <proxy-enable>false</proxy-enable> <querier-enable>true</querier-enable> <querier-ip>3.4.5.6</querier-ip> <version>v2</version> <query-interval>100</query-interval> <query-max-response-time>3</query-max-response-time> <robustness>2</robustness> <last-member-query-interval>100</last-member-query-interval> </snooping> </igmp-snooping> <mld-snooping> <snooping> <enable>true</enable> <fast-leave>true</fast-leave> <proxy-enable>false</proxy-enable> <querier-enable>true</querier-enable> <querier-ip>3000::1</querier-ip> <version>v2</version> <query-interval>100</query-interval> <query-max-response-time>3</query-max-response-time> <robustness>2</robustness> <last-member-query-interval>100</last-member-query-interval> </snooping> </mld-snooping> </igmp-mld-snooping> </vlan> </vlans> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:5e585d5e-5c86-4b0a-b5c4-ec74fe4a8e11"> <ok/></rpc-reply>GET IGMP/MLD Snooping Of VLAN
Section titled “GET IGMP/MLD Snooping Of VLAN”Request example to get igmp-mld snooping configurations of vlan 100 via edit-config.
<filter type="subtree"> <top> <vlans> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping> </igmp-mld-snooping> </vlan> </vlans> </top></filter>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:8b748c6c-4588-48a9-8475-1dc4e8b3dd39"> <data> <top> <vlans xmlns="http://asterfusion.com/ns/yang/asternos-vlan"> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <igmp-snooping> <snooping> <enable>true</enable> <fast-leave>true</fast-leave> <proxy-enable>false</proxy-enable> <querier-enable>true</querier-enable> <querier-ip>3.4.5.6</querier-ip> <version>v2</version> <query-interval>100</query-interval> <query-max-response-time>3</query-max-response-time> <robustness>2</robustness> <last-member-query-interval>100</last-member-query-interval> </snooping> <mrouter> <mrouter-aging>180</mrouter-aging> </mrouter> </igmp-snooping> <mld-snooping> <snooping> <enable>true</enable> <fast-leave>true</fast-leave> <proxy-enable>false</proxy-enable> <querier-enable>true</querier-enable> <querier-ip>3000::1</querier-ip> <version>v2</version> <query-interval>100</query-interval> <query-max-response-time>3</query-max-response-time> <robustness>2</robustness> <last-member-query-interval>100</last-member-query-interval> </snooping> <mrouter> <mrouter-aging>180</mrouter-aging> </mrouter> </mld-snooping> </igmp-mld-snooping> </vlan> </vlans> </top> </data></rpc-reply>Delete IGMP/MLD Snooping From VLAN
Section titled “Delete IGMP/MLD Snooping From VLAN”Request example to delete igmp-mld snooping of vlan 100 via edit-config.
<config> <top> <vlans> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping operation="delete"> </igmp-mld-snooping> </vlan> </vlans> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:6848e0d6-1efa-4299-93dc-ec1419a35e58"> <ok/></rpc-reply>Create Static Mrouter Interface And Set Mrouter Aging Of VLAN
Section titled “Create Static Mrouter Interface And Set Mrouter Aging Of VLAN”Mrouter interface can it truly take effect only when be added to corresponding VLAN. The default mrouter aging time is 180 s.
Request example to create static mrouter interface of vlan 100 via edit-config.
<config> <top> <vlans> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping> <igmp-snooping> <mrouter> <mrouter-interfaces> <mrouter-interface> <interface>Ethernet1</interface> <type>static</type> </mrouter-interface> <mrouter-interface> <interface>Ethernet2</interface> <type>static</type> </mrouter-interface> </mrouter-interfaces> <mrouter-aging>500</mrouter-aging> </mrouter> </igmp-snooping> </igmp-mld-snooping> </vlan> </vlans> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:fe960fc9-0761-41cd-bc71-db6669027d4b"> <ok/></rpc-reply>Get Mrouter Information Of VLAN
Section titled “Get Mrouter Information Of VLAN”Currently, only static mrouter interfaces can be obtained.
Request example to get mrouter Information of vlan 100 via get-config.
<filter type="subtree"> <top xmlns="http://asterfusion.com/ns/yang/asternos-interfaces"> <vlans> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping> <igmp-snooping> <mrouter> </mrouter> </igmp-snooping> </igmp-mld-snooping> </vlan> </vlans> </top></filter>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:22f3d443-9e0d-4a9c-9e79-58501d7dbbcd"> <data> <top> <vlans xmlns="http://asterfusion.com/ns/yang/asternos-vlan"> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <igmp-snooping> <mrouter> <mrouter-aging>500</mrouter-aging> <mrouter-interfaces> <mrouter-interface> <interface>Ethernet1</interface> <type>static</type> </mrouter-interface> <mrouter-interface> <interface>Ethernet2</interface> <type>static</type> </mrouter-interface> </mrouter-interfaces> </mrouter> </igmp-snooping> </igmp-mld-snooping> </vlan> </vlans> </top> </data></rpc-reply>Delete Static Mrouter Interface Of VLAN
Section titled “Delete Static Mrouter Interface Of VLAN”Request example to delete the specified static mrouter interface of vlan 100 via edit-config.
<config> <top> <vlans> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping> <igmp-snooping> <mrouter> <mrouter-interfaces> <mrouter-interface operation="delete"> <interface>Ethernet1</interface> </mrouter-interface> </mrouter-interfaces> </mrouter> </igmp-snooping> </igmp-mld-snooping> </vlan> </vlans> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:68c1536f-e73f-4314-9488-8f4833e286d8"> <ok/></rpc-reply>Set Multicast Group Limit Of Interface
Section titled “Set Multicast Group Limit Of Interface”Request example to set multicast group limit of interface 1 on vlan 100 via edit-config.
<config> <top> <vlans> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping> <group-limits> <group-limit> <interface>Ethernet1</interface> <max-group>10</max-group> </group-limit> </group-limits> </igmp-mld-snooping> </vlan> </vlans> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:68c1536f-e73f-4314-9488-8f4833e286d8"> <ok/></rpc-reply>Create L2 Static Multicast Group
Section titled “Create L2 Static Multicast Group”Currently does not support configuring source ip(except 0.0.0.0 or 0::0) when creating static multicast group. Static multicast group only support include mode.
Request example to create l2 static multicast group via edit-config.
<config> <top> <igmp-mld-snooping operation="create"> <groups> <group> <vlan>100</vlan> <dst-ip>224.1.1.1</dst-ip> <src-ip>0.0.0.0</src-ip> <output-interfaces> <output-interface> <interface>Ethernet1</interface> <uvlan>100</uvlan> </output-interface> </output-interfaces> </group> <group> <vlan>100</vlan> <dst-ip>ff1e::1:1:1:1</dst-ip> <src-ip>0::0</src-ip> <output-interfaces> <output-interface> <interface>Ethernet1</interface> <uvlan>100</uvlan> </output-interface> </output-interfaces> </group> </groups> </igmp-mld-snooping> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:9cd62d4f-8f9d-4ee3-a256-bc08e9bf9739"> <ok/></rpc-reply>Get Current Static Multicast Group
Section titled “Get Current Static Multicast Group”Currently, only static multicast group can be obtained.
Request example to get all static multicast group via get-config.
<filter type="subtree"> <top> <igmp-mld-snooping> <groups/> </igmp-mld-snooping> </top></filter>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:a54d56ff-7560-4bc5-a4e7-d530def7ecc6"> <data> <top> <igmp-mld-snooping xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <groups> <group> <dst-ip>224.1.1.1</dst-ip> <src-ip>0.0.0.0</src-ip> <vlan>100</vlan> <output-interfaces> <output-interface> <interface>Ethernet1</interface> <uvlan>100</uvlan> </output-interface> </output-interfaces> </group> <group> <dst-ip>ff1e::1:1:1:1</dst-ip> <src-ip>::</src-ip> <vlan>100</vlan> <output-interfaces> <output-interface> <interface>Ethernet1</interface> <uvlan>100</uvlan> </output-interface> </output-interfaces> </group> </groups> </igmp-mld-snooping> </top> </data></rpc-reply>Delete L2 Static Multicast Group
Section titled “Delete L2 Static Multicast Group”Request example to delete specified l2 static multicast group edit-config.
<config> <top> <igmp-mld-snooping> <groups> <group operation="delete"> <vlan>100</vlan> <dst-ip>224.1.1.1</dst-ip> <src-ip>0.0.0.0</src-ip> </group> </groups> </igmp-mld-snooping> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:83141dab-051a-409a-a26c-bcb0c05744ac"> <ok/></rpc-reply>Delete All L2 Static Multicast Group
Section titled “Delete All L2 Static Multicast Group”Request example to delete all l2 static multicast group edit-config.
<config> <top> <igmp-mld-snooping> <groups operation="delete"> </groups> </igmp-mld-snooping> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:26504b77-d5a4-42ab-8090-0c15d9709e89"> <ok/></rpc-reply>Create MVLAN
Section titled “Create MVLAN”Request example to create mld-snooping mvlan 100 with user vlan 101/102/103/105 edit-config.
<config> <top> <vlans> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping> <mld-snooping> <mvlan operation="create"> <user-vlans>101</user-vlans> <user-vlans>102</user-vlans> <user-vlans>103</user-vlans> <user-vlans>105</user-vlans> </mvlan> </mld-snooping> </igmp-mld-snooping> </vlan> </vlans> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:26504b77-d5a4-42ab-8090-0c15d9709e89"> <ok/></rpc-reply>Get MVLAN
Section titled “Get MVLAN”Request example to get mld-snooping mvlan 100 via edit-config.
<filter type="subtree"> <top> <vlans> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping> <mld-snooping> <mvlan> </mvlan> </mld-snooping> </igmp-mld-snooping> </vlan> </vlans> </top></filter>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:f12a2ec3-2b83-47ee-901b-216636be2598"> <data> <top> <vlans xmlns="http://asterfusion.com/ns/yang/asternos-vlan"> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <mld-snooping> <mvlan> <user-vlans>101</user-vlans> <user-vlans>102</user-vlans> <user-vlans>103</user-vlans> <user-vlans>105</user-vlans> </mvlan> </mld-snooping> </igmp-mld-snooping> </vlan> </vlans> </top> </data></rpc-reply>Modify MVLAN
Section titled “Modify MVLAN”Request example to modify mld-snooping mvlan 100 via edit-config.
<config> <top> <vlans> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping> <mld-snooping> <mvlan operation="replace"> <user-vlans>101</user-vlans> <user-vlans>102</user-vlans> </mvlan> </mld-snooping> </igmp-mld-snooping> </vlan> </vlans> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:26504b77-d5a4-42ab-8090-0c15d9709e89"> <ok/></rpc-reply>Delete MVLAN
Section titled “Delete MVLAN”Request example to delete mld-snooping mvlan 100 via edit-config.
<config> <top> <vlans> <vlan> <vlanid>100</vlanid> <igmp-mld-snooping> <mld-snooping> <mvlan operation="delete"> </mvlan> </mld-snooping> </igmp-mld-snooping> </vlan> </vlans> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:7e3584b4-66d6-40d3-afc7-462cc05b6c28"> <ok/></rpc-reply>Show The Multicast Groups Of Device
Section titled “Show The Multicast Groups Of Device”All effective multicast table entries will be displayed, including static and dynamic table entries.
Request example to show multicast group of vlan 100 via rpc show-igmp-mld-snooping-group.
<show-igmp-mld-snooping-group> <vlan>100</vlan></show-igmp-mld-snooping-group>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:d1ee0e18-fb26-47aa-942c-10e20b338d32"> <data xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <groups> <group> <dst-ip>224.1.1.1</dst-ip> <src-ip>0.0.0.0</src-ip> <vlan>100</vlan> <output-interfaces> <output-interface> <interface>Ethernet1</interface> <uvlan>100</uvlan> <mode>include</mode> <type>static</type> </output-interface> </output-interfaces> </group> <group> <dst-ip>224.1.1.2</dst-ip> <src-ip>0.0.0.0</src-ip> <vlan>100</vlan> <output-interfaces> <output-interface> <interface>Ethernet1</interface> <uvlan>100</uvlan> <mode>include</mode> <type>dynamic</type> </output-interface> </output-interfaces> </group> <group> <dst-ip>ff1e::1:1:1:1</dst-ip> <src-ip>::</src-ip> <vlan>100</vlan> <output-interfaces> <output-interface> <interface>Ethernet1</interface> <uvlan>100</uvlan> <mode>include</mode> <type>static</type> </output-interface> </output-interfaces> </group> </groups> </data></rpc-reply>Request example to show multicast group of all vlan via rpc show-igmp-mld-snooping-group.
<show-igmp-mld-snooping-group/>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:7b1acc26-2ba2-47a2-9a42-b17109934994"> <data xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <groups> <group> <dst-ip>224.1.1.1</dst-ip> <src-ip>0.0.0.0</src-ip> <vlan>100</vlan> <output-interfaces> <output-interface> <interface>Ethernet1</interface> <uvlan>100</uvlan> <mode>include</mode> <type>static</type> </output-interface> </output-interfaces> </group> <group> <dst-ip>224.1.1.2</dst-ip> <src-ip>0.0.0.0</src-ip> <vlan>100</vlan> <output-interfaces> <output-interface> <interface>Ethernet1</interface> <uvlan>100</uvlan> <mode>include</mode> <type>dynamic</type> </output-interface> </output-interfaces> </group> <group> <dst-ip>ff1e::1:1:1:1</dst-ip> <src-ip>::</src-ip> <vlan>100</vlan> <output-interfaces> <output-interface> <interface>Ethernet1</interface> <uvlan>100</uvlan> <mode>include</mode> <type>static</type> </output-interface> </output-interfaces> </group> </groups> </data></rpc-reply>Show IGMP-snooping Configurations Of VLAN
Section titled “Show IGMP-snooping Configurations Of VLAN”Request example to show igmp snooping configurations of vlan 100 via rpc show-igmp-snooping.
<show-igmp-snooping> <vlan>100</vlan></show-igmp-snooping>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:cb5fd1a1-bac8-493d-b701-8bf1203d7682"> <data xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <snooping> <vlan>100</vlan> <enable>true</enable> <fast-leave>false</fast-leave> <proxy-enable>false</proxy-enable> <querier-enable>false</querier-enable> <querier-ip>0.0.0.0</querier-ip> <version>v2</version> <robustness>2</robustness> <last-member-query-interval>1000</last-member-query-interval> </snooping> </data></rpc-reply>Show MLD-snooping Configurations Of VLAN
Section titled “Show MLD-snooping Configurations Of VLAN”Request example to show mld snooping configurations of vlan 100 via rpc show-mld-snooping.
<show-mld-snooping> <vlan>100</vlan></show-mld-snooping>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:99ce6690-729b-4c9c-9c4a-cfa604cd5e7d"> <data xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <snooping> <vlan>100</vlan> <enable>true</enable> <fast-leave>false</fast-leave> <proxy-enable>false</proxy-enable> <querier-enable>false</querier-enable> <querier-ip>::</querier-ip> <version>v1</version> <robustness>2</robustness> <last-member-query-interval>1000</last-member-query-interval> </snooping> </data></rpc-reply>Show IGMP-snooping MVLAN Configurations
Section titled “Show IGMP-snooping MVLAN Configurations”Request example to show igmp snooping mvlan configurations via rpc show-igmp-snooping-mvlan.
<show-igmp-snooping-mvlan/>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:b9494ffe-cee8-42be-8803-688ab45b1558"> <data xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <mvlan> <vlan>100</vlan> <user-vlans>101</user-vlans> <user-vlans>102</user-vlans> </mvlan> </data></rpc-reply>Show MLD-snooping MVLAN Configurations
Section titled “Show MLD-snooping MVLAN Configurations”Request example to show mld snooping mvlan configurations via rpc mvlan.
<show-mld-snooping-mvlan/>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:3e16b1a4-3cff-4e0f-9593-c82cc37e5cb8"> <data xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <mvlan> <vlan>100</vlan> <user-vlans>101</user-vlans> <user-vlans>102</user-vlans> </mvlan> </data></rpc-reply>Show The IGMP Mrouter Information
Section titled “Show The IGMP Mrouter Information”Request example to show igmp mrouter information via rpc show-igmp-snooping-mrouter.
All effective igmp mrouter will be displayed, including static and dynamic mrouter.
<show-igmp-snooping-mrouter/>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:031611b1-bd1c-4507-8ad6-4995b65525a4"> <data xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <mrouter> <vlan>100</vlan> <aging>500</aging> <interfaces> <interface>Ethernet1</interface> <type>static</type> </interfaces> <interfaces> <interface>Ethernet3</interface> <type>dynamic</type> </interfaces> </mrouter> </data></rpc-reply>Show The MLD Mrouter Information
Section titled “Show The MLD Mrouter Information”Request example to show mld mrouter information via rpc show-mld-snooping-mrouter.
All effective mld mrouter will be displayed, including static and dynamic mrouter.
<show-mld-snooping-mrouter/>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:27741f46-c77a-4091-97e5-e86eab4984ae"> <data xmlns="http://asterfusion.com/ns/yang/asternos-igmp-mld-snooping"> <mrouter> <vlan>100</vlan> <aging>180</aging> <interfaces> <interface>Ethernet1</interface> <type>static</type> </interfaces> <interfaces> <interface>Ethernet3</interface> <type>dynamic</type> </interfaces> </mrouter> </data></rpc-reply>Properties Descriptions
Section titled “Properties Descriptions”Igmp Mld Snooping
Section titled “Igmp Mld Snooping”Tree Diagram
module: asternos-igmp-mld-snooping +--rw igmp-mld-snooping +--rw global | +--rw enabled? boolean +--rw groups +--rw group* [vlan dst-ip src-ip] +--rw dst-ip inet:ip-address-no-zone +--rw src-ip inet:ip-address-no-zone +--rw vlan cmn:vlan-id +--rw output-interfaces +--rw output-interface* [interface uvlan] +--rw interface union +--rw uvlan cmn:vlan-id +--rw mode? enumeration +--ro type? enumeration
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| igmp-mld-snooping | M | Path-only node, has no configurable value. Config the igmp-snooping and mld-snooping function of the system. | |
| global | M | Path-only node, has no configurable value. | |
| enabled | O | ”true" "false” | Enable l2 multicast functionality on system level. The multicast container is disabled by default. If the device needs to forward and learn multicast data, this must be enabled. Default value: False |
| groups | M | Path-only node, has no configurable value. The group of snooping multicast. | |
| group | M | Path-only node, has no configurable value. The list of l2 snooping multicast groups. | |
| dst-ip | M | inet:ip-address-no-zone | The destination group address. |
| src-ip | M | inet:ip-address-no-zone | The source group address. If the src-ip is 0.0.0.0 or 0::0, this static group is (*,G) group, otherwise this static group is (G,S) group. |
| vlan | M | cmn:vlan-id | The vlan id of the multicast group. |
| output-interfaces | M | Path-only node, has no configurable value. | |
| output-interface | M | Path-only node, has no configurable value. | |
| interface | O | Ethernet name | The egress L2 port of the multicast group. |
| uvlan | O | cmn:vlan-id | The user vlan id of the output interface. Currently, the user vlan id need to be the same as the vlan id in parent node. |
| mode | O | ”include" "exclude” | The filter mode of the multicast group. The include mode means that the output interface is included in the multicast group. The exclude mode means that the output interface is excluded from the multicast group. |
| type | RO | ”static" "dynamic” | The mode of the multicast group. The static group is configured by user, and the dynamic group is learned by device. Default value: static |
Global
Section titled “Global”Tree Diagram
module: asternos-igmp-mld-snooping +--rw igmp-mld-snooping +--rw global +--rw enabled? boolean
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| global | M | Path-only node, has no configurable value. | |
| enabled | O | ”true" "false” | Enable l2 multicast functionality on system level. The multicast container is disabled by default. If the device needs to forward and learn multicast data, this must be enabled. Default value: False |
The group of snooping multicast
Section titled “The group of snooping multicast”Tree Diagram
module: asternos-igmp-mld-snooping +--rw igmp-mld-snooping +--rw groups +--rw group* [vlan dst-ip src-ip] +--rw dst-ip inet:ip-address-no-zone +--rw src-ip inet:ip-address-no-zone +--rw vlan cmn:vlan-id +--rw output-interfaces +--rw output-interface* [interface uvlan] +--rw interface union +--rw uvlan cmn:vlan-id +--rw mode? enumeration +--ro type? enumeration
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| groups | M | Path-only node, has no configurable value. The group of snooping multicast. | |
| group | M | Path-only node, has no configurable value. The list of l2 snooping multicast groups. | |
| dst-ip | M | inet:ip-address-no-zone | The destination group address. |
| src-ip | M | inet:ip-address-no-zone | The source group address. If the src-ip is 0.0.0.0 or 0::0, this static group is (*,G) group, otherwise this static group is (G,S) group. |
| vlan | M | cmn:vlan-id | The vlan id of the multicast group. |
| output-interfaces | M | Path-only node, has no configurable value. | |
| output-interface | M | Path-only node, has no configurable value. | |
| interface | O | Ethernet name | The egress L2 port of the multicast group. |
| uvlan | O | cmn:vlan-id | The user vlan id of the output interface. Currently, the user vlan id need to be the same as the vlan id in parent node. |
| mode | O | ”include" "exclude” | The filter mode of the multicast group. The include mode means that the output interface is included in the multicast group. The exclude mode means that the output interface is excluded from the multicast group. |
| type | RO | ”static" "dynamic” | The mode of the multicast group. The static group is configured by user, and the dynamic group is learned by device. Default value: static |
Output Interface
Section titled “Output Interface”Tree Diagram
module: asternos-igmp-mld-snooping +--rw igmp-mld-snooping +--rw groups
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingIgmp Mld Snooping
Section titled “Igmp Mld Snooping”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingGroup Limit
Section titled “Group Limit”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingIgmp Snooping
Section titled “Igmp Snooping”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingMrouter
Section titled “Mrouter”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingMrouter Interface
Section titled “Mrouter Interface”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingTree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingSnooping
Section titled “Snooping”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingMld Snooping
Section titled “Mld Snooping”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingMrouter
Section titled “Mrouter”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingMrouter Interface
Section titled “Mrouter Interface”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingTree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingSnooping
Section titled “Snooping”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snoopingShow Igmp Mld Snooping Group
Section titled “Show Igmp Mld Snooping Group”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snooping
rpcs: +---x show-igmp-mld-snooping-group +---w input | +---w vlan? union | +---w interface? union +--ro output +--ro data +--ro groups +--ro group* [vlan dst-ip src-ip] +--ro dst-ip inet:ip-address-no-zone +--ro src-ip inet:ip-address-no-zone +--ro vlan cmn:vlan-id +--ro output-interfaces +--ro output-interface* [interface uvlan] +--ro interface union +--ro uvlan cmn:vlan-id +--ro mode? enumeration +--ro type? enumerationTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-igmp-mld-snooping-group | O | ||
| vlan | O | 1..4094 | The vlan id related to the snooping group. Default value: all |
| interface | O | Ethernet name | The interface related to the snooping group. Default value: all |
| data | M | Path-only node, has no configurable value. igmp-snooping and mld-snooping multicast groups. | |
| groups | M | Path-only node, has no configurable value. The group of snooping multicast. | |
| group | M | Path-only node, has no configurable value. The list of l2 snooping multicast groups. | |
| dst-ip | M | inet:ip-address-no-zone | The destination group address. |
| src-ip | M | inet:ip-address-no-zone | The source group address. If the src-ip is 0.0.0.0 or 0::0, this static group is (*,G) group, otherwise this static group is (G,S) group. |
| vlan | M | cmn:vlan-id | The vlan id of the multicast group. |
| output-interfaces | M | Path-only node, has no configurable value. | |
| output-interface | M | Path-only node, has no configurable value. | |
| interface | O | Ethernet name | The egress L2 port of the multicast group. |
| uvlan | O | cmn:vlan-id | The user vlan id of the output interface. Currently, the user vlan id need to be the same as the vlan id in parent node. |
| mode | O | ”include" "exclude” | The filter mode of the multicast group. The include mode means that the output interface is included in the multicast group. The exclude mode means that the output interface is excluded from the multicast group. |
| type | RO | ”static" "dynamic” | The mode of the multicast group. The static group is configured by user, and the dynamic group is learned by device. Default value: static |
Show Igmp Snooping
Section titled “Show Igmp Snooping”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snooping
rpcs: +---x show-igmp-snooping +---w input | +---w vlan? union +--ro output +--ro data +--ro snooping* [vlan] +--ro vlan cmn:vlan-id +--ro enable? boolean +--ro fast-leave? boolean +--ro proxy-enable? boolean +--ro querier-enable? boolean +--ro querier-ip? inet:ip-address +--ro version? enumeration +--ro query-interval? uint16 +--ro query-max-response-time? uint16 +--ro robustness? uint8 +--ro last-member-query-interval? uint16Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-igmp-snooping | O | ||
| vlan | O | 1..4094 | Default value: all |
| data | M | Path-only node, has no configurable value. | |
| snooping | M | Path-only node, has no configurable value. | |
| vlan | O | cmn:vlan-id | |
| enable | O | ”true" "false” | Enable IGMP or MLD Snooping for the VLAN. Default value: False |
| fast-leave | O | ”true" "false” | Enable fast leave of multicast groups for member interfaces. When an IGMP or MLD Leave message from a host is received indicating the host is leaving a multicast group, the device will directly delete the corresponding multicast group forwarding table entry for that host without sending a specific group query message. Default value: False |
| proxy-enable | O | ”true" "false” | The proxy config of snooping. After enabling the IGMP Snooping Proxy feature, it can replace the router to send IGMP Query messages and receive IGMP Report/Leave messages sent by users, thereby alleviating the pressure on routing devices when there are a large number of terminals in the network. Default value: False |
| querier-enable | O | ”true" "false” | Enable IGMP or MLD querier. Configuring a querier on the device allows it to replace upstream devices in sending IGMP Query messages. The device will periodically broadcast IGMP Query messages to all interfaces within the VLAN (including router ports). If an IGMP querier already exists in the multicast network, enabing querier of device may trigger a re-election of the IGMP querier. Default value: False |
| querier-ip | O | inet:ip-address | Configure the source IP address of the IGMP or MLD Query message. When there are multiple queriers in the network, the querier selection can be controlled by modifying the source IP address of the device’s query message. |
| version | O | ”v1" "v2" "v3” | The version of the snooping. For igmp-snooping, the default version is v2. For mld-snooping, the default version is v1. |
| query-interval | O | 1..18000 | The interval time between the general query messages sent by the device. Default value: 125 |
| query-max-response-time | O | 1..25 | The maximum response time for query messages. It should be ensured that the interval time between the querier’s general query messages is greater than the maximum response time for downstream hosts to reply to the querier. Otherwise, it may result in the device mistakenly deleting member entries. Default value: 10 |
| robustness | O | 1..255 | The number of specific group query messages sent by the querier to avoid potential network packet loss. When an IGMP Leave message for a specific multicast group is received, a configured number of specific group query messages will be sent to inquire whether there are still members in that multicast group. Default value: 2 |
| last-member-query-interval | O | 100..25500 | The interval time for the querier to send specific group query messages. Default value: 1000 |
Show Igmp Snooping Mrouter
Section titled “Show Igmp Snooping Mrouter”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snooping
rpcs: +---x show-igmp-snooping-mrouter +---w input | +---w vlan? union +--ro output +--ro data +--ro mrouter* [] +--ro vlan? cmn:vlan-id +--ro interfaces* [] | +--ro interface? union | +--ro type? enumeration +--ro aging? uint16Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-igmp-snooping-mrouter | O | ||
| vlan | O | 1..4094 | Default value: all |
| data | M | Path-only node, has no configurable value. | |
| mrouter | M | Path-only node, has no configurable value. | |
| vlan | O | cmn:vlan-id | The vlan id of the multicast group. |
| interfaces | M | Path-only node, has no configurable value. | |
| interface | O | Ethernet name | Configure the interface as a static router port for the VLAN. |
| type | O | ”static" "dynamic” | The type of the multicast router. Default value: static |
| aging | O | 1..1000 | The aging time for dynamic router ports within the VLAN. If no IGMP Query or PIM Hello messages are received within the dynamic router port aging time, the port is considered no longer to belong to a router port. |
Show Igmp Snooping Mvlan
Section titled “Show Igmp Snooping Mvlan”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snooping
rpcs: +---x show-igmp-snooping-mvlan +---w input | +---w vlan? union +--ro output +--ro data +--ro mvlan* [vlan] +--ro vlan cmn:vlan-id +--ro user-vlans* cmn:vlan-idTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-igmp-snooping-mvlan | O | ||
| vlan | O | 1..4094 | Default value: all |
| data | M | Path-only node, has no configurable value. | |
| mvlan | M | Path-only node, has no configurable value. | |
| vlan | O | cmn:vlan-id | |
| user-vlans | O | cmn:vlan-id | The user vlan of snooping. |
Show Mld Snooping
Section titled “Show Mld Snooping”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snooping
rpcs: +---x show-mld-snooping +---w input | +---w vlan? union +--ro output +--ro data +--ro snooping* [vlan] +--ro vlan cmn:vlan-id +--ro enable? boolean +--ro fast-leave? boolean +--ro proxy-enable? boolean +--ro querier-enable? boolean +--ro querier-ip? inet:ip-address +--ro version? enumeration +--ro query-interval? uint16 +--ro query-max-response-time? uint16 +--ro robustness? uint8 +--ro last-member-query-interval? uint16Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-mld-snooping | O | ||
| vlan | O | 1..4094 | Default value: all |
| data | M | Path-only node, has no configurable value. | |
| snooping | M | Path-only node, has no configurable value. | |
| vlan | O | cmn:vlan-id | |
| enable | O | ”true" "false” | Enable IGMP or MLD Snooping for the VLAN. Default value: False |
| fast-leave | O | ”true" "false” | Enable fast leave of multicast groups for member interfaces. When an IGMP or MLD Leave message from a host is received indicating the host is leaving a multicast group, the device will directly delete the corresponding multicast group forwarding table entry for that host without sending a specific group query message. Default value: False |
| proxy-enable | O | ”true" "false” | The proxy config of snooping. After enabling the IGMP Snooping Proxy feature, it can replace the router to send IGMP Query messages and receive IGMP Report/Leave messages sent by users, thereby alleviating the pressure on routing devices when there are a large number of terminals in the network. Default value: False |
| querier-enable | O | ”true" "false” | Enable IGMP or MLD querier. Configuring a querier on the device allows it to replace upstream devices in sending IGMP Query messages. The device will periodically broadcast IGMP Query messages to all interfaces within the VLAN (including router ports). If an IGMP querier already exists in the multicast network, enabing querier of device may trigger a re-election of the IGMP querier. Default value: False |
| querier-ip | O | inet:ip-address | Configure the source IP address of the IGMP or MLD Query message. When there are multiple queriers in the network, the querier selection can be controlled by modifying the source IP address of the device’s query message. |
| version | O | ”v1" "v2" "v3” | The version of the snooping. For igmp-snooping, the default version is v2. For mld-snooping, the default version is v1. |
| query-interval | O | 1..18000 | The interval time between the general query messages sent by the device. Default value: 125 |
| query-max-response-time | O | 1..25 | The maximum response time for query messages. It should be ensured that the interval time between the querier’s general query messages is greater than the maximum response time for downstream hosts to reply to the querier. Otherwise, it may result in the device mistakenly deleting member entries. Default value: 10 |
| robustness | O | 1..255 | The number of specific group query messages sent by the querier to avoid potential network packet loss. When an IGMP Leave message for a specific multicast group is received, a configured number of specific group query messages will be sent to inquire whether there are still members in that multicast group. Default value: 2 |
| last-member-query-interval | O | 100..25500 | The interval time for the querier to send specific group query messages. Default value: 1000 |
Show Mld Snooping Mrouter
Section titled “Show Mld Snooping Mrouter”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snooping
rpcs: +---x show-mld-snooping-mrouter +---w input | +---w vlan? union +--ro output +--ro data +--ro mrouter* [] +--ro vlan? cmn:vlan-id +--ro interfaces* [] | +--ro interface? union | +--ro type? enumeration +--ro aging? uint16Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-mld-snooping-mrouter | O | ||
| vlan | O | 1..4094 | Default value: all |
| data | M | Path-only node, has no configurable value. | |
| mrouter | M | Path-only node, has no configurable value. | |
| vlan | O | cmn:vlan-id | The vlan id of the multicast group. |
| interfaces | M | Path-only node, has no configurable value. | |
| interface | O | Ethernet name | Configure the interface as a static router port for the VLAN. |
| type | O | ”static" "dynamic” | The type of the multicast router. Default value: static |
| aging | O | 1..1000 | The aging time for dynamic router ports within the VLAN. If no IGMP Query or PIM Hello messages are received within the dynamic router port aging time, the port is considered no longer to belong to a router port. |
Show Mld Snooping Mvlan
Section titled “Show Mld Snooping Mvlan”Tree Diagram
module: asternos-igmp-mld-snooping
augment /vlan:vlans/vlan:vlan: +--rw igmp-mld-snooping
rpcs: +---x show-mld-snooping-mvlan +---w input | +---w vlan? union +--ro output +--ro data +--ro mvlan* [vlan] +--ro vlan cmn:vlan-id +--ro user-vlans* cmn:vlan-idTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-mld-snooping-mvlan | O | ||
| vlan | O | 1..4094 | Default value: all |
| data | M | Path-only node, has no configurable value. | |
| mvlan | M | Path-only node, has no configurable value. | |
| vlan | O | cmn:vlan-id | |
| user-vlans | O | cmn:vlan-id | The user vlan of snooping. |