三、NSRP典型结构与配置(B)
 
2 Layer3 Fullmesh A/P组网模式 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

       Layer3 Fullmesh 连接A/P组网使用全交叉网络连接模式,容许在同一设备上提供链路级冗余,发生链路故障时,由备用链路接管网络流量,防火墙间无需进行状态切换。仅在上行或下行两条链路同时发生故障情况下,防火墙才会进行状态切换,Fullmesh连接进一步提高了业务的可靠性。该组网模式在提供设备冗余的同时提供链路级冗余,成为很多企业部署关键业务时的最佳选择。

 

       NS-A Active:
       Set hostname NS-A /***
定义主机名***/
       Set interface mgt ip 192.168.2.1/24 /***
通过管理口远程管理NS-A***/
       Set interface red1 zone Untrust /***
创建冗余接口1***/
       Set interface e1 zone null
       Set interface e1 group red1
       Set interface e2 zone null
       Set interface e2 group red1
       Set interface red1 i<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />p 10.1.1.4/29
       Set interface red2 zone trust
       Set interface e3 zone null
       Set interface e3 group red2
       Set interface e4 zone null
       Set interface e4 group red2
       Set interface red2 ip 192.168.1.4/29
       /***
配置接口:Untrust/Trust Layer3 路由模式***/
       Set interface ethernet7 zone ha
       Set interface ethernet8 zone ha
       set nsrp cluster id 1
       set nsrp rto-mirror sync /***
容许会话信息自动同步***/
       set nsrp vsd-group id 0 priority 50
       set nsrp monitor interface ethernet2
       set nsrp monitor interface ethernet1
       /***
配置NSRPVsd-group缺省为0VSI使用物理接口IP地址,优先级为50,非抢占模式***/


       NS-B
Backup:
       Set hostname NS-B /***
定义主机名***/
       Set interface mgt ip 192.168.2.2/24 /***
通过管理口远程管理NS-A***/
       Set interface red1 zone Untrust /***
创建冗余接口***/
       Set interface e1 zone null
       Set interface e1 group red1 /***
将该物理接口放置到冗余接口中***/
       Set interface e2 zone null
       Set interface e2 group red1
       Set interface red1 ip 10.1.1.4/29
       Set interface red2 zone trust
       Set interface e3 zone null
       Set interface e3 group red2
       Set interface e4 zone null
       Set interface e4 group red2
       Set interface red2 ip 192.168.1.4/29
       /***
配置接口:Untrust/Trust Layer3 路由模式***/
       Set interface ethernet7 zone ha
       Set interface ethernet8 zone ha
       set nsrp cluster id 1
       set nsrp rto-mirror sync /***
容许会话信息自动同步***/
       set nsrp vsd-group id 0 priority 100
       set nsrp monitor interface ethernet2
       set nsrp monitor interface ethernet1
       /***Vsd-group
缺省为0VSI使用物理接口IP地址,备用设备***/