Configuring IGMP Under a VLAN Configuration
Configuring a MAC Address Table
Configuring a MAC Address Table
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"bdEntity": {
"children": [
{
"l2VlanConfig": {
"attributes": {
"accEncap": "vlan-1"
}
}
}
]
}
},
{
"igmpsnoopEntity": {
"children": [
{
"igmpsnoopInst": {
"children": [
{
"igmpsnoopDom": {
"children": [
{
"igmpsnoopVlan": {
"attributes": {
"vlanid": "vlan1"
},
"children": [
{
"igmpsnoopIgmpsnBase": {
"attributes": {
"lookupMac": "yes"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<bd-items>
<vlanconfig-items>
<VlanConfig-list>
<accEncap>vlan-1</accEncap>
</VlanConfig-list>
</vlanconfig-items>
</bd-items>
<igmpsnoop-items>
<inst-items>
<dom-items>
<vlan-items>
<Vlan-list>
<vlanid>vlan1</vlanid>
<igmpsnbase-items>
<lookupMac>true</lookupMac>
</igmpsnbase-items>
</Vlan-list>
</vlan-items>
</dom-items>
</inst-items>
</igmpsnoop-items>
</System>
Note: This example was added in Release 9.2(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
vlan configuration 1
layer-2 multicast lookup mac
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
bdEntity | sys/bd |
l2VlanConfig | sys/bd/vlanconfig-{[accEncap]} |
igmpsnoopEntity | sys/igmpsnoop |
igmpsnoopInst | sys/igmpsnoop/inst |
igmpsnoopDom | sys/igmpsnoop/inst/dom |
igmpsnoopVlan | sys/igmpsnoop/inst/dom/vlan-{[vlanid]} |
igmpsnoopIgmpsnBase | sys/igmpsnoop/inst/dom/gl/igmpsnbase |
l2VlanConfig Properties
The following table contains information about the l2VlanConfig properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
accEncap | base:Encap | Access Encapsulation | SELECTION: unknown, vlan-%d or vxlan-%d |
igmpsnoopVlan Properties
The following table contains information about the igmpsnoopVlan properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
vlanid | nw:IfId (base:IfIndex) | Vlan ID for IGMP Snooping Configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
igmpsnoopIgmpsnBase Properties
The following table contains information about the igmpsnoopIgmpsnBase properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
lookupMac | scalar:Bool | Indicates if Layer-2 Multicast Lookup Mac is Enabled | SELECTION: true or false |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting a MAC Address Table
Deleting a MAC Address Table
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"bdEntity": {
"children": [
{
"l2VlanConfig": {
"attributes": {
"accEncap": "vlan-1"
}
}
}
]
}
},
{
"igmpsnoopEntity": {
"children": [
{
"igmpsnoopInst": {
"children": [
{
"igmpsnoopDom": {
"children": [
{
"igmpsnoopVlan": {
"attributes": {
"vlanid": "vlan1"
},
"children": [
{
"igmpsnoopIgmpsnBase": {
"attributes": {
"lookupMac": "no"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<bd-items>
<vlanconfig-items>
<VlanConfig-list>
<accEncap>vlan-1</accEncap>
</VlanConfig-list>
</vlanconfig-items>
</bd-items>
<igmpsnoop-items>
<inst-items>
<dom-items>
<vlan-items>
<Vlan-list>
<vlanid>vlan1</vlanid>
<igmpsnbase-items>
<lookupMac>false</lookupMac>
</igmpsnbase-items>
</Vlan-list>
</vlan-items>
</dom-items>
</inst-items>
</igmpsnoop-items>
</System>
Note: This example was added in Release 9.2(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
vlan configuration 1
no layer-2 multicast lookup mac
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
bdEntity | sys/bd |
l2VlanConfig | sys/bd/vlanconfig-{[accEncap]} |
igmpsnoopEntity | sys/igmpsnoop |
igmpsnoopInst | sys/igmpsnoop/inst |
igmpsnoopDom | sys/igmpsnoop/inst/dom |
igmpsnoopVlan | sys/igmpsnoop/inst/dom/vlan-{[vlanid]} |
igmpsnoopIgmpsnBase | sys/igmpsnoop/inst/dom/gl/igmpsnbase |
l2VlanConfig Properties
The following table contains information about the l2VlanConfig properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
accEncap | base:Encap | Access Encapsulation | SELECTION: unknown, vlan-%d or vxlan-%d |
igmpsnoopVlan Properties
The following table contains information about the igmpsnoopVlan properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
vlanid | nw:IfId (base:IfIndex) | Vlan ID for IGMP Snooping Configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
igmpsnoopIgmpsnBase Properties
The following table contains information about the igmpsnoopIgmpsnBase properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
lookupMac | scalar:Bool | Indicates if Layer-2 Multicast Lookup Mac is Enabled | SELECTION: true or false |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting Router Guard IPv6 Multicast VLAN
Deleting Router Guard IPv6 Multicast VLAN
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"mldsnoopEntity": {
"children": [
{
"mldsnoopInst": {
"children": [
{
"mldsnoopDom": {
"children": [
{
"mldsnoopIntf": {
"attributes": {
"id": "eth1/2",
"rtrGrdEnable": "no",
"rtrGrdVlanId": "3864"
}
}
}
]
}
}
]
}
}
]
}
},
{
"interfaceEntity": {
"children": [
{
"l1PhysIf": {
"attributes": {
"id": "eth1/2",
"layer": "Layer2",
"userCfgdFlags": "admin_layer"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<mldsnoop-items>
<inst-items>
<dom-items>
<intf-items>
<Intf-list>
<id>eth1/2</id>
<rtrGrdEnable>false</rtrGrdEnable>
<rtrGrdVlanId>3864</rtrGrdVlanId>
</Intf-list>
</intf-items>
</dom-items>
</inst-items>
</mldsnoop-items>
<intf-items>
<phys-items>
<PhysIf-list>
<id>eth1/2</id>
<layer>Layer2</layer>
<userCfgdFlags>admin_layer</userCfgdFlags>
</PhysIf-list>
</phys-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface ethernet 1/2
switchport
no router-guard ipv6 multicast vlan 3864
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
mldsnoopEntity | sys/mldsnoop |
mldsnoopInst | sys/mldsnoop/inst |
mldsnoopDom | sys/mldsnoop/inst/dom |
mldsnoopIntf | sys/mldsnoop/inst/dom/intf-[eth1/2] |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/2] |
mldsnoopIntf Properties
The following table contains information about the mldsnoopIntf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
rtrGrdEnable | scalar:Bool | Indicates if Router-Guard is Enabled on the Interface | SELECTION: true or false |
rtrGrdVlanId | ipmcsnoop:RtrGrdVlanIdT (scalar:Uint32) | Router-Guard Vlan Identifier | RANGE: 1-3967 No default value |
l1PhysIf Properties
The following table contains information about the l1PhysIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
layer | l1:Layer (scalar:Enum8) | Administrative port layer | SELECTION: 1 - Layer2 2 - Layer3 DEFAULT: Layer2 |
userCfgdFlags | l1:userCfgdFlags (scalar:Bitmask8) | Port User Config Flags | SELECTION: 0 - none 1 - admin_state 2 - admin_layer 4 - admin_router_mac 8 - admin_dce_mode 16 - admin_mtu DEFAULT: none |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring a Group Address for Proxy Leave
Configuring a Group Address for Proxy Leave
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"igmpsnoopEntity": {
"children": [
{
"igmpsnoopInst": {
"children": [
{
"igmpsnoopDom": {
"children": [
{
"igmpsnoopVlan": {
"attributes": {
"vlanid": "vlan1"
},
"children": [
{
"igmpsnoopGTimers": {
"attributes": {
"useGrpAddr": "yes"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"bdEntity": {
"children": [
{
"l2VlanConfig": {
"attributes": {
"accEncap": "vlan-1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<igmpsnoop-items>
<inst-items>
<dom-items>
<vlan-items>
<Vlan-list>
<vlanid>vlan1</vlanid>
<gTimers-items>
<useGrpAddr>true</useGrpAddr>
</gTimers-items>
</Vlan-list>
</vlan-items>
</dom-items>
</inst-items>
</igmpsnoop-items>
<bd-items>
<vlanconfig-items>
<VlanConfig-list>
<accEncap>vlan-1</accEncap>
</VlanConfig-list>
</vlanconfig-items>
</bd-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
vlan configuration 1
ip igmp snooping proxy-leave use-group-address
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
igmpsnoopEntity | sys/igmpsnoop |
igmpsnoopInst | sys/igmpsnoop/inst |
igmpsnoopDom | sys/igmpsnoop/inst/dom |
igmpsnoopVlan | sys/igmpsnoop/inst/dom/vlan-[vlan1] |
igmpsnoopGTimers | sys/igmpsnoop/inst/dom/vlan-[vlan1]/gTimers |
bdEntity | sys/bd |
l2VlanConfig | sys/bd/vlanconfig-[vlan-1] |
igmpsnoopVlan Properties
The following table contains information about the igmpsnoopVlan properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
vlanid | nw:IfId (base:IfIndex) | Vlan ID for IGMP Snooping Configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
igmpsnoopGTimers Properties
The following table contains information about the igmpsnoopGTimers properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
useGrpAddr | scalar:Bool | Use Group IP Address for Proxy-Leave | SELECTION: true or false |
l2VlanConfig Properties
The following table contains information about the l2VlanConfig properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
accEncap | base:Encap | Access Encapsulation | SELECTION: unknown, vlan-%d or vxlan-%d |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting a Group Address for Proxy Leave
Deleting a Group Address for Proxy Leave
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"igmpsnoopEntity": {
"children": [
{
"igmpsnoopInst": {
"children": [
{
"igmpsnoopDom": {
"children": [
{
"igmpsnoopVlan": {
"attributes": {
"vlanid": "vlan1"
},
"children": [
{
"igmpsnoopGTimers": {
"attributes": {
"useGrpAddr": "no"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"bdEntity": {
"children": [
{
"l2VlanConfig": {
"attributes": {
"accEncap": "vlan-1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<igmpsnoop-items>
<inst-items>
<dom-items>
<vlan-items>
<Vlan-list>
<vlanid>vlan1</vlanid>
<gTimers-items>
<useGrpAddr>false</useGrpAddr>
</gTimers-items>
</Vlan-list>
</vlan-items>
</dom-items>
</inst-items>
</igmpsnoop-items>
<bd-items>
<vlanconfig-items>
<VlanConfig-list>
<accEncap>vlan-1</accEncap>
</VlanConfig-list>
</vlanconfig-items>
</bd-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
vlan configuration 1
no ip igmp snooping proxy-leave use-group-address
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
igmpsnoopEntity | sys/igmpsnoop |
igmpsnoopInst | sys/igmpsnoop/inst |
igmpsnoopDom | sys/igmpsnoop/inst/dom |
igmpsnoopVlan | sys/igmpsnoop/inst/dom/vlan-[vlan1] |
igmpsnoopGTimers | sys/igmpsnoop/inst/dom/vlan-[vlan1]/gTimers |
bdEntity | sys/bd |
l2VlanConfig | sys/bd/vlanconfig-[vlan-1] |
igmpsnoopVlan Properties
The following table contains information about the igmpsnoopVlan properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
vlanid | nw:IfId (base:IfIndex) | Vlan ID for IGMP Snooping Configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
igmpsnoopGTimers Properties
The following table contains information about the igmpsnoopGTimers properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
useGrpAddr | scalar:Bool | Use Group IP Address for Proxy-Leave | SELECTION: true or false |
l2VlanConfig Properties
The following table contains information about the l2VlanConfig properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
accEncap | base:Encap | Access Encapsulation | SELECTION: unknown, vlan-%d or vxlan-%d |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring IP IGMP Snooping Report Flood All
Configuring IP IGMP Snooping Report Flood All
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"igmpsnoopEntity": {
"children": [
{
"igmpsnoopInst": {
"children": [
{
"igmpsnoopDom": {
"children": [
{
"igmpsnoopVlan": {
"attributes": {
"rprtFldAllIntf": "yes",
"vlanid": "vlan1"
}
}
}
]
}
}
]
}
}
]
}
},
{
"bdEntity": {
"children": [
{
"l2VlanConfig": {
"attributes": {
"accEncap": "vlan-1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<igmpsnoop-items>
<inst-items>
<dom-items>
<vlan-items>
<Vlan-list>
<vlanid>vlan1</vlanid>
<rprtFldAllIntf>true</rprtFldAllIntf>
</Vlan-list>
</vlan-items>
</dom-items>
</inst-items>
</igmpsnoop-items>
<bd-items>
<vlanconfig-items>
<VlanConfig-list>
<accEncap>vlan-1</accEncap>
</VlanConfig-list>
</vlanconfig-items>
</bd-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
vlan configuration 1
ip igmp snooping report-flood all
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
igmpsnoopEntity | sys/igmpsnoop |
igmpsnoopInst | sys/igmpsnoop/inst |
igmpsnoopDom | sys/igmpsnoop/inst/dom |
igmpsnoopVlan | sys/igmpsnoop/inst/dom/vlan-[vlan1] |
bdEntity | sys/bd |
l2VlanConfig | sys/bd/vlanconfig-[vlan-1] |
igmpsnoopVlan Properties
The following table contains information about the igmpsnoopVlan properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
rprtFldAllIntf | scalar:Bool | Enable Report-Flood on all Active Interfaces of VLAN | SELECTION: true or false |
vlanid | nw:IfId (base:IfIndex) | Vlan ID for IGMP Snooping Configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l2VlanConfig Properties
The following table contains information about the l2VlanConfig properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
accEncap | base:Encap | Access Encapsulation | SELECTION: unknown, vlan-%d or vxlan-%d |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting IP IGMP Snooping Report Flood All
Deleting IP IGMP Snooping Report Flood All
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"igmpsnoopEntity": {
"children": [
{
"igmpsnoopInst": {
"children": [
{
"igmpsnoopDom": {
"children": [
{
"igmpsnoopVlan": {
"attributes": {
"rprtFldAllIntf": "no",
"vlanid": "vlan1"
}
}
}
]
}
}
]
}
}
]
}
},
{
"bdEntity": {
"children": [
{
"l2VlanConfig": {
"attributes": {
"accEncap": "vlan-1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<igmpsnoop-items>
<inst-items>
<dom-items>
<vlan-items>
<Vlan-list>
<vlanid>vlan1</vlanid>
<rprtFldAllIntf>false</rprtFldAllIntf>
</Vlan-list>
</vlan-items>
</dom-items>
</inst-items>
</igmpsnoop-items>
<bd-items>
<vlanconfig-items>
<VlanConfig-list>
<accEncap>vlan-1</accEncap>
</VlanConfig-list>
</vlanconfig-items>
</bd-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
vlan configuration 1
no ip igmp snooping report-flood all
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
igmpsnoopEntity | sys/igmpsnoop |
igmpsnoopInst | sys/igmpsnoop/inst |
igmpsnoopDom | sys/igmpsnoop/inst/dom |
igmpsnoopVlan | sys/igmpsnoop/inst/dom/vlan-[vlan1] |
bdEntity | sys/bd |
l2VlanConfig | sys/bd/vlanconfig-[vlan-1] |
igmpsnoopVlan Properties
The following table contains information about the igmpsnoopVlan properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
rprtFldAllIntf | scalar:Bool | Enable Report-Flood on all Active Interfaces of VLAN | SELECTION: true or false |
vlanid | nw:IfId (base:IfIndex) | Vlan ID for IGMP Snooping Configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
l2VlanConfig Properties
The following table contains information about the l2VlanConfig properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
accEncap | base:Encap | Access Encapsulation | SELECTION: unknown, vlan-%d or vxlan-%d |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring IP IGMP Snooping Report Flood Ethernet Interface
Configuring IP IGMP Snooping Report Flood Ethernet Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"igmpsnoopEntity": {
"children": [
{
"igmpsnoopInst": {
"children": [
{
"igmpsnoopDom": {
"children": [
{
"igmpsnoopVlan": {
"attributes": {
"vlanid": "vlan1"
},
"children": [
{
"igmpsnoopIntf": {
"attributes": {
"id": "eth1/2",
"reportFlood": "yes"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"bdEntity": {
"children": [
{
"l2VlanConfig": {
"attributes": {
"accEncap": "vlan-1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<igmpsnoop-items>
<inst-items>
<dom-items>
<vlan-items>
<Vlan-list>
<vlanid>vlan1</vlanid>
<intf-items>
<Intf-list>
<id>eth1/2</id>
<reportFlood>true</reportFlood>
</Intf-list>
</intf-items>
</Vlan-list>
</vlan-items>
</dom-items>
</inst-items>
</igmpsnoop-items>
<bd-items>
<vlanconfig-items>
<VlanConfig-list>
<accEncap>vlan-1</accEncap>
</VlanConfig-list>
</vlanconfig-items>
</bd-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
vlan configuration 1
ip igmp snooping report-flood interface ethernet 1/2
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
igmpsnoopEntity | sys/igmpsnoop |
igmpsnoopInst | sys/igmpsnoop/inst |
igmpsnoopDom | sys/igmpsnoop/inst/dom |
igmpsnoopVlan | sys/igmpsnoop/inst/dom/vlan-[vlan1] |
igmpsnoopIntf | sys/igmpsnoop/inst/dom/vlan-[vlan1]/intf-[eth1/2] |
bdEntity | sys/bd |
l2VlanConfig | sys/bd/vlanconfig-[vlan-1] |
igmpsnoopVlan Properties
The following table contains information about the igmpsnoopVlan properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
vlanid | nw:IfId (base:IfIndex) | Vlan ID for IGMP Snooping Configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
igmpsnoopIntf Properties
The following table contains information about the igmpsnoopIntf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
reportFlood | scalar:Bool | Indicates if Report Flood is Enabled on the Interface | SELECTION: true or false |
l2VlanConfig Properties
The following table contains information about the l2VlanConfig properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
accEncap | base:Encap | Access Encapsulation | SELECTION: unknown, vlan-%d or vxlan-%d |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting IP IGMP Snooping Report Flood Ethernet Interface
Deleting IP IGMP Snooping Report Flood Ethernet Interface
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"igmpsnoopEntity": {
"children": [
{
"igmpsnoopInst": {
"children": [
{
"igmpsnoopDom": {
"children": [
{
"igmpsnoopVlan": {
"attributes": {
"vlanid": "vlan1"
},
"children": [
{
"igmpsnoopIntf": {
"attributes": {
"id": "eth1/2",
"reportFlood": "no"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"bdEntity": {
"children": [
{
"l2VlanConfig": {
"attributes": {
"accEncap": "vlan-1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<igmpsnoop-items>
<inst-items>
<dom-items>
<vlan-items>
<Vlan-list>
<vlanid>vlan1</vlanid>
<intf-items>
<Intf-list>
<id>eth1/2</id>
<reportFlood>false</reportFlood>
</Intf-list>
</intf-items>
</Vlan-list>
</vlan-items>
</dom-items>
</inst-items>
</igmpsnoop-items>
<bd-items>
<vlanconfig-items>
<VlanConfig-list>
<accEncap>vlan-1</accEncap>
</VlanConfig-list>
</vlanconfig-items>
</bd-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
vlan configuration 1
no ip igmp snooping report-flood interface ethernet 1/2
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
igmpsnoopEntity | sys/igmpsnoop |
igmpsnoopInst | sys/igmpsnoop/inst |
igmpsnoopDom | sys/igmpsnoop/inst/dom |
igmpsnoopVlan | sys/igmpsnoop/inst/dom/vlan-[vlan1] |
igmpsnoopIntf | sys/igmpsnoop/inst/dom/vlan-[vlan1]/intf-[eth1/2] |
bdEntity | sys/bd |
l2VlanConfig | sys/bd/vlanconfig-[vlan-1] |
igmpsnoopVlan Properties
The following table contains information about the igmpsnoopVlan properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
vlanid | nw:IfId (base:IfIndex) | Vlan ID for IGMP Snooping Configuration | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
igmpsnoopIntf Properties
The following table contains information about the igmpsnoopIntf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
reportFlood | scalar:Bool | Indicates if Report Flood is Enabled on the Interface | SELECTION: true or false |
l2VlanConfig Properties
The following table contains information about the l2VlanConfig properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
accEncap | base:Encap | Access Encapsulation | SELECTION: unknown, vlan-%d or vxlan-%d |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: