Juniper防火墙配置.doc_第1页
Juniper防火墙配置.doc_第2页
Juniper防火墙配置.doc_第3页
Juniper防火墙配置.doc_第4页
Juniper防火墙配置.doc_第5页
已阅读5页,还剩7页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Netscreen 204防火墙/VPN NSRP(HA)冗余安装说明 Netscreen 204防火墙/VPN NSRP(HA)冗余设置步骤目录一、网络拓扑结构图3二、设置步骤3三、命令行配置方式4四、图形界面下的配置步骤8设置前请先将在线主防火墙的配置备份一次,具体步骤请参考维护文档一、网络拓扑结构图二、设置步骤1、 将两台防火墙的第四个端口连接在一起,我们设置将原有防火墙设置为主防火墙,新增加的防火墙为备份的防火墙,备份的防火墙只连接第四个端口,其他的端口将在防火墙配置完毕后才连接上2、 使用终端线缆连接到防火墙的Console口,超级终端参数设置为9600-8-无-1-无。三、命令行配置方式蓝色字体为在超级终端上输入的命令3.1、主防火墙配置,(移动公司在线使用的Netscreen-204防火墙)ns204unset interface e4 ip 将端口4的IP地址删除, ns204set interface e4 zone ha 将端口4和HA区域绑定一起配置NSRPns204- ns204- ns204- get nsrp 查看NSRP配置信息 nsrp version: 2.0cluster info:cluster id not set: nsrp is inactive 默认的情况下NSRP没有击活VSD group info:init hold time: 5heartbeat lost threshold: 3heartbeat interval: 1000(ms)group priority preempt holddown inelig master PB other memberstotal number of vsd groups: 0Total iteration=3808,time=2721060,max=880,min=286,average=714RTO mirror info:run time object sync:disabledping session sync: enabledcoldstart sync donensrp link info:no nsrp link has been defined yetNSRP encryption: disabled- more - NSRP authentication: disabled NSRP monitor interface: nonenumber of gratuitous arps: 4 (default)track ip: disabledns204- set nsrp cluster id 1 设置cluster组号 ns204(M)- set nsrp vsd id 0 设置VSD的组号,这条命令可以不用输入,因为Netscreen防火墙的默认的虚拟安全数据库(VSD)的值是0。ns204(M)- set nsrp vsd-group id 0 priority 50 设置NSRP主设备的优先权值,priority值越小,优先权越高。ns204(M)- set nsrp rto syn 设置配置同步ns204(M)- set nsrp monitor interface ethernet3 设置防火墙监控的端口,假设端口3出现故障或所连接的交换机出现故障,防火墙的工作状态将切换到备份防火墙上。ns204(M)- set nsrp monitor interface ethernet1 设置防火墙监控的端口,假设端口1出现故障或所连接的交换机出现故障,防火墙的工作状态将切换到备份防火墙上。注:如没有监控端口2,端口2出现故障或连接网络出现故障,将不会激活防火墙工作状态切换ns204(M)- get nsrpnsrp version: 2.0cluster info:cluster id: 1, no namelocal unit id: 5609296active units discovered: index: 0, unit id: 5609296, total number of units: 1VSD group info:init hold time: 5heartbeat lost threshold: 3heartbeat interval: 1000(ms)group priority preempt holddown inelig master PB other members 0 50 no 3 no myself none (备份防火墙还没有配置,因此主设备上没有监测到Backup防火墙的状态)total number of vsd groups: 2Total iteration=4682,time=4184162,max=18848,min=286,average=893RTO mirror info:run time object sync:disabledping session sync: enablednsrp link info:no nsrp link has been defined yetNSRP encryption: disabledNSRP authentication: disabled NSRP monitor interface: ethernet1 ethernet3 number of gratuitous arps: 4 (default)track ip: disabledns204(M)- 设置NSRP心跳信息ns204(M)- ns204(M)- set nsrp vsd-group hb-interval 200 设置心跳信息每隔200秒将发出问候信息 ns204(M)- set nsrp vsd-group hb-threshold 3 设置心跳信息总共发出3次问候信息ns204(M)- save32、备份防火墙的配置:(新增加的防火墙)ns204unset all 将新增防火墙的原有配置清除,恢复出厂状态 Erase all system config, are you sure y/n ? yns204 reset Configuration modified, save? y/n nSystem reset, are you sure? y/n yIn reset . ns204set interface e4 zone ha 将端口4和HA区域绑定一起配置NSRPns204- set nsrp cluster id 1 设置cluster组号 ns204(B)- set nsrp vsd id 0 设置VSD的组号,这条命令可以不用输入,因为Netscreen防火墙的默认的虚拟安全数据库(VSD)的值是0。ns204(B)- set nsrp vsd-group id 0 priority 100 设置NSRP主设备的优先权值,priority值越小,优先权越高。ns204(B)- set nsrp rto syn 设置配置同步ns204(B)- set nsrp monitor interface ethernet3 设置防火墙监控的端口,假设端口3出现故障或所连接的交换机出现故障,防火墙的工作状态将切换到备份防火墙上。ns204(B)- set nsrp monitor interface ethernet1 设置防火墙监控的端口,假设端口1出现故障或所连接的交换机出现故障,防火墙的工作状态将切换到备份防火墙上。注:如没有监控端口2,端口2出现故障或连接网络出现故障,将不会激活防火墙工作状态切换ns204(B)- get nsrpnsrp version: 2.0cluster info:cluster id: 1, no namelocal unit id: 5609745active units discovered: index: 0, unit id: 5609745, total number of units: 1VSD group info:init hold time: 5heartbeat lost threshold: 3heartbeat interval: 1000(ms)group priority preempt holddown inelig master PB other members 0 50 no 3 no 5609296(主设备) myself total number of vsd groups: 2Total iteration=4682,time=4184162,max=18848,min=286,average=893RTO mirror info:run time object sync:disabledping session sync: enablednsrp link info:no nsrp link has been defined yetNSRP encryption: disabledNSRP authentication: disabled NSRP monitor interface: ethernet1 ethernet3 number of gratuitous arps: 4 (default)track ip: disabledns204(B)- 设置NSRP心跳信息ns204(B)- ns204(B)- set nsrp vsd-group hb-interval 200 设置心跳信息每隔200秒将发出问候信息 ns204(B)- set nsrp vsd-group hb-threshold 3 设置心跳信息总共发出3次问候信息ns204(B)- save33、同步配置该步骤将主防火墙的配置和备份防火墙的配置进行同步,(强调一点,设置前请先将主防火墙的配置备份一次,具体步骤请参考维护文档)。l 使用超级终端登陆备份防火墙的console端口。l 使用一下命令:ns204(B)- exec nsrp sync rto all from peer (将从主设备上向备份主机同步会话状态信息)ns204(B)- exec nsrp sync file from peer (将从主设备上向备份主机同步配置信息)ns204(B)- exec nsrp sync global-config check-sum (将两台设备的配置进行校检,如有不同,备份的设备将会在重启后把主设备上的配置导入备份主机中)ns204(B)- exec nsrp sync global-config save (如有不同,备份的设备将会在重启后把主设备上的配置导入备份主机中)l 以下信息只有在超级终端上才有显示:ns204(B)- configuration in sync (local checksum 789579268 = remote checksum 789579268)sync all files from peer done Received all run-time-object from peer.configuration in sync (local checksum 789579268 = remote checksum 789579268)load peer system config to saveSave global configuration successfully.Save local configuration successfully.done.Please reset your box to let cluster configuration take effect!l 重启备份防火墙,在重启的过程中,备份的防火墙将会从主设备上同步配置ns204(B)- reset Netscreen 防火墙的冗余配置结束。四、图形界面下的配置步骤4.1、登陆防火墙的图形管理界面选择networkInterface Ethernet4 edit将Ethernet4端口的Zone name 选择HA ,将Ethernet4端口的IP地址全部删除NSRP设置选择Network Redundancy Settings在Cluster ID中输入1,选择NSRP RTO Mirror Synchronization 选择Monitor Port Edit 选择Ethernet 1和ethernet3VSD设置选择Network Redundancy VSD Group New 在Group ID中输入0,在Prority 中输入优先权值100同样的步骤配置备份的防火墙42、同步配置该步骤将主防火墙的配置和备份防火墙的配置进行同步,(强调一点,设置前请先将主防火墙的配置备份一次,具体步骤请参考维护文档)。l 使用超级终端登陆备份防火墙的console端口。l 使用一下命令:ns204(B)- exec nsrp sync rto all from peer (将从主设备上向备份主机同步会话状态信息)ns204(B)- exec nsrp sync file from peer (将从主设备上向备份主机同步配置信息)ns204(B)- exec nsrp sync global-config check-sum (将

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论