Juniper路由器&防火牆 -- 基本配置方法
阿新 • • 發佈:2018-12-22
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
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
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:[email protected]# 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