• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

H3C S6800系列以太网交换机 典型配置举例-Release 26xx系列-6W100

目录

67-IS-IS路由聚合典型配置举例

本章节下载 67-IS-IS路由聚合典型配置举例  (149.04 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/S6800/S6800/Configure/Typical_Configuration_Example/H3C_S6800_CE-Release_26xx-6W100/201802/1062264_30005_0.htm

67-IS-IS路由聚合典型配置举例

H3C S6800产品IS-IS路由聚合配置举例

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2018新华三技术有限公司 版权所有,保留一切权利。

非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部,

H3C_彩色.emf

 



1  简介

本文档介绍IS-IS路由聚合配置举例。

2  配置前提

本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。

本文档假设您已了解IS-IS路由聚合特性。

3  IS-IS路由聚合配置举例

3.1  组网需求

图1所示,某公司内部5个部门使用IS-IS协议接入公司骨干网。公司为每个部门分配一个C类地址段。为了降低Device B设备的系统资源消耗,现要求通过在Device A上配置IS-IS路由聚合,减少Device B设备上的路由表项。

图1 IS-IS路由聚合配置组网图

设备

接口

IP地址

设备

接口

IP地址

Device A

Vlan-int10

172.16.1.1/24

Device B

Vlan-int10

172.168.1.2/24

Vlan-int101

10.1.1.1/24

GW 1

Vlan-int101

10.1.1.2/24

Vlan-int102

10.1.2.1/24

GW 2

Vlan-int102

10.1.2.2/24

Vlan-int103

10.1.3.1/24

GW3

Vlan-int103

10.1.3.2/24

 

3.2  配置思路

·     由于路由器只对本地生成的LSP中的路由进行聚合,所以需要在Device A上配置路由聚合。

·     为了尽可能避免路由黑洞的出现,将路由聚合为192.168.0.0/22。

3.3  使用版本

本举例是在S6800-CMW710-R2609版本上进行配置和验证的。

3.4  配置步骤

3.4.1  配置各接口的IP地址

# 配置Device A接口Vlan-interface 10的IP地址。

<DeviceA> system-view

[DeviceA] interface vlan-interface 10

[DeviceA-Vlan-interface10] ip address 172.16.1.2 24

[DeviceA-Vlan-interface10] quit

# 请参考以上方法配置图1中其它设备的接口IP地址,具体配置过程略。

3.4.2  配置IS-IS基本功能

1. Device A的配置

# 使能IS-IS进程,并配置Device A工作在Level-1-2。

[DeviceA] isis 1

[DeviceA-isis-1] network-entity 10.0000.0000.0001.00

[DeviceA-isis-1] is-level level-1-2

[DeviceA-isis-1] quit

# 在所有接口使能IS-IS进程,此处仅以VLAN接口10为例。

[DeviceA] interface vlan-interface 10

[DeviceA–Vlan-interface10] isis enable 1

[DeviceA–Vlan-interface10] quit

2. Device B的配置

# 使能IS-IS进程,并配置Device B工作在Level-2。

[DeviceB] isis 1

[DeviceB-isis-1] network-entity 10.0000.0000.0002.00

[DeviceB-isis-1] is-level level-2

[DeviceB-isis-1] quit

# 在VLAN接口10使能使能IS-IS进程。

[DeviceB] interface vlan-interface 10

[DeviceB–Vlan-interface10] isis enable 1

[DeviceB–Vlan-interface10] quit

3. GW的配置

# 使能IS-IS进程,并配置GW 1工作在Level-1。

[GW1] isis 1

[GW1-isis-1] network-entity 10.0001.0001.0001.00

[GW1-isis-1] is-level level-1

[GW1-isis-1] quit

# 在VLAN接口11使能使能IS-IS进程。

[GW1] interface vlan-interface 11

[GW1–Vlan-interface11] isis enable 1

[GW1–Vlan-interface11] quit

# 请参考以上方法配置其他GW,具体配置过程略。

4. 查看Device B上的IS-IS路由信息

完成以上配置后,在Device B上查看IS-IS路由信息,可以查看到每个公司所在网段的路由。

[DeviceB] display isis route

 

Route information for IS-IS(1)

                         ------------------------------

 

                         Level-2 IPv4 Forwarding Table

                         -----------------------------

 

 IPv4 Destination     IntCost    ExtCost ExitInterface   NextHop         Flags

-------------------------------------------------------------------------------

 192.168.1.0/24       30         NULL    Vlan10          172.16.1.1      R/-/-

 10.1.1.0/24          20         NULL    Vlan10          172.16.1.1      R/-/-

 192.168.2.0/24       30         NULL    Vlan10          172.16.1.1      R/-/-

 10.1.2.0/24          20         NULL    Vlan10          172.16.1.1      R/-/-

 192.168.3.0/24       30         NULL    Vlan10          172.16.1.1      R/-/-

 10.1.3.0/24          20         NULL    Vlan10          172.16.1.1      R/-/-

 172.16.1.0/24        10         NULL    Vlan10          Direct          D/L/-

 

      Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set

3.4.3  在Device A上配置IS-IS路由聚合

[DeviceA] isis 1

[DeviceA-isis-1] address-family ipv4

[DeviceA-isis-1] summary 192.168.0.0 22

3.5  验证配置

# 在Device B上查看IS-IS路由信息,可以看到各部门的网段已被聚合为192.168.0.0/22。

[DeviceB] display isis route

 

                         Route information for IS-IS(1)

                         ------------------------------

 

                         Level-2 IPv4 Forwarding Table

                         -----------------------------

 

 IPv4 Destination     IntCost    ExtCost ExitInterface   NextHop         Flags

-------------------------------------------------------------------------------

 10.1.1.0/24          20         NULL    Vlan10          172.16.1.1      R/-/-

 10.1.2.0/24          20         NULL    Vlan10          172.16.1.1      R/-/-

 10.1.3.0/24          20         NULL    Vlan10          172.16.1.1      R/-/-

 172.16.1.0/24        10         NULL    Vlan10          Direct          D/L/-

 192.168.0.0/22       30         NULL    Vlan10          172.16.1.1      R/-/-

 

      Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set

3.6  配置文件

·     Device A:

#

isis 1

 network-entity 10.0000.0000.0001.00

 #

 address-family ipv4 unicast

  summary 192.168.0.0 255.255.252.0

#

vlan 10

#

vlan 101 to 103

#

interface vlan-interface10

 ip address 172.16.1.1 255.255.255.0

 isis enable 1

#

interface vlan-interface101

 ip address 10.1.1.1 255.255.255.0

 isis enable 1

#

interface vlan-interface102

 ip address 10.1.2.1 255.255.255.0

 isis enable 1

#

interface vlan-interface103

 ip address 10.1.3.1 255.255.255.0

 isis enable 1

#

·     Device B :

#

isis 1

 is-level level-2

 network-entity 10.0000.0000.0002.00

#

vlan 10

#

interface vlan-interface10

 ip address 172.16.1.2 255.255.255.0

 isis enable 1

#

·     GW 1:

#

isis 1

 is-level level-1

 network-entity 10.0001.0001.0001.00

#

vlan 11

#

vlan 101

#

interface vlan-interface101

 ip address 10.1.1.2 255.255.255.0

 isis enable 1

#

interface vlan-interface11

 ip address 192.168.1.1 255.255.255.0

 isis enable 1

#

# 其余GW设备的配置请参考GW 1,此处省略。

4  相关资料

·     H3C S6800系列以太网交换机 三层技术-IP路由配置指导-Release 26xx系列

·     H3C S6800系列以太网交换机 三层技术-IP路由命令参考-Release 26xx系列

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们