H3CS5600系列交换机典型配置举例_第1页
H3CS5600系列交换机典型配置举例_第2页
H3CS5600系列交换机典型配置举例_第3页
H3CS5600系列交换机典型配置举例_第4页
H3CS5600系列交换机典型配置举例_第5页
已阅读5页,还剩13页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、S5600系列交换机典型配置举例2.1.1  静态路由典型配置1. 组网需求(1)        需求分析某小型公司办公网络需要任意两个节点之间能够互通,网络结构简单、稳定,用户希望最大限度利用现有设备。用户现在拥有的设备不支持动态路由协议。根据用户需求及用户网络环境,选择静态路由实现用户网络之间互通。(2)        网络规划根据用户需求,设计如图2-1所示网络拓扑图。图2-1 静态路由配置举例组网图2. 配置步骤交换机上的配置步骤:# 设

2、置以太网交换机Switch A的静态路由。<SwitchA> system-viewSwitchA ip route-static 1.1.3.0 255.255.255.0 1.1.2.2SwitchA ip route-static 1.1.4.0 255.255.255.0 1.1.2.2SwitchA ip route-static 1.1.5.0 255.255.255.0 1.1.2.2# 设置以太网交换机Switch B的静态路由。<SwitchB> system-viewSwitchB ip route-static 1.1.2.0 255.255.25

3、5.0 1.1.3.1SwitchB ip route-static 1.1.5.0 255.255.255.0 1.1.3.1SwitchB ip route-static 1.1.1.0 255.255.255.0 1.1.3.1# 设置以太网交换机Switch C的静态路由。<SwitchC> system-viewSwitchC ip route-static 1.1.1.0 255.255.255.0 1.1.2.1SwitchC ip route-static 1.1.4.0 255.255.255.0 1.1.3.2主机上的配置步骤:# 在主机A上配缺省网关为1.1.

4、5.1,具体配置略。# 在主机B上配缺省网关为1.1.4.1,具体配置略。# 在主机C上配缺省网关为1.1.1.1,具体配置略。至此图中所有主机或以太网交换机之间均能两两互通。2.1.2  RIP典型配置1. 组网需求(1)        需求分析某小型公司办公网络需要任意两个节点之间能够互通,网络规模比较小。需要设备自动适应网络拓扑变化,降低人工维护工作量。根据用户需求及用户网络环境,选择RIP路由协议实现用户网络之间互通。(2)       

5、 网络规划根据用户需求,设计如图2-2所示网络拓扑图。设备接口IP地址设备接口IP地址Switch AVlan-int1110.11.2.1/24Switch BVlan-int1110.11.2.2/24 Vlan-int2155.10.1.1/24 Vlan-int3196.38.165.1/24Switch CVlan-int1110.11.2.3/24    Vlan-int4117.102.0.1/16   图2-2 RIP典型配置组网图2. 配置步骤&  说明:以下的配置,只

6、列出了与RIP相关的操作。在进行下列配置之前,请先确保以太网链路层能够正常工作,且各VLAN接口IP地址已经配置完成。 (1)        配置Switch A# 配置RIP。<SwitchA> system-viewSwitchA ripSwitchA-rip network 110.11.2.0SwitchA-rip network 155.10.1.0(2)        配置Switch B# 配置RIP。<Switc

7、hB> system-viewSwitchB ripSwitchB-rip network 196.38.165.0SwitchB-rip network 110.11.2.0 (3)        配置Switch C# 配置RIP。<SwitchC> system-viewSwitchC rip SwitchC-rip network 117.102.0.0SwitchC-rip network 110.11.2.02.1.3  OSPF的DR典型配置1. 组网需求(1)  

8、;      需求分析某用户网络链路类型为广播型网络,通过OSPF实现网络之间互通。由于网络中设备性能有差异,希望DR/BDR由性能较高的设备承担,优化网络处理速度。对于网络中性能较低的设备,禁止其参加DR/BDR选举。根据用户需求及其网络环境,通过修改接口优先级实现用户需求。(2)        网络规划根据用户需求,设计如图2-3所示网络拓扑图。设备接口IP地址Router ID接口优先级Switch AVlan-int1196.1.1.1/241.1.1.1100Swi

9、tch BVlan-int1196.1.1.2/242.2.2.20Switch CVlan-int1196.1.1.3/243.3.3.32Switch DVlan-int1196.1.1.4/244.4.4.41图2-3 配置OSPF的DR选择组网图2. 配置步骤# 配置Switch A<SwitchA> system-viewSwitchA interface Vlan-interface 1SwitchA-Vlan-interface1 ip address 196.1.1.1 255.255.255.0SwitchA-Vlan-interface1 ospf dr-pri

10、ority 100SwitchA-Vlan-interface1 quitSwitchA router id 1.1.1.1SwitchA ospfSwitchA-ospf-1 area 0SwitchA-ospf-1-area-0.0.0.0 network 196.1.1.0 0.0.0.255# 配置Switch B<SwitchB> system-viewSwitchB interface Vlan-interface 1SwitchB-Vlan-interface1 ip address 196.1.1.2 255.255.255.0SwitchB-Vlan-interf

11、ace1 ospf dr-priority 0SwitchB-Vlan-interface1 quitSwitchB router id 2.2.2.2SwitchB ospfSwitchB-ospf-1 area 0SwitchB-ospf-1-area-0.0.0.0 network 196.1.1.0 0.0.0.255# 配置Switch C<SwitchC> system-viewSwitchC interface Vlan-interface 1SwitchC-Vlan-interface1 ip address 196.1.1.3 255.255.255.0Switc

12、hC-Vlan-interface1 ospf dr-priority 2SwitchC-Vlan-interface1 quitSwitchC router id 3.3.3.3SwitchC ospfSwitchC-ospf-1 area 0SwitchC-ospf-1-area-0.0.0.0 network 196.1.1.0 0.0.0.255# 配置Switch D<SwitchD> system-viewSwitchD interface Vlan-interface 1SwitchD-Vlan-interface1 ip address 196.1.1.4 255.

13、255.255.0SwitchD-Vlan-interface1 quitSwitchD router id 4.4.4.4SwitchD ospfSwitchD-ospf-1 area 0SwitchD-ospf-1-area-0.0.0.0 network 196.1.1.0 0.0.0.255在Switch A上运行display ospf peer来显示OSPF邻居,注意Switch A有三个邻居。每个邻居的状态都是full,这意味着Switch A与它的每个邻居都形成了邻接(Switch A和Switch C必须与网络中的所有交换机形成邻接,才能分别充当网络的DR和BDR)。Swit

14、ch A是网络中的DR,而Switch C是BDR。其它所有的邻居都是DRother(这意味着它们既不是DR,也不是BDR)。# 将Switch B的优先级改为200<SwitchB> system-viewSwitchB interface Vlan-interface 1SwitchB-Vlan-interface1 ospf dr-priority 200在Switch A上运行display ospf peer来显示OSPF邻居,注意Switch B的优先级变为200;但它并不是DR。只有当现在的DR不在网络上了后,DR才会改变。关掉Switch A,在Switch D上运

15、行display ospf peer命令可显示邻居,注意本来是BDR的Switch C成为了DR,并且Switch B现在成为了BDR。若网络中所有的交换机被移走后又重新加入,Switch B就被选为DR(优先级为200),Switch A成为了BDR(优先级为100)。关掉所有的交换机再重新启动,这个操作会带来一个新的DR/BDR选择。2.1.4  OSPF虚连接配置1. 组网需求(1)        需求分析用户网络运行OSPF实现网络互通。网络分为三个区域,一个骨干区域,两个普通区域(Area 1、Area

16、2)。其中某普通区域(Area 2)无法与骨干区域直接相连,只能通过另外一个普通区域(Area 1)接入。用户希望无法与骨干区域直接连接的普通区域(Area 2)能够与另外两个区域互通。根据用户需求及用户网络环境,选择虚连接来实现普通区域(Area 2)与骨干区域之间的连接。(2)        网络规划根据用户需求,设计如图2-4所示网络拓扑图。设备接口IP地址Router IDSwitch AVlan-int1196.1.1.2/241.1.1.1 Vlan-int2197.1.1.2/24-Switch BV

17、lan-int1152.1.1.1/242.2.2.2 Vlan-int2197.1.1.1/24-图2-4 配置OSPF虚链路组网图2. 配置步骤(1)        配置OSPF基本功能# 配置Switch A。<SwitchA> system-viewSwitchA interface vlan-interface 1SwitchA-Vlan-interface1 ip address 196.1.1.2 255.255.255.0SwitchA-Vlan-interface1 quitSwitc

18、hA interface vlan-interface 2SwitchA-Vlan-interface2 ip address 197.1.1.2 255.255.255.0SwitchA-Vlan-interface2 quitSwitchA router id 1.1.1.1SwitchA ospfSwitchA-ospf-1 area 0SwitchA-ospf-1-area-0.0.0.0 network 196.1.1.0 0.0.0.255SwitchA-ospf-1-area-0.0.0.0 quitSwitchA-ospf-1 area 1SwitchA-ospf-1-area

19、-0.0.0.1 network 197.1.1.0 0.0.0.255SwitchA-ospf-1-area-0.0.0.1 quitSwitchA-ospf-1 quit# 配置Switch B。<SwitchB> system-viewSwitchB interface Vlan-interface 1SwitchB-Vlan-interface1 ip address 152.1.1.1 255.255.255.0SwitchB-Vlan-interface1 quitSwitchB interface Vlan-interface 2SwitchB-Vlan-interf

20、ace2 ip address 197.1.1.1 255.255.255.0SwitchB-Vlan-interface2 quitSwitchB router id 2.2.2.2SwitchB ospfSwitchB-ospf-1 area 1SwitchB-ospf-1-area-0.0.0.1 network 197.1.1.0 0.0.0.255SwitchB-ospf-1-area-0.0.0.1 quitSwitchB-ospf-1 area 2SwitchB-ospf-1-area-0.0.0.2 network 152.1.1.0 0.0.0.255SwitchB-ospf

21、-1-area-0.0.0.2 quit# 显示Switch A的OSPF路由表。SwitchA display ospf routing                  OSPF Process 1 with Router ID 1.1.1.1               &

22、#160;              Routing Tables Routing for NetworkDestination             Cost Type NextHop         AdvRouter   

23、     Area196.1.1.0/24              10 Stub 196.1.1.2       1.1.1.1          0.0.0.0197.1.1.0/24       

24、60;      10 Net  197.1.1.1       2.2.2.2          0.0.0.1 Total Nets: 2  Intra Area: 2  Inter Area: 0  ASE: 0  NSSA: 0&  说明:由于Area2没有与Area0直接相连,所以Switch A的路由表中没有

25、Area2中的路由。 (2)        配置虚连接。# 配置Switch A。SwitchA ospfSwitchA-ospf-1 area 1SwitchA-ospf-1-area-0.0.0.1 vlink-peer 2.2.2.2SwitchA-ospf-1-area-0.0.0.1 quitSwitchA-ospf-1 quit# 配置Switch B。SwitchB-ospf-1 area 1SwitchB-ospf-1-area-0.0.0.1 vlink-peer 1.1.1.1SwitchB-o

26、spf-1-area-0.0.0.1 quit# 显示Switch A的OSPF路由表。SwitchAdisplay ospf routing                  OSPF Process 1 with Router ID 1.1.1.1               

27、;               Routing Tables Routing for NetworkDestination             Cost Type NextHop         AdvRouter  

28、0;     Area196.1.1.0/24              10 Stub 196.1.1.2       1.1.1.1          0.0.0.0197.1.1.0/24       &

29、#160;      10 Net  197.1.1.1       2.2.2.2          0.0.0.1152.1.1.0/24              20 SNet 197.1.1.1     

30、60; 2.2.2.2          0.0.0.0 Total Nets: 3  Intra Area: 2  Inter Area: 1  ASE: 0  NSSA: 0可以看到,Switch A已经学到了Area2的路由152.1.1.0/24。2.1.5  配置BGP联盟属性1. 组网需求(1)        需求分析某用户拥有一个大型AS,AS中运行BG

31、P协议。随着AS规模的增长,IBGP对等体数量激增,用于BGP通信的网络资源亦随之增加。用户希望不影响设备工作性能条件下,削减IBGP对等体数量,降低BGP对设备CPU和网络资源的消耗。根据用户需求,选择应用BGP自治系统联盟属性实现用户需求。(2)        网络规划根据用户需求,设计如图2-5所示网络拓扑图。设备接口IP地址ASSwitch AVlan-int 10172.68.10.1/24100 Vlan-int 5010.1.1.1/24Switch BVlan-int 10172.68.10.2/2

32、4Switch CVlan-int 10172.68.10.3/24 Vlan-int 20172.68.1.1/24 Vlan-int 30156.10.1.1/24Switch DVlan-int 20172.68.1.2/24Switch EVlan-int 30156.10.1.2/24200 Vlan-int 408.1.1.1/24 图2-5 配置自治系统联盟的组网图(3)        配置策略l      &#

33、160;       将AS 100划分为三个子自治系统,分别为AS 1001,AS 1002,AS 1003;l              AS 1001,AS 1002,AS 1003之间运行EBGP;l              AS 1001,AS 1002,AS 100

34、3内部建立全连接,运行IBGP;l              AS 100,AS 200之间运行EBGP。2. 配置步骤# 配置Switch A。<SwitchA> system-view SwitchA bgp 1001SwitchA-bgp network 10.1.1.0 255.255.255.0SwitchA-bgp confederation id 100SwitchA-bgp confederation peer-as 1002 1003S

35、witchA-bgp group confed1002 externalSwitchA-bgp peer 172.68.10.2 group confed1002 as-number 1002SwitchA-bgp group confed1003 externalSwitchA-bgp peer 172.68.10.3 group confed1003 as-number 1003SwitchA-bgp quit# 配置Switch B。<SwitchB> system-view SwitchB bgp 1002SwitchB-bgp confederation id 100Sw

36、itchB-bgp confederation peer-as 1001 1003SwitchB-bgp group confed1001 externalSwitchB-bgp peer 172.68.10.1 group confed1001 as-number 1001SwitchB-bgp group confed1003 externalSwitchB-bgp peer 172.68.10.3 group confed1003 as-number 1003# 配置Switch C。<SwitchC> system-view SwitchC bgp 1003SwitchC-

37、bgp confederation id 100SwitchC-bgp confederation peer-as 1001 1002SwitchC-bgp group confed1001 externalSwitchC-bgp peer 172.68.10.1 group confed1001 as-number 1001SwitchC-bgp group confed1002 externalSwitchC-bgp peer 172.68.10.2 group confed1002 as-number 1002SwitchC-bgp group ebgp200 externalSwitc

38、hC-bgp peer 156.10.1.2 group ebgp200 as-number 200SwitchC-bgp group ibgp1003 internalSwitchC-bgp peer 172.68.1.2 group ibgp1003# 配置Switch D。<SwitchD> system-view SwitchD bgp 1003SwitchD-bgp confederation id 100SwitchD-bgp group ibgp1003 internalSwitchD-bgp peer 172.68.1.1 group ibgp1003# 配置Swi

39、tch E。<SwitchE> system-view SwitchE bgp 200SwitchE-bgp network 8.1.1.0 255.255.255.0SwitchE-bgp group ebgp100 externalSwitchE-bgp peer 156.10.1.1 group ebgp100 as-number 100SwitchE-bgp quit# 显示Switch E的BGP路由表。SwitchE display bgp routing Flags:  # - valid     

40、  - active      I - internal        D - damped      H - history     S - aggregate suppressed     Dest/Mask          Next-Hop&

41、#160;       Med        Local-pref Origin Path-#  8.1.1.0/24         0.0.0.0         0          100 &

42、#160;       IGP#  10.1.1.0/24        156.10.1.1      0          100         IGP   100   Routes total

43、: 2# 显示Switch A的BGP路由表。SwitchA display bgp routing Flags:  # - valid       - active      I - internal        D - damped      H - history     S - aggregate

44、suppressed     Dest/Mask       Next-Hop      Med      Local-pref  Origin  Path-  I 8.1.1.0/24      156.10.1.2    0     &

45、#160;  100         IGP     (1003) 200#  10.1.1.0/24     0.0.0.0       0        100         IGP  

46、; Routes total: 2根据显示信息可以看出,子自治系统信息仅在联盟内部通告。处于联盟外部的自治系统的设备(例如Switch E)将联盟作为一个自治系统,不能学习联盟内部的子自治系统信息。2.1.6  配置BGP路由反射器1. 组网需求(1)        需求分析某用户拥有一个大型AS,AS中运行BGP协议。随着AS规模的增长,IBGP对等体数量激增,用于BGP通信的网络资源亦随之增加。用户希望不影响设备工作性能条件下,削减IBGP对等体数量,降低BGP对设备CPU和网络资源的消耗。另外,该AS中,IB

47、GP对等体之间连接采用部分互联。根据用户需求和用户网络环境,选择BGP路由反射器方案满足用户需求。(2)        网络规划根据用户需求,设计如图2-6所示网络拓扑图。设备接口IP地址ASSwitch AVlan-int 1001.1.1.1/8100 Vlan-int 2192.1.1.1/24Switch BVlan-int 2192.1.1.2/24200 Vlan-int 3193.1.1.2/24Switch CVlan-int 3193.1.1.1/24 Vlan-int 419

48、4.1.1.1/24Switch DVlan-int 4194.1.1.2/24 图2-6 配置BGP路由反射器的组网图(3)        配置策略l              AS 100与AS 200对等体之间运行EBGP,通告1.0.0.0/8网段;l           

49、;   AS 200中对等体之间运行IBGP,AS网络拓扑采用星型拓扑结构;中央设备作为路由反射器,其他设备作为客户机。2. 配置步骤(1)        配置Switch A<SwitchA> system-view SwitchA interface Vlan-interface 2SwitchA-Vlan-interface2 ip address 192.1.1.1 255.255.255.0SwitchA-Vlan-interface2 interface Vlan-interfac

50、e 100 SwitchA-Vlan-interface100 ip address 1.1.1.1 255.0.0.0SwitchA-Vlan-interface100 quitSwitchA bgp 100SwitchA-bgp group ex externalSwitchA-bgp peer 192.1.1.2 group ex as-number 200SwitchA-bgp network 1.0.0.0 255.0.0.0(2)        配置Switch B# 配置VLAN接口的IP地址。<Swit

51、chB> system-view SwitchB interface Vlan-interface 2SwitchB-Vlan-interface2 ip address 192.1.1.2 255.255.255.0SwitchB-Vlan-interface2 quitSwitchB interface Vlan-interface 3SwitchB-Vlan-interface3 ip address 193.1.1.2 255.255.255.0SwitchB-Vlan-interface3 quit# 配置BGP对等体。SwitchB bgp 200SwitchB-bgp gr

52、oup ex externalSwitchB-bgp peer 192.1.1.1 group ex as-number 100SwitchB-bgp group in internalSwitchB-bgp peer 193.1.1.1 group in(3)        配置Switch C# 配置VLAN接口的IP地址。<SwitchC> system-view SwitchC interface Vlan-interface 3SwitchC-Vlan-interface3 ip address 193

53、.1.1.1 255.255.255.0SwitchC-Vlan-interface3 quitSwitchC interface vlan-Interface 4SwitchC-Vlan-interface4 ip address 194.1.1.1 255.255.255.0SwitchC-Vlan-interface4 quit# 配置BGP对等体及路由反射器。SwitchC bgp 200SwitchC-bgp group rr internalSwitchC-bgp peer rr reflect-clientSwitchC-bgp peer 193.1.1.2 group rrSw

54、itchC-bgp peer 194.1.1.2 group rr(4)        配置Switch D# 配置VLAN接口的IP地址。<SwitchD> system-view SwitchD interface Vlan-interface 4SwitchD-Vlan-interface4 ip address 194.1.1.2 255.255.255.0SwitchD-Vlan-interface4 quit# 配置BGP对等体。SwitchD bgp 200SwitchD-bgp group in

55、internalSwitchD-bgp peer 194.1.1.1 group in在Switch B上用display bgp routing命令查看BGP路由表。注意:Switch B已知道了网络1.0.0.0的存在。在Switch D上用display bgp routing命令查看BGP路由表。注意:Switch D也知道网络1.0.0.0的存在。2.1.7  配置BGP路径选择1. 组网需求(1)        需求分析某用户网络由两个AS组成,两个AS通过BGP实现网络互通,其中一个AS运行OSPF。

56、用户需求:控制从AS 200到AS 100的数据转发路径。根据用户需求,可在如下方案中任选其一:l              选择BGP的MED属性控制数据从AS 200到AS 100时的转发路径;l              选择BGP的LOCAL_PREF属性控制数据从AS 200到AS 100时的转发路径。(2) 

57、0;      网络规划根据用户需求,设计如图2-7所示网络拓扑图。设备接口IP地址ASSwitch AVlan-int 1011.1.1.1/8100 Vlan-int 2192.1.1.1/24 Vlan-int 3193.1.1.1/24Switch BVlan-int 2192.1.1.2/24200 Vlan-int 4194.1.1.2/24Switch CVlan-int 3193.1.1.2/24 Vlan-int 5195.1.1.2/24Switch DVlan-int 4194.1.

58、1.1/24 Vlan-int 5195.1.1.1/24 图2-7 配置BGP路径选择的组网图(3)        配置策略l              AS 100与AS 200对等体之间运行EBGP,通告1.0.0.0/8网段;l            

59、  AS 200运行OSPF实现网络互通;l              Switch D与Switch B,Switch D与 Switch C对等体之间运行IBGP;l              在Switch A上应用路由策略,修改发布的路由信息MED属性,控制Switch D发出的数据进入AS 100时转发路径为:Swit

60、ch DSwitch CSwitch A。l              在Switch C上应用路由策略,修改发布路由信息的LOCAL_PREF属性,控制Switch D发出的数据进入AS 100时转发路径为:Switch DSwitch CSwitch A。2. 配置步骤(1)        配置Switch A# 配置VLAN接口的IP地址<SwitchA> system-view

61、 SwitchA interface Vlan-interface 2SwitchA-Vlan-interface2 ip address 192.1.1.1 255.255.255.0SwitchA-Vlan-interface2 quitSwitchA interface Vlan-interface 3SwitchA-Vlan-interface3 ip address 193.1.1.1 255.255.255.0SwitchA-Vlan-interface3 quitSwitchA interface Vlan-interface 101SwitchA-Vlan-interface1

62、01 ip address 1.1.1.1 255.0.0.0SwitchA-Vlan-interface101 quit# 启动BGP。SwitchA bgp 100# 通告1.0.0.0/8网段路由信息。SwitchA-bgp network 1.0.0.0# 配置对等体。SwitchA-bgp group ex192 externalSwitchA-bgp peer 192.1.1.2 group ex192 as-number 200SwitchA-bgp group ex193 externalSwitchA-bgp peer 193.1.1.2 group ex193 as-num

63、ber 200SwitchA-bgp quit# 创建ACL 2000,允许目的地址为1.0.0.0/8的路由信息通过。SwitchA acl number 2000SwitchA-acl-basic-2000 rule permit source 1.0.0.0 0.255.255.255SwitchA-acl-basic-2000 rule deny source anySwitchA-acl-basic-2000 quit# 创建路由策略apply_med_50,匹配模式为允许,如果路由信息通过ACL 2000的过滤,则设置其MED值为50。SwitchA route-policy ap

64、ply_med_50 permit node 10SwitchA-route-policy if-match acl 2000SwitchA-route-policy apply cost 50SwitchA-route-policy quit# 创建路由策略apply_med_100,匹配模式为允许,如果路由信息通过ACL 2000的过滤,则设置其MED值为100。SwitchA route-policy apply_med_100 permit node 10SwitchA-route-policy if-match acl 2000SwitchA-route-policy apply c

65、ost 100SwitchA-route-policy quit# 对发布给对等体组ex193(对等体193.1.1.2)的路由信息应用路由策略apply_med_50;对发布给对等体组ex192(对等体192.1.1.2)的路由信息应用路由策略apply_med_100。SwitchA bgp 100SwitchA-bgp peer ex193 route-policy apply_med_50 exportSwitchA-bgp peer ex192 route-policy apply_med_100 export(2)     

66、0;  配置Switch B# 配置VLAN接口IP地址。<SwitchB> system-view SwitchB interface vlan 2SwitchB-Vlan-interface2 ip address 192.1.1.2 255.255.255.0SwitchB-Vlan-interface2 quitSwitchB interface Vlan-interface 4SwitchB-Vlan-interface4 ip address 194.1.1.2 255.255.255.0SwitchB-Vlan-interface4 quit# 配置OSPF

67、。SwitchB ospfSwitchB-ospf-1 area 0SwitchB-ospf-1-area-0.0.0.0 network 194.1.1.0 0.0.0.255 SwitchB-ospf-1-area-0.0.0.0 network 192.1.1.0 0.0.0.255SwitchB-ospf-1-area-0.0.0.0 quitSwitchB-ospf-1 quit# 启动BGP,创建对等体组,并向对等体组添加对等体。SwitchB bgp 200SwitchB-bgp undo synchronizationSwitchB-bgp group ex externalS

68、witchB-bgp peer 192.1.1.1 group ex as-number 100SwitchB-bgp group in internalSwitchB-bgp peer 194.1.1.1 group inSwitchB-bgp peer 195.1.1.2 group in(3)        配置Switch C# 配置VLAN接口IP地址。<SwitchC> system-view SwitchC interface Vlan-interface 3SwitchC-Vlan-interfa

69、ce3 ip address 193.1.1.2 255.255.255.0SwitchC-Vlan-interface3 quitSwitchC interface Vlan-interface 5SwitchC-Vlan-interface5 ip address 195.1.1.2 255.255.255.0SwitchC-Vlan-interface5 quit# 启动OSPF。SwitchC ospfSwitchC-ospf-1 area 0SwitchC-ospf-1-area-0.0.0.0 network 193.1.1.0 0.0.0.255SwitchC-ospf-1-area-0.0.0.0 network 195.1.1.0 0.0.0.255 SwitchC-os

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论