Juniper路由器&防火墙 -- 基本配置方法

来源:互联网 发布:银翼杀手剧情解析 知乎 编辑:程序博客网 时间:2024/05/22 17:42

     Juniper防火墙分为两个版本:juniper srx系列和juniper netscreen系列(ssg是netscreen里的中低端系列)。区别在于srx 使用juniper junos(老外开发的)平台为基础移植ScreenOS,而netscreen系列使用ScreenOS这是国人开发的。

Possible completions:
  compare              Compare configuration changes with prior version
  count                    Count occurrences  //个数
  display                 Show additional kinds of information   //显示具体配置命令
  except                  Show only text that does not match a pattern  //不包含
  find                       Search for first occurrence of pattern
  hold                      Hold text without exiting the --More-- prompt
  last                       Display end of output only
  match                  Show only text that matches a pattern   //正则表达式匹配
  no-more              Don't paginate output
  request                Make system-level requests
  resolve                 Resolve IP addresses
  save                     Save output text to file
  trim                       Trim specified number of columns from start of line

范例1:root@zhouli# show system | display set

set system host-name zhouli
set system domain-name juniper.net
set system backup-router 10.65.255.254
set system root-authentication encrypted-password "$1$phfm6Mpa$InsB0OMZj6CNBZdcdNix10"
set system name-server 8.8.8.8
set system services telnet
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any


范例2:show system login | match user | except "A|B" | count

0 0
原创粉丝点击