• 產品與解決方案
  • 行業解決方案
  • 服務
  • 支持
  • 合作夥伴
  • 關於我們

H3C S6850&S9850&S9820-64H 典型配置舉例-Release 655x係列-6W100

目錄

64-IS-IS路由聚合典型配置舉例

本章節下載 64-IS-IS路由聚合典型配置舉例  (171.84 KB)

64-IS-IS路由聚合典型配置舉例

H3C S6850&S9850&S9820-64H路由聚合典型配置舉例

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2020 bobty下载软件 版權所有,保留一切權利。

非經本公司書麵許可,任何單位和個人不得擅自摘抄、複製本文檔內容的部分或全部,並不得以任何形式傳播。

除bobty下载软件 的商標外,本手冊中出現的其它公司的商標、產品標識及商品名稱,由各自權利人擁有。

本文檔中的信息可能變動,恕不另行通知。



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  適用產品及版本

表1 適用產品及版本

產品

軟件版本

S6850係列

S9850係列

Release 6555P01

S9820-64H

Release 6555P01

 

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.1 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] address-family ipv4

[DeviceA-isis-1-ipv4] 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 S6850 & S9850係列以太網交換機 三層技術-IP路由配置指導-Release 655x係列

·            H3C S6850 & S9850係列以太網交換機 三層技術-IP路由命令參考-Release 655x係列

·            H3C S9820-64H交換機 三層技術-IP路由配置指導-Release 655x係列

·            H3C S9820-64H交換機 三層技術-IP路由命令參考-Release 655x係列

 

不同款型規格的資料略有差異, 詳細信息請向具體銷售和400谘詢。H3C保留在沒有任何通知或提示的情況下對資料內容進行修改的權利!

BOB登陆
官網
聯係我們