Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

将交换机载入 Mist 云

注意:

如果您的交换机已上线至 Mist 云,请忽略本主题中的步骤。

要通过Juniper Mist云配置和管理交换机,必须确保将交换机添加到Mist云中。要查看 Mist 支持的交换机型号,请访问 Juniper Mist支持的硬件

您可以将绿地或棕地交换机添加到Mist云。

在这种情况下,绿地交换机是新的云就绪交换机,而棕地交换机是从之前的部署引入Juniper Mist云架构的交换机。

交换机上线先决条件

在加入交换机之前:

  • 确保您有 Juniper Mist Wired Assurance 订阅和Juniper Mist门户的登录凭据。要开始使用 Mist,请按照 快速入门:Mist中的说明操作。

  • 确保交换机已连接到 DNS 服务器(也建议使用 NTP 服务器),并且能够通过 Internet 连接到Juniper Mist云架构。

  • 如果云和交换机之间有防火墙,请允许 TCP 端口 2200 对交换机管理端口的出站访问。

在绿地交换机上线

您可以通过 Mist AI 移动应用将一台绿地云就绪交换机上线至Mist云。但是,如果想要同时上线多台云就绪交换机,则可以通过Juniper Mist门户使用与采购订单关联的激活码进行此操作。

要在绿地部署交换机,请按照 快速入门:具有Mist的云就绪 EX 和 QFX 交换机中的说明操作。

如需快速演示,请观看以下视频:

Onboarding a Greenfield CloudReady EX switch is simple. In your inventory page, find the Switches tab. Click on Claim Switches.

Type in your switch's unique claim code, which can be found near the QR code at the front of the switch. Alternatively, you can also enter an activation code, which pulls all your newly purchased Juniper hardware from one order, rather than adding individual switch codes. Add and check for your desired settings, such as site assignment and configuration management.

Click Claim, and the switch has been added to the site. The EX3400 has been added. In the site view, you should see the switch appropriately assigned.

Notice that red indicates the switch is offline, but will turn green once it comes online. The switch is cloud-managed and accounted for as part of the health metrics above.

加入棕地交换机

在激活棕地交换机之前,务必备份交换机上的现有Junos OS配置,因为当采用交换机从Juniper Mist云进行管理时,旧配置将被替换。运行 request system configuration rescue save 命令,备份当前的 Junos OS 配置,这将保存当前活动的配置和任何特定于安装的参数。

在此过程中,您将使用 Junos OS CLI 对 Juniper Mist 门户和交换机进行一些配置更改。确保您可以登录到这两个系统。

要将棕地交换机上线至Mist云,请执行以下操作:

  1. Juniper Mist云上登录您的组织,然后单击菜单中的“组织>清单”
  2. 选择页面顶部的“交换机”,然后单击右上角的“采用交换机”按钮,生成互操作性所需的 Junos OS CLI 命令。命令创建一个Juniper Mist用户帐户,以及通过 TCP 端口 2200 与Juniper Mist云建立 SSH 连接(交换机连接从管理接口启动,用于设置、配置和发送遥测数据)。
    图 1:交换机采用页面 The Switch Adoption Page
  3. 在显示的页面中,单击“复制到剪贴板”以从Juniper Mist云获取命令。
  4. 通过 Junos OS CLI 登录交换机。
  5. 在 CLI 中,键入edit以启动配置模式,然后粘贴刚刚复制的命令(如果尚未位于层次结构的基本级别,请键入top)。
  6. 如果要添加系统消息,请使用以下命令:
  7. 您可以通过在[system services]层次结构级别运行命令来确认交换机上的更新,然后在层次结构级别再次[system login user juniper-mist]运行show命令。
  8. commit执行命令保存配置。
  9. 在Juniper Mist门户上,单击“组织>清单>交换机”,然后选择刚刚添加的交换机。
  10. 单击页面顶部的“更多”下拉列表,然后单击“分配给站点”按钮。
  11. 在显示的页面中,选择要将交换机分配到的站点,然后选择“使用 Mist 管理配置”。

如需快速演示,请观看以下视频:

Adopting switches for brownfield environments only takes a few steps. In Organization, look for the Inventory tab and toggle to Switches. Click on Adopt Switches.

This brings up a clipboard of CLI commands to copy and paste into the console of a switch. Put in the config and commit it in the switch. Ensure that TCP port 2200 is open to the internet.

This allows for the switch to communicate with the Juniper Mist cloud. Check that it is connected properly by entering Show System Connection to see an established TCP session. Going back to the dashboard, you can see the EX switch online and fully cloud-managed.

Templates will also be inherited when you enable Configuration Management. Don't forget to save. Now you're good to go.

Adopting an EX switch to the Juniper Mist cloud from a brownfield environment is a straightforward process. Now you have the power and simplicity of a cloud-managed solution for your EX switches.