资源预览内容
第1页 / 共18页
第2页 / 共18页
第3页 / 共18页
第4页 / 共18页
第5页 / 共18页
第6页 / 共18页
第7页 / 共18页
第8页 / 共18页
第9页 / 共18页
第10页 / 共18页
亲,该文档总共18页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
内容: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 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-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. Configuring 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 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 Configuring 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: Installed 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 displayed 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 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 connected 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 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 employee-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 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-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 protocols 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
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号