侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

juniper M320路由器基本配置

2023-01-06 星期五 / 0 评论 / 0 点赞 / 48 阅读 / 2225 字

主机名配置set system host-name 主机名时区配置set system time-zone Asia/Hong_Kongroot用户的配置set system root-authent

.

主机名配置
set system host-name 主机名

时区配置
set system time-zone Asia/Hong_Kong

root用户的配置
set system root-authentication encrypted-password *****

DNS服务器配置
set system name-server x.x.x.x

tacacs+服务器配置
set system tacplus-server x.x.x.x secret ****
set system tacplus-server x.x.x.x single-connection
set system tacplus-serverx.x.x.x source-address x.x.x.x

认证顺序配置 先进行tacacs+认证 再进行本地密码认证
set system authentication-order tacplus
set system authentication-order password

用户配置
set system login user test class super-user //超级用户
set system login user test authentication encrypted-password test123

禁用某条命令
deactivate system login user test

开启telnet服务
set system services telnet

配置sysylog服务器
set system syslog user * any emergency
set system syslog host x.x.x.x any any
set system syslog host x.x.x.x facility-override local5
set system syslog host x.x.x.x any notice
set system syslog host x.x.x.x facility-override local7
set system syslog host x.x.x.x any notice
set system syslog host x.x.x.x facility-override local7
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file command-log interactive-commands info
set system syslog source-address x.x.x.x

配置提交配置主备路由引擎同步
set system commit synchronize

配置NTP服务器
set system ntp server x.x.x.x
set system ntp server x.x.x.x prefer

启动备份路由引擎的冗余功能
set chassis redundancy failover on-loss-of-keepalives
set chassis redundancy failover on-disk-failure
set chassis redundancy graceful-switchover

当磁盘丢失了,引擎重启。
set chassis routing-engine on-disk-failure reboot

忽略管理口down告警
set chassis alarm management-ethernet link-down ignore

.

广告 广告

评论区