预览加载中,请您耐心等待几秒...
1/6
2/6
3/6
4/6
5/6
6/6

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

cisco思科怎么配置STPcisco思科配置STP的方法:SwA(config)#spanning-treevlan1rootprimarySwA(config)#spanning-treevlan2rootprimaryv配置SwB在VLAN3和4中优先级为4096SwB(config)#spanning-treevlan3priority4096v配置SwA为VLAN1和2的根网桥SwB(config)#spanning-treevlan4priority4096v查看配置结果SwB#showspanning-treeVLAN0001SpanningtreeenabledprotocolieeeRootIDPriority24577Address000d.28bf.4b40Cost19Port24(FastEthernet0/24)HelloTime2secMaxAge20secForwardDelay15secBridgeIDPriority32769(priority32768sys-id-ext1)Address0013.6007.6a00HelloTime2secMaxAge20secForwardDelay15secAgingTime300InterfaceRoleStsCostPrio.NbrType------------------------------------------------------------------------Fa0/22AltnBLK19128.22P2pFa0/23AltnBLK19128.23P2pFa0/24RootFWD19128.24P2pVLAN0002SpanningtreeenabledprotocolieeeRootIDPriority24578Address000d.28bf.4b40Cost19Port24(FastEthernet0/24)HelloTime2secMaxAge20secForwardDelay15secBridgeIDPriority32770(priority32768sys-id-ext2)Address0013.6007.6a00HelloTime2secMaxAge20secForwardDelay15secAgingTime300InterfaceRoleStsCostPrio.NbrType------------------------------------------------------------------------Fa0/22AltnBLK19128.22P2pFa0/23AltnBLK19128.23P2pFa0/24RootFWD19128.24P2pv查看配置结果(VLAN3-4)SwA#showspanning-treeVLAN0003SpanningtreeenabledprotocolieeeRootIDPriority4099Address0013.6007.6a00Cost19Port24(FastEthernet0/24)HelloTime2secMaxAge20secForwardDelay15secBridgeIDPriority32771(priority32768sys-id-ext3)Address000d.28bf.4b40HelloTime2secMaxAge20secForwardDelay15secAgingTime300InterfaceRoleStsCostPrio.NbrType------------------------------------------------------------------------Fa0/22AltnBLK19128.22P2pFa0/23AltnBLK19128.23P2pFa0/24RootFWD19128.24P2pv配置交换机C上连接主机的端口为速端口SwC(config)#interfacerangefastEthernet0/1-20SwC(config-if-range)#spanning-treeportfast%Warning:portfastshouldonlybeenabledonportsconnectedtoasinglehost.Connectinghubs,concentrators,switches,bridges,etc...tothisinterfacewhenportfastisenabled,cancausetemporarybridgingloops.UsewithCAUTION%Portfastwillbeconfiguredin20interfacesduetotherangec