标签:juniper show edit interfaces 防火墙 fe 基本操作 security root
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,show,edit,interfaces,防火墙,fe,基本操作,security,root 来源: https://www.cnblogs.com/linux-china/p/16631449.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。