level 6
Junos 11.2 平台上面开启引入protect这个小feature,下面我们来看看如何使用
2014年05月15日 09点05分
1
level 6
SRX中,我们通常会单独拿一个接口出来做网管接口,并且划入到管理zone中。
set interfaces ge-0/0/0 unit 0 family inet address 192.168.102.75/24set security zones functional-zone management interfaces ge-0/0/0.0set security zones functional-zone management host-inbound-traffic system-services telnetset security zones functional-zone management host-inbound-traffic system-services httpsset security zones functional-zone management description "OOB Management Interface"
2014年05月15日 09点05分
2
level 6
为了防止误操作,删除网管接口或者网管zone,我们可以将配置保护起来。
protect interfaces ge-0/0/0protect security zones functional-zone management
2014年05月15日 09点05分
3
level 6
我们试着删除接口配置,发现删除不了。
[edit]
itaa@SRX240# delete interfaces ge-0/0/0
warning: [interfaces ge-0/0/0] is protected, 'interfaces ge-0/0/0' cannot be deleted
2014年05月15日 09点05分
4
level 6
如果操作一下,会把除了网管接口之外的其他接口配置删除
[edit]
itaa@SRX240# delete interfaces
warning: [interfaces ge-0/0/0] is protected, 'interfaces ge-0/0/0' cannot be deleted
2014年05月15日 09点05分
5
回复 无聊的人来找事 :一起学习~!
2014年05月16日 06点05分