《EX交换机RSTP设置、冗余链路配置》由会员分享,可在线阅读,更多相关《EX交换机RSTP设置、冗余链路配置(18页珍藏版)》请在金锄头文库上搜索。
1、内容:1RSTP配置案例指南2接入冗余链路配置指南Redundant Trunk Links for Faster Recovery (12 页)注意:上述两种链路冗余方式同一个交换机上只能够用一种。几种查看STP状态的命令:show spanning-tree bridge 查看网络拓扌卜信息show spanning -t ree int erface 查看端口信息show spanning -t ree bridge det ail 查看拓扌卜改变信息moni tor int erface traffic 查看端口转发数据包的信息 Example: Configuring Faster
2、Convergence and Improvi ng Network Stability with RSTP on EX Series SwitchesEX Series switches use Rapid Spanning Tree Protocol (RSTP) by default to provide a loop-free topology. RSTP works by identifying certain links as point to point links and blocking other possible paths. When one of the point-
3、to-point links fails, a designated alternate link transitions to the forwarding state and take over.When switches that support redundant routing engines use RSTP, it is important to keep RSTP synchronized on both Routing Engines so that no loss of service occurs after a Routing Engine switchover. Co
4、nfiguring nonstop bridging (NSB) on a switch with redundant Routing Engines keeps RSTP synchronized on both Routing Engines. This way, RSTP remains active immediately after a switchover because it is already synchronized to the backup Routing Engine. RSTP does not have to reconverge after a Routing
5、Engine switchover when NSB is enabled because the neighbor devices do not detect an RSTP change on the switch.This example describes how to configure RSTP and NSB on four EX Series switches: Requirements Overview and Topology Configuring RSTP andNSBon Switch 1 Configuring RSTP andNSBon Switch 2 Conf
6、iguring RSTP andNSBon Switch 3 Configuring RSTP andNSBon Switch 4 VerificationRequirementsThis example uses the following hardware and software components: Junos OS Release 9.0 or later for EX Series switches Four EX Series switchesBefore you configure the switches for RSTP, be sure you have: Instal
7、led the four switches. See Connecting and Configuring an EX Series Switch (J-Web Procedure). Performed the initial software configuration on all switches. See Installing and Connecting an EX3200 Switch.Overview and TopologyIn this example, four EX Series switches are connected in the topology displa
8、yed in Figure 1 to create a loop-free topology.Figure 1: Network Topology for RSTPDes r-ated Aqo( Pon OA ternate 4Table 1: Components of the Topology for Configuring RSTP on EX Series SwitchesPropertySettingsSwitch 1The following ports on Switch 1 are connected in this way: ge-0/0/9 is connected to
9、Switch 2 ge-0/0/13 is connected to Switch 4 ge-0/0/11 is connected to Switch 3Switch 2The following ports on Switch 2 are connected in this way: ge-0/0/14 is connected to Switch 1 ge-0/0/18 is connected to Switch 3Switch 3The following ports on Switch 3 are connected in this way: ge-0/0/26 is connec
10、ted to Switch 1 ge-0/0/28 is connected to Switch 2 ge-0/0/24 is connected to Switch 4Switch 4The following ports on Switch 4 are connected in this way: ge-0/0/19 is connected to Switch 1 ge-0/0/23 is connected to Switch 3VLAN names and tag IDsvoice-vlan, tag 10 employee-vlan, tag 20 guest-vlan, tag
11、30 camera-vlan, tag 40Configuring RSTP and NSB on Switch 1CLI Quick ConfigurationTo quickly configure interfaces and RSTP on Switch 1, copy the following commands and paste them into the switch terminal window:editset vlans voice-vlan description “Voice VLANset vlans voice-vlan vlan-id 10set vlans e
12、mployee-vlan description “Employee VLANset vlans employee-vlan vlan-id 20set vlans guest-vlan description “Guest VLANset vlans guest-vlan vlan-id 30set vlans camera-vlan description “Camera VLANset vlans camera-vlan vlan-id 40set interfaces ge-0/0/13 unit 0 family ethernet-switching vlan members 10
13、20 30 40 set interfaces ge - 0/0/9 unit 0 family ethernet-switching vlan members 10 20 30 40 set interfaces ge - 0/0/11 unit 0 family ethernet-switching vlan members 10 20 30 40 set interfaces ge - 0/0/13 unit 0 family ethernet-switching port-mode trunkset interfaces ge-0/0/9 unit 0 family ethernet-
14、switching port-mode trunkset interfaces ge-0/0/11 unit 0 family ethernet-switching port-mode trunkset protocols rstp bridge-priority 16kset protocols rstp interface ge-0/0/13.0 cost 1000set protocols rstp interface ge-0/0/13.0 mode point-to-pointset protocols rstp interface ge-0/0/9.0 cost 1000set p
15、rotocols rstp interface ge-0/0/9.0 mode point-to-pointset protocols rstp interface ge-0/0/11.0 cost 1000set protocols rstp interface ge-0/0/11.0 mode point-to-pointIf Switch 1 includes dual routing engines, configure NSB. To quickly configure nonstop bridging on Switch 1, copy the following commands and paste them into the switch terminal window:edit chassis redundancyset graceful switchoveredit protocols layer-2-controlset commit synchronizeedit systemset nonstop-bridgingStep-by-Step ProcedureTo configure interfaces and RSTP on Switch 1:1. Configure the VLANs voi