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
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
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
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html