zoukankan      html  css  js  c++  java
  • Juniper初始化之配置管理接口

    一、实验环境

      Juniper vSRX 12.1

    二、配置管理口步骤

      2.0 console进入命令行窗口,初始化用户root,密码为空

      2.1 配置接口IP地址

     set interfaces ge-0/0/1 unit 0 family inet address 192.168.20.2/24

      2.2 创建区域

    set security zones security-zone trust

      2.3 配置接口区域

    set security zones security-zone trust interfaces ge-0/0/1.0

      2.4 配置允许访问接口的哪些服务

    set security zones security-zone trust interfaces ge-0/0/1.0 host-inbound-traffic system-services ping
    set security zones security-zone trust interfaces ge-0/0/1.0 host-inbound-traffic system-services ssh
    set security zones security-zone trust interfaces ge-0/0/1.0 host-inbound-traffic system-services http
    set security zones security-zone trust interfaces ge-0/0/1.0 host-inbound-traffic system-services https
    commit

      2.5 查看接口信息

    show interfaces ge-0/0/1.0

      2.6 配置HTTP登陆

    set system services web-management http interface ge-0/0/1.0

      2.7 配置https登陆

    set system services web-management https system-generated-certificate
    set system services web-management https interface ge-0/0/1.0

      2.8 配置ssh登陆

    set system services ssh

      2.9 登陆web界面

      

    三、常见问题

      3.1 如果commit出现 error:commit failed: (missing statements)

      解决方法:需要设置管理员密码

    set system root-authentication plain-text-password
    commit

      3.2 如果登陆http页面,url自动跳转到http://管理地址/servererror.php?code=401,显示该网页无法正常运作

      解决方法:http登陆方式未开启

    set system services web-management http interface ge-0/0/1.0
  • 相关阅读:
    安装IIS的郁闷之旅
    设置WPF窗口相对于非WPF窗口的位置
    钓鱼记
    java拾遗
    人间四月芳菲尽
    [linux] x server can not start under VMWare
    如果没有开源软件没有免费软件,这个世界会怎么样?评[盖茨北大演讲遭遇开源人士抗议]
    程序员的面包
    2007中国软件英雄会-七年的等待
    sysbench安装
  • 原文地址:https://www.cnblogs.com/lisenlin/p/10302318.html
Copyright © 2011-2022 走看看