juniper防火墙基本操作之 一
2022/8/27 23:29:11
本文主要是介绍juniper防火墙基本操作之 一,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
root
cli
configure
show interfaces terse
show interfaces brief
show interfaces detail
show interfaces extensive
show interfaces detail | match fe-0/0/0
help reference security policies
root> help apropos arp ?
root> help apropos secu
clear security
Clear security information
clear security alarms
Clear (acknowledge) security alarms
clear security alarms all
Clear (acknowledge) all security alarms
root> configure ?
Possible completions:
<[Enter]> Execute this command 默认模式,大家一起改
batch Work in batch mode (commit happens in batch)
dynamic Work in dynamic database
exclusive Obtain exclusive lock (other users cannot make changes) 排除模式,只有我能改
private Work in private database (other's changes do not show) 只能看到自己的配置,提交后,别人改的不生效
| Pipe through a command
root# set interfaces fe-0/0/0.1 family inet address 1.1.1.1/24
[edit]
root#
edit]
root# show interfaces
fe-0/0/0 {
unit 1 {
family inet {
address 1.1.1.1/24;
}
}
}
fxp0 {
unit 0 {
family inet {
dhcp {
vendor-id Juniper-vmx-VM630A2B4FFD;
}
}
}
}
[edit]
root#
root# show interfaces fe-0/0/0.1 family inet
address 1.1.1.1/24;
root# edit interfaces
root# edit interfaces fe-0/0/0.0
root# set interfaces fe-0/0/0 unit 1 family inet address 2.2.2.2/24
root# replace pattern fe-0/0/0 with fe-0/0/1
[edit]
root# edit interfaces fe-0/0/1
[edit interfaces fe-0/0/1]
root# show
unit 1 {
family inet {
address 2.2.2.2/24;
}
}
[edit interfaces fe-0/0/1]
root#
root# copy interfaces fe-0/0/1 to fe-0/0/2
root# edit interfaces fe-0/0/2
[edit interfaces fe-0/0/2]
root#
[edit interfaces fe-0/0/2]
root# show
unit 1 {
family inet {
address 2.2.2.2/24;
}
}
show security
show security alarms
下面可以刷的配置:
配置密码后才能提交:
即需要10分钟内进行第二次提交commit,不然自动恢复到提交前的配置
这篇关于juniper防火墙基本操作之 一的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-05-13TiDB + ES:转转业财系统亿级数据存储优化实践
- 2024-05-09“2024鸿蒙零基础快速实战-仿抖音App开发(ArkTS版)”实战课程已上线
- 2024-05-09聊聊如何通过arthas-tunnel-server来远程管理所有需要arthas监控的应用
- 2024-05-09log4j2这么配就对了
- 2024-05-09nginx修改Content-Type
- 2024-05-09Redis多数据源,看这篇就够了
- 2024-05-09Google Chrome驱动程序 124.0.6367.62(正式版本)去哪下载?
- 2024-05-09有没有大佬知道这种数据应该怎么抓取呀?
- 2024-05-09这种运行结果里的10.100000001,怎么能最快改成10.1?
- 2024-05-09企业src漏洞挖掘-有意思的命令执行