• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

防火墙冗余口

2021-01-11提问
  • 2关注
  • 2收藏,1970浏览
粉丝:0人 关注:4人

问题描述:

我防火墙下联口如果采用两个三层聚合口加入冗余组,那我下联的核心互联口该怎么配配两个三层聚合口起两个地址还是什么

组网及组网描述:


最佳答案

粉丝:3人 关注:0人

下连的核心配置聚合口为二层模式,配置接口链路类型为access,并将接口加入vlan,在核心上配置对应的Vlan-interface。详细配置参考以下案例:

链接:https://www.h3c.com/cn/d_202009/1337409_30005_0.htm#_Toc50670968


IRF双机热备三层直连,单冗余组冗余口主备组网典型配置举例

1. 组网需求

图3-5所示,某公司以Device作为网络边界安全防护设备,连接公司内部网络和Internet。为提高业务稳定性,使用两台Device进行IRF双机热备主备组网,Device A作为主设备,Device B作为备设备。当Device A或其链路发生故障时,由Device B接替Device A继续工作,保证业务不会中断。

2. 组网图

图3-5 IRF双机热备三层直连,单冗余组冗余口主备组网图

3. 配置Device

(1)     配置两台Device组成IRF

¡     配置Device A

# 配置IRF端口1/2,并将它与物理端口GigabitEthernet1/0/3绑定,并保存配置。

<DeviceA> system-view

[DeviceA] interface gigabitethernet 1/0/3

[DeviceA-GigabitEthernet1/0/3] shutdown

[DeviceA-GigabitEthernet1/0/3] quit

[DeviceA] irf-port 1/2

[DeviceA-irf-port1/2] port group interface gigabitethernet 1/0/3

You must perform the following tasks for a successful IRF setup:

Save the configuration after completing IRF configuration.

Execute the "irf-port-configuration active" command to activate the IRF ports.

[DeviceA-irf-port1/2] quit

[DeviceA] interface gigabitethernet 1/0/3

[DeviceA-GigabitEthernet1/0/3] undo shutdown

[DeviceA-GigabitEthernet1/0/3] quit

[DeviceA] save

[DeviceA] irf-port-configuration active

# 为确保Device A与Device B在主设备选举过程中,Device A为主,需要修改Device A成员优先级为2(成员优先级大的优先,缺省情况下,设备的成员优先级均为1)。

[DeviceA] irf member 1 priority 2

# 激活IRF端口下的配置。

[DeviceA] irf-port-configuration active

¡     配置Device B

# 将Device B的成员编号配置为2,并重启设备使新编号生效。

<DeviceB> system-view

[DeviceB] irf member 1 renumber 2

Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y

[DeviceB] quit

<DeviceB> reboot

# 参照图3-5进行物理连线。

# 重新登录到Device B,配置IRF端口2/1,并将它与物理端口GigabitEthernet2/0/3绑定,并保存配置。

<DeviceB> system-view

[DeviceB] interface gigabitethernet 2/0/3

[DeviceB-GigabitEthernet2/0/3] shutdown

[DeviceB-GigabitEthernet2/0/3] quit

[DeviceB] irf-port 2/1

[DeviceB-irf-port2/1] port group interface gigabitethernet 2/0/3

You must perform the following tasks for a successful IRF setup:

Save the configuration after completing IRF configuration.

Execute the "irf-port-configuration active" command to activate the IRF ports.

[DeviceB-irf-port2/1] quit

[DeviceB] interface gigabitethernet 2/0/3

[DeviceB-GigabitEthernet2/0/3] undo shutdown

[DeviceB-GigabitEthernet2/0/3] quit

[DeviceB] save

# 激活IRF端口下的配置。

[DeviceB] irf-port-configuration active

Device A和Device B间将会进行主设备竞选,竞选失败的一方将重启,重启完成后,IRF形成。

(2)     配置Track,监测上、下行接口的状态

<DeviceA> system-view

[DeviceA] track 1 interface gigabitethernet 1/0/1

[DeviceA-track-1] quit

[DeviceA] track 2 interface gigabitethernet 1/0/2

[DeviceA-track-2] quit

[DeviceA] track 3 interface gigabitethernet 2/0/1

[DeviceA-track-3] quit

[DeviceA] track 4 interface gigabitethernet 2/0/2

[DeviceA-track-4] quit

(3)     配置以太网冗余接口

# 创建以太网冗余接口Reth11。

[DeviceA] interface reth 11

[DeviceA-Reth11] member interface gigabitethernet 1/0/1 priority 100

[DeviceA-Reth11] member interface gigabitethernet 2/0/1 priority 80

[DeviceA-Reth11] ip address 51.1.1.2 255.255.255.0

[DeviceA-Reth11] quit

# 创建以太网冗余接口Reth12。

[DeviceA] interface reth 12

[DeviceA-Reth12] member interface gigabitethernet 1/0/2 priority 100

[DeviceA-Reth12] member interface gigabitethernet 2/0/2 priority 80

[DeviceA-Reth12] ip address 52.1.1.2 255.255.255.0

[DeviceA-Reth12] quit

(4)     配置冗余组

# 创建冗余组a。

[DeviceA] redundancy group a

# 将以太网冗余接口Reth11和Reth12加到冗余组a中。

[DeviceA-redundancy-group-a] member interface reth 11

[DeviceA-redundancy-group-a] member interface reth 12

# 创建Node 1,Node 1和Device A绑定,为主节点。关联的Track项为1和2。

[DeviceA-redundancy-group-a] node 1

[DeviceA-redundancy-group-a-node1] bind slot 1

[DeviceA-redundancy-group-a-node1] priority 20

[DeviceA-redundancy-group-a-node1] track 1 interface gigabitethernet 1/0/1

[DeviceA-redundancy-group-a-node1] track 2 interface gigabitethernet 1/0/2

[DeviceA-redundancy-group-a-node1] quit

# 创建Node 2,Node 2和Device B绑定,为备节点。关联的Track项为3和4。

[DeviceA-redundancy-group-a] node 2

[DeviceA-redundancy-group-a-node2] bind slot 2

[DeviceA-redundancy-group-a-node2] priority 10

[DeviceA-redundancy-group-a-node2] track 3 interface gigabitethernet 2/0/1

[DeviceA-redundancy-group-a-node2] track 4 interface gigabitethernet 2/0/2

[DeviceA-redundancy-group-a-node2] quit

[DeviceA-redundancy-group-a] quit

(5)     开启会话业务热备份功能

[DeviceA] session synchronization enable

(6)     配置会话工作在主备模式下,缺省工作在主备模式下

[DeviceA] undo session dual-active enable

(7)     配置各接口的IP地址、路由、安全域及域间策略保证网络可达,具体配置过程略

(8)     将以太网冗余接口Reth11加入Untrust安全域;将以太网冗余接口Reth12加入Trust安全域,具体配置过程略。

4. 配置Switch A

Switch A上的相关配置本举例仅列出配置思路,具体配置过程略。

(1)     创建VLAN 11和VLAN 10。

(2)     将接口GigabitEthernet1/0/1和GigabitEthernet1/0/2设置成工作在二层模式,接口链路类型为Access,并将此接口加入VLAN 11。

(3)     将接口GigabitEthernet1/0/3设置成工作在二层模式,接口链路类型为Access,并将此接口加入VLAN 10。

(4)     配置Vlan-interface11的IP地址为51.1.1.1/24,Vlan-interface10的IP地址为2.1.1.1/24。

(5)     配置路由信息,去往内网流量的下一跳IP地址为51.1.1.2,去往Internet流量的下一跳IP地址为2.1.1.2。

5. 配置Switch B

Switch B上的相关配置本举例仅列出配置思路,具体配置过程略。

(1)     创建VLAN 12和VLAN 20。

(2)     将接口GigabitEthernet1/0/1和GigabitEthernet1/0/2设置成工作在二层模式,接口链路类型为Access,并将此接口加入VLAN 12。

(3)     将接口GigabitEthernet1/0/3设置成工作在二层模式,接口链路类型为Access,并将此接口加入VLAN 20。

(4)     配置Vlan-interface12的IP地址为52.1.1.1/24,Vlan-interface20的IP地址为10.1.1.1/24。

(5)     配置路由信息,去往Internet流量的下一跳IP地址为52.1.1.2。

6. 配置Host

# 配置Host的默认网关为10.1.1.1。

7. 验证配置

(1)     缺省情况下冗余组的显示信息

# 显示冗余组信息。可以看到优先级高的Node 1为主节点,Node 1和Node 2下面的成员接口都处于UP状态。

[DeviceA] display redundancy group a

Redundancy group a (ID 1):

  Node ID      Slot       Priority   Status        Track weight

  1            Slot1      20         Primary       255

  2            Slot2      10         Secondary     255

 

Preempt delay time remained     : 0    min

Preempt delay timer setting     : 60   min

Remaining hold-down time        : 0    sec

Hold-down timer setting         : 1    sec

Manual switchover request       : No

 

Member interfaces:

    Reth11                Reth12

 

Node 1:

  Track info:

    Track    Status       Reduced weight     Interface

    1        Positive     255                GE1/0/1

    2        Positive     255                GE1/0/2

Node 2:

  Track info:

    Track    Status       Reduced weight     Interface

    3        Positive       255              GE2/0/1

    4        Positive       255              GE2/0/2

(2)     冗余组内主备倒换后的显示信息

# 手工关闭接口GigabitEthernet1/0/2,显示冗余组信息。可以看到优先级低的Node 2为主节点,Node 2的成员接口转发报文。

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] shutdown

[DeviceA-GigabitEthernet1/0/2] display redundancy group a

Redundancy group a (ID 1):

  Node ID      Slot       Priority   Status        Track weight

  1            Slot1      20         Secondary     -255

  2            Slot2      10         Primary       255

 

Preempt delay time remained     : 0    min

Preempt delay timer setting     : 1    min

Remaining hold-down time        : 0    sec

Hold-down timer setting         : 1    sec

Manual switchover request       : No

 

Member interfaces:

    Reth11                Reth12

 

Node 1:

  Track info:

    Track    Status                Reduced weight     Interface

    1         Negative             255                GE1/0/1

    2         Negative(Faulty)     255                GE1/0/2

Node 2:

  Track info:

    Track    Status       Reduced weight     Interface

    3         Positive       255              GE2/0/1

    4         Positive       255              GE2/0/2

3 个回答
粉丝:199人 关注:1人

核心上的聚合口划入access接口,配置一个VLAN接口地址

三层聚合库怎么化vlan

打败白 发表时间:2021-01-11

防火墙上的冗余口只能加入三层聚合口我在核心上起二层聚合口可以起来嘛

打败白 发表时间:2021-01-11
回复打败白:

防火墙三层,交换机侧是可以二层的

叫我靓仔 发表时间:2021-01-11
回复打败白:

可以的

叫我靓仔 发表时间:2021-01-11

项目中可以这样使用嘛

打败白 发表时间:2021-01-11
回复打败白:

我的环境就有,三层聚合口对接二层聚合口

叫我靓仔 发表时间:2021-01-11
粉丝:111人 关注:1人

两个三层聚合, 分别配置一个地址,就可以了。

粉丝:1人 关注:1人



FW

int Route-Aggregation 1
qu
int range g1/0/1 to g1/0/2
port link-aggregation group 1
int Route-Aggregation 1
qu
interface Route-Aggregation1.2
ip add 192.168.1.1 24
vlan-type dot1q vid 2 //注意:这个vid的值为下层交换机的 vlan值


SW

vlan 2
int vlan 2
ip add 192.168.1.2 24
quit
int Bridge-Aggregation 1
quit
int g1/0/1
port link-aggregation group 1
quit
int g1/0/2
port link-aggregation group 1
quit
int Bridge-Aggregation 1
port link-type trunk
port trunk permit vlan all

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明