Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

将 OpenConfig ISIS 命令映射到 Junos 配置

注意:

有关 OpenConfig 数据模型的支持版本,请参阅 OpenConfig 数据模型版本

全局配置

有关 /network-instances/network-instance/protocols/protocol/isis/ 下以下 OpenConfig 路径的配置映射,请参阅表 1

  • /global/timers/config/lsp-lifetime-interval
  • /global/timers/config/lsp-refresh-interval
  • /global/timers/spf/config/spf-first-interval
  • /global/timers/spf/config/spf-hold-interval
  • /global/lsp-bit/overload-bit/config/set-bit
  • /global/config/net
  • /global/config/level-capability
  • /global/afi-safi/af/config/enabled
  • /global/transport/config/lsp-mtu-size
表 1:全局 ISIS 配置

命令

OpenConfig 配置

Junos 配置

LSP 生存期间隔

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         global { 
            timers {
               config { 
                  lsp-lifetime-interval <>;  
               } 
            } 
         } 
      }
   } 
} 
protocols { 
   isis { 
      lsp-lifetime <>;
   }
}

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/global/timers/config/lsp-lifetime-interval

LSP 刷新间隔

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         global { 
            timers {
               config { 
                  lsp-refresh-interval <>;  
               } 
            } 
         } 
      }
   } 
} 
protocols { 
   isis { 
      lsp-refresh-interval <>;
   }
}

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/global/timers/config/lsp-refresh-interval

SPF 第一个间隔

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         global { 
            timers {
               spf {
                  config { 
                     spf-first-interval <>;  
                  } 
               }  
            } 
         } 
      }
   } 
} 
protocols { 
   isis { 
      spf-options {
         delay <>;
      }
   }
}
OpenConfig 路径:

/network-instances/network-instance/protocols/protocol/isis/global/timers/spf/config/spf-first-interval

SPF 保持间隔

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         global { 
            timers {
               spf {
                  config { 
                     spf-hold-interval <>;  
                  }
               }  
            } 
         } 
      }
   } 
} 
protocols { 
   isis { 
      spf-options {
         holddown <>;
      }
   }
}

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/global/timers/spf/config/spf-hold-interval

过载位

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         global { 
            lsp-bit {
               overload-bit {
                  config { 
                     set-bit <true | false>;  
                  } 
               } 
            } 
         } 
      }
   } 
} 
protocols { 
   isis { 
      overload;
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/global/lsp-bit/overload-bit/config/set-bit

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         global { 
            config {
               overload-bit {
                  config { 
                     net <>;  
                  } 
               }  
            } 
         }
      }
   }
} 
protocols { 
   isis { 
      net <>;
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/global/config/net

水平能力

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         global { 
            config {
               overload-bit {
                  config { 
                     level-capability <>;  
                  } 
               }  
            } 
         }
      }
   } 
} 
protocols { 
   isis { 
      level <> disable;
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/global/config/level-capability

地址族指示器 (AFI) 和后续地址族标识符 (SAFI)

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         global { 
            afi-safi {
               af <> {
                  config { 
                     enabled FALSE;  
                  } 
               }
            }
         }
      }
   }
} 
protocols { 
   isis { 
      (no-ipv4-routing | 
       no-ipv6-routing);
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/global/afi-safi/af/config/enabled

在 OpenConfig 中,配置值 truefalse 以启用或禁用地址族。在 Junos 中,IPv4 和 IPv6 地址族默认处于启用状态。要禁用, no-ipv4-routing 请使用或 no-ipv6-routing 语句。

注意:Junos 仅支持 AFI 的 IPv4 和 IPv6 地址族,以及 SAFI 的单播。

LSP MTU 大小

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         isis {
            global { 
               transport {
                  config { 
                     lsp-mtu-size <>;  
                  } 
               }
            }
         }
      }
   }
} 
protocols { 
   isis { 
      max-lsp-size <>;
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/global/transport/config/lsp-mtu-size

注意:

的值 max-lsp-size 范围为 512 到 9192 字节。超出此范围的值将导致 OpenConfig 中的提交错误。

级别配置

有关 /network-instances/network-instance/protocols/protocol/isis/ 下以下 OpenConfig 路径的配置映射,请参见表 2

  • /levels/level/config/enabled
  • /levels/level/authentication/config/auth-type

  • /levels/level/authentication/config/auth-password

  • /levels/level/authentication/config/enabled

  • /levels/level/authentication/config/disable-lsp

表 2:ISIS 级别配置

命令和路径

OpenConfig 配置

Junos 配置

启用或禁用

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         levels { 
            level {
               config { 
                  enabled FALSE;  
               }
            }
         }
      }
   }
} 
protocols { 
   isis { 
      level <> {
         disable;
      }
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/levels/level/config/enabled

在 OpenConfig 中,配置要启用的值 true

身份验证类型

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         levels { 
            level <> {
               authentication { 
                  config {
                     auth-type (simple-key | keychain);  
                  }
               }
            }
         }
      }
   }
} 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/levels/level/authentication/config/auth-type

认证密码

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         levels { 
            level <> {
               authentication { 
                  config {
                     auth-password <>;  
                  }
               }
            }
         }
      }
   }
} 
protocols { 
   isis { 
      level <> {
         authentication-key <>;
      }
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/levels/level/authentication/config/auth-password

hello 身份验证(禁用)

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         levels { 
            level <> {
               authentication { 
                  config {
                     enabled FALSE;  
                  }
               }  
            } 
         } 
      }
   } 
} 
protocols { 
   isis { 
      level <> {
         inactive: 
         authentication-key <>;
         inactive: 
         authentication-type <>;
      }
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/levels/level/authentication/config/enabled

禁用 LSP 数据包的身份验证

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> {
         isis {
            levels {
               level <> {
                  authentication {
                     config {
                        disable-lsp TRUE;
                     }
                  }
               }
            }
         }
      }
   }
}
protocols { 
   isis { 
      level <> {
         no-lsp-authentication;
      }
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/levels/level/authentication/config/disable-lsp

接口配置

有关 /network-instances/network-instance/protocols/protocol/isis/ 下以下 OpenConfig 路径的配置映射,请参阅表 3

  • /interfaces/interface/config/enabled
  • /interfaces/interface/config/hello-padding
  • /interfaces/interface/config/circuit-type
  • /interfaces/interface/timers/config/csnp-interval
  • /interfaces/interface/levels/level/timers/config/hello-interval
  • /interfaces/interface/levels/level/timers/config/hello-multiplier
  • interfaces/interface/levels/level/hello-authentication/config/enabled
  • /interfaces/interface/levels/level/hello-authentication/config/auth-type
  • /interfaces/interface/levels/level/hello-authentication/config/auth-mode
  • /interfaces/interface/levels/level/hello-authentication/config/auth-password
  • /interfaces/interface/afi-safi/af/config/enabled

表 3:接口 ISIS 配置

命令和路径

OpenConfig 配置

Junos 配置

启用或禁用

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         interfaces { 
            interface {
               config { 
                  enabled FALSE;
               } 
            } 
         } 
      } 
   }
} 
protocols { 
   isis { 
      interface <> {
         disable;
      }
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface/config/enabled

你好填充

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         interfaces { 
            interface {
               config { 
                  hello-padding <>;
               } 
            }  
         } 
      } 
   }
} 
protocols { 
   isis { 
      interface <> {
         hello-padding <>;
      }
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface/config/hello-padding

CSNP 间隔

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         interfaces {
            interface <> {
               timers {
                  config { 
                     csnp-interval <>;
                  }
               } 
            } 
         } 
      }
   } 
}
protocols { 
   isis {
      interface <> {
         csnp-interval <>;
      }
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface/timers/config/csnp-interval

呼叫间隔

openconfig-network-instance:network-instances { 
   protocols { 
      protocols ISIS <> { 
         interfaces {
            interface <> {
               levels {
                  level <>;
                     timers {
                        config { 
                           hello-interval <>;
                        }
                     }
                  }
               } 
            } 
         } 
      }
   } 
}
protocols { 
   isis {
      interface <> {
         level <> {
            hello-interval <>;
         }
      }
   }
}

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface/levels/level/timers/config/hello-interval

你好乘数

openconfig-network-instance:network-instances { 
   protocols { 
      protocols ISIS <> { 
         interfaces {
            interface <> {
               levels {
                  level <>;
                     timers {
                        config { 
                           hello-multiplier <>;
                        }
                     }
                  }
               } 
            } 
         } 
      }
   } 
}
protocols { 
   isis {
      interface <> {
         level <> {
            hold-time <>;
         }
      }
   }
}

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface/levels/level/timers/config/hello-multiplier

电路类型

openconfig-network-instance:network-instances { 
   protocols { 
      protocol ISIS <> { 
         interfaces {
            interface <> {
               timers {
                  config { 
                     circuit-type <>;
                  }
               } 
            } 
         } 
      }
   } 
}
protocols { 
   isis {
      interface <> {
         point-to-point;
      }
   }
}
 

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface/config/circuit-type

hello 身份验证(启用或禁用)

openconfig-network-instance:network-instances { 
   protocols { 
      protocols ISIS <> { 
         interfaces {
            interface <> {
               levels {
                  level <>;
                     hello-authentication {
                        config { 
                           enabled FALSE;
                        }
                     }
                  }
               } 
            } 
         } 
      }
   } 
}
protocols {
   isis {
      interface <> {
         level <> {
            inactive: hello-
            authentication-key <>;
            inactive: hello-
            authentication-type <>;
         }
      }
   }
}

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface/levels/level/hello-authentication/config/enable

注意:

当以下条件适用于 OpenConfig 配置时,Junos 配置将变为非活动状态:

  • 已配置身份验证模式。

  • 已配置身份验证密码。

  • 的值 enabled 设置为 false

身份验证类型

openconfig-network-instance:network-instances { 
   protocols { 
      protocols ISIS <> { 
         interfaces {
            interface <> {
               levels {
                  level <>;
                     hello-authentication {
                        config { 
                           auth-type <>;
                        }
                     }
                  }
               } 
            } 
         } 
      }
   } 
}

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface/levels/level/hello-authentication/config/auth-type

身份验证模式

openconfig-network-instance:network-instances { 
   protocols { 
      protocols ISIS <> { 
         interfaces {
            interface <> {
               levels {
                  level <>;
                     hello-authentication {
                        config { 
                           auth-mode <>;
                        }
                     }
                  }
               } 
            } 
         } 
      }
   } 
}
protocols { 
   isis {
      interface <> {
         level <> {
            hello-
            authentication-type <>;
         }
      }
   }
}

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface/levels/level/hello-authentication/config/auth-mode

认证密码

openconfig-network-instance:network-instances { 
   protocols { 
      protocols ISIS <> { 
         interfaces {
            interface <> {
               levels {
                  level <>;
                     hello-authentication {
                        config { 
                           auth-password <>;
                        }
                     }
                  }
               } 
            } 
         } 
      }
   } 
}
protocols { 
   isis {
      interface <> {
         level <> {
            hello-
             authentication-key <>;
         }
      }
   }
}

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface/levels/level/hello-authentication/config/auth-password

AFI-SAFI 配置

openconfig-network-instance:network-instances { 
   protocols { 
      protocols ISIS <> { 
         interfaces {
            interface <> {
               afi-safi {
                  af <>;
                     config {
                        enabled (true | false);
                     }
                  }
               } 
            } 
         } 
      }
   } 
}
protocols { 
   isis {
      interface <> {
         no-unicast-topology;
      }
   }
}

OpenConfig 路径: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface/afi-safi/af/config/enabled