Multicast-IGMP Snooping
Configures, modifies, deletes and retrieves IGMP snooping configuration at the global and VLAN levels. Currently, querier mode and version commands are supported. POST operation is not supported at global level and PUT operation is not supported at global and VLAN level.
The URI to configure IGMP snooping at global level is:
/restconf/data/igmp-mld-snooping/global
The URI to configure IGMP snooping at VLAN level is:
/restconf/data/igmp-mld-snooping/vlans
Supported HTTP Operations
URL: https://<host>/restconf/data/igmp-mld-snooping/global
Request body: None
Response body:
{
"icx-igmp-mld-snooping:global": {
"igmp": {
"config": {
"querier-mode": "active",
"version": 2
}
}
}
}
URL: https://<host>/restconf/data/igmp-mld-snooping/global/igmp/config
Request body:
{
"config": {
"querier-mode": "passive",
"version": 3
}
}
Response body: None
URL: https://<host>/restconf/data/igmp-mld-snooping/global/igmp/config
URL: https://<host>/restconf/data/igmp-mld-snooping/vlans
Request body: None
Response body: {
"icx-igmp-mld-snooping:vlans": {
"vlan": [
{
"vlan-id": 20,
"proto": {
"vlan-id": 20,
"igmp": {
"config": {
"querier-mode": "passive",
"version": 2
},
"oper": {}
}
}
}
]
}
}
URL: https://<host>/restconf/data/igmp-mld-snooping/vlans
Request body: {
"vlan" : [
{
"vlan-id" : 20,
"proto" : {
"vlan-id" : 20,
"igmp" : {
"config" : {
"querier-mode" : "active",
"version" : 3
}
}
}
}
]
}
Response body: {
"icx-igmp-mld-snooping:vlans": {
"vlan": [
{
"vlan-id": 20,
"proto": {
"vlan-id": 20,
"igmp": {
"config": {
"querier-mode": "active",
"version": 3
},
"oper": {}
}
}
}
]
}
}
URL: https://<host>/restconf/data/igmp-mld-snooping/vlans
Request body: {
"icx-igmp-mld-snooping:vlans": {
"vlan" : [
{
"vlan-id" : 20,
"proto" : {
"vlan-id" : 20,
"igmp" : {
"config" : {
"querie-mode" : "passive",
"version" : 2
}
}
}
}
]
}
}
Response body: {
"icx-igmp-mld-snooping:vlans": {
"vlan": [
{
"vlan-id": 20,
"proto": {
"vlan-id": 20,
"igmp": {
"config": {
"querier-mode": "passive",
"version": 2
},
"oper": {}
}
}
}
]
}
}
URL: https://<host>/restconf/data/igmp-mld-snooping/vlans/vlan/20/proto/igmp/config