Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Mapping OpenConfig BFD Commands to Junos Operation

Note:

See OpenConfig Data Model Version topic to understand the data models supported version and its Junos OS release for Juniper Networks ACX Series, EX Series, MX Series, PTX Series, and QFX Series.

The following tables show the mapping of OpenConfig Bidirectional Forwarding Detection (BFD) configurations with the relevant configuration in Junos OS.

  • Table 1: Interface Configuration
  • Table 2: Interface Micro-bfd Session Configuration
  • Table 3: Interface-ref Configuration
Table 1: Interface Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Interface ID

openconfig-bfd interfaces {
interface <> {
        config{
          id <>; 
     }
  }
 }

Not supported

Not configurable in Junos or Junos Evolved. However, the id leaf value is obtained by Junos when BFD is enabled on the client's interface.

OpenConfig path: /bfd/interfaces/interface/config/id

Interface Name

openconfig-bfd interfaces {
interface <> {
        config{
          enabled; 
     }
  }
 }

Not supported

Not configurable in Junos or Junos Evolved. However, the name leaf is implicit when BFD is enabled on an interface.

OpenConfig path: /bfd/interfaces/interface/config/enabled

Local address

openconfig-bfd interfaces {
interface <> {
        config{
          local-address <>; 
     }
  }
 }

Not supported

Not configurable in Junos or Junos Evolved. However, the name leaf is implicit when BFD is enabled on an interface.

OpenConfig path: /bfd/interfaces/interface/config/local-address

Desired minimum transmit interval

openconfig-bfd interfaces {
interface <> {
        config{
          desired-minimum-tx-interval <>; 
     }
  }
 }
interface {
      bfd-liveness-detection { 
                   transmit-interval { 
                          minimum-interval;
                  }
      }
}

OpenConfig path: /bfd/interfaces/interface/config/desired-minimum-tx-interval

Required minimum receive interval

openconfig-bfd interfaces {
interface <> {
        config{
          required-minimum-receive <>; 
     }
  }
 }
interface {
        bfd-liveness-detection {
                 minimum-receive-interval;
        }
}

OpenConfig path: /bfd/interfaces/interface/config/required-minimum-receive

Detection multiplier

openconfig-bfd interfaces {
interface <> {
        config{
          detection-multiplier <>; 
     }
  }
 }
interface {
    bfd-liveness-detection  {
              multiplier ;
   }
}

OpenConfig path: /bfd/interfaces/interface/config/detection-multiplier

Enable per member link

openconfig-bfd interfaces {
interface <> {
        config{
          enable-per-member-link <>; 
     }
  }
 }

Not supported

OpenConfig path: /bfd/interfaces/interface/config/enable-per-member-link/

Table 2: Interface Micro-bfd Session Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Member interface

Openconfig-bfd interfaces {
Interface <> { 
   micro-bfd-sessions {
          micro-bfd-session {
               member-interface <>;
         }
  }
}

Not supported

Not configurable in Junos or Junos Evolved. However, the micro-bfd leaf value is enabled on all member interfaces by default.

OpenConfig path: /bfd/interfaces/interface/micro-bfd-sessions/micro-bfd-session/member-interface

Local address

Openconfig-bfd interfaces {
Interface <> { 
   micro-bfd-sessions {
          micro-bfd-session {
              config {
                    local-address <>;
             }
         }
  }
}
interfaces  {
       aggregated-ether-options {
                bfd-liveness-detection {
                          local-address <>;
            }
     }
}

OpenConfig path: /bfd/interfaces/interface//micro-bfd-sessions/micro-bfd-session/config/local-address

Remote address

Openconfig-bfd interfaces {
Interface <> { 
   micro-bfd-sessions {
          micro-bfd-session {
              config {
                    remote-address <>;
             }
         }
  }
}
interfaces {
    aggregated-ether-options {
             bfd-liveness-detection {
                       neighbor <>;
            }
    }
}

OpenConfig path: /bfd/interfaces/interface/micro-bfd-sessions/micro-bfd-session/config/remote-address

Table 3: Interface-ref Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Interface-ref

Openconfig-bfd interfaces {
      Interface <> {
          interface-ref  {
               config  {
                       interface <>;
            }
       }
   }
}

Not supported

Not configurable in Junos orJunos Evolved.

OpenConfig path: /bfd/interfaces/interface/interface-ref/config/interface

Subinterface

Openconfig-bfd interfaces {
      Interface <> {
          interface-ref  {
               config  {
                       subinterface  <>;
            }
       }
   }

Not supported

Not configurable in Junos or Junos Evolved. However, the subinterface leaf value is part of the interface name and parsed to form a Junos CLI "unit."

OpenConfig path: /bfd/interfaces/interface/interface-ref/config/subinterface