Juniper防火墙配置

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Netscreen 204防火墙/VPN NSRP(HA)冗余设置步骤

目录

一、网络拓扑结构图 (3)

二、设置步骤 (3)

三、命令行配置方式 (4)

四、图形界面下的配置步骤 (8)

设置前请先将在线主防火墙的配置备份一次,具体步骤请参考《维护文档》

一、网络拓扑结构图

二、设置步骤

1、将两台防火墙的第四个端口连接在一起,我们设置将原有防火墙设置为主防火墙,新增

加的防火墙为备份的防火墙,备份的防火墙只连接第四个端口,其他的端口将在防火墙配置完毕后才连接上

2、使用终端线缆连接到防火墙的Console口,超级终端参数设置为9600-8-无-1-无。

三、命令行配置方式

蓝色字体为在超级终端上输入的命令

3.1、主防火墙配置,(移动公司在线使用的Netscreen-204防火墙)

ns204>unset interface e4 ip将端口4的IP地址删除,

ns204>set interface e4 zone ha将端口4和HA区域绑定一起配置NSRP

ns204->

ns204->

ns204-> get nsrp查看NSRP配置信息

nsrp version: 2.0

cluster info:

cluster id not set: nsrp is inactive 默认的情况下NSRP没有击活

VSD group info:

init hold time: 5

heartbeat lost threshold: 3

heartbeat interval: 1000(ms)

group priority preempt holddown inelig master PB other members

total number of vsd groups: 0

Total iteration=3808,time=2721060,max=880,min=286,average=714

RTO mirror info:

run time object sync: disabled

ping session sync: enabled

coldstart sync done

nsrp link info:

no nsrp link has been defined yet

NSRP encryption: disabled

--- more ---

NSRP authentication: disabled

NSRP monitor interface: none

number of gratuitous arps: 4 (default)

track ip: disabled

ns204-> 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 nsrp

nsrp version: 2.0

cluster info:

cluster id: 1, no name

local unit id: 5609296

active units discovered:

index: 0, unit id: 5609296, total number of units: 1

VSD group info:

init hold time: 5

heartbeat lost threshold: 3

heartbeat 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: 2

Total iteration=4682,time=4184162,max=18848,min=286,average=893

RTO mirror info:

run time object sync: disabled

ping session sync: enabled

nsrp link info:

no nsrp link has been defined yet

NSRP encryption: disabled

NSRP authentication: disabled

NSRP monitor interface: ethernet1

ethernet3

number of gratuitous arps: 4 (default)

track ip: disabled

ns204(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)-> save

3.2、备份防火墙的配置:(新增加的防火墙)

ns204>unset all将新增防火墙的原有配置清除,恢复出厂状态

Erase all system config, are you sure y/[n] ? y

ns204> reset

Configuration modified, save? [y]/n n

System reset, are you sure? y/[n] y

In reset ... ................................................................. ................................................................. .................................................................

ns204>set interface e4 zone ha将端口4和HA区域绑定一起

配置NSRP

ns204-> 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出现故

相关文档
最新文档