Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Mapping OpenConfig Multicast Commands to Junos Configuration

Note:

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
Table 1: IGMP Configuration

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 [edit protocols igmp] hierarchy level.

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