Mapping OpenConfig Multicast Commands to Junos Configuration
See OpenConfig Data Model Version for supported versions of the OpenConfig data model.
IGMP Configuration
See Table 1 for configuration mappings of the following OpenConfig paths under /network-instances/network-instance/protocols/protocol/igmp:
- /interfaces/interface/config/interface-id
- /interfaces/interface/config/enabled
- /interfaces/interface/config/version
Command |
OpenConfig Configuration |
Junos Configuration |
---|---|---|
Interface ID |
openconfig-network-instance:network-instances { protocols IGMP <> { igmp { interfaces { interface <> { config { interface-id <>; } } } } } } |
protocols { igmp { interface <>; } } |
OpenConfig path: /network-instances/network-instance/protocols/protocol/igmp/interfaces/interface/config/interface-id |
||
Enable or disable |
openconfig-network-instance:network-instances { protocols IGMP <> { igmp { interfaces { interface <> { config { enabled <true | false>; } } } } } } |
protocols { igmp { interface <> { disable; } } } |
In Junos OS, there is no explicit configuration to enable IGMP.
Enable the protocol by configuring the interface at the
[ OpenConfig path: /network-instances/network-instance/protocols/protocol/igmp/interfaces/interface/config/enabled |
||
IGMP version |
openconfig-network-instance:network-instances { protocols IGMP <> { igmp { interfaces { interface <> { config { version <1 | 2 | 3>; } } } } } } |
protocols { igmp { interface <> { version <1 | 2 | 3>; } } } |
OpenConfig path: /network-instances/network-instance/protocols/protocol/igmp/interfaces/interface/config/version |