《实验拓扑及配置说明.doc》由会员分享,可在线阅读,更多相关《实验拓扑及配置说明.doc(15页珍藏版)》请在金锄头文库上搜索。
1、实验拓扑及配置说明注:以下蓝色字体部分是设备进行相应配置后自动生成的提示信息或日志信息。(一) S2328G配置步骤及配置说明:Ruijieen 进入特权层Ruijie#conf 进入全局配置层Enter configuration commands, one per line. End with CNTL/Z.Ruijie(config)#host S23 配置主机名为S23S23(config)#vlan 10 创建VLAN10并命名为renshiS23(config-vlan)#name renshiS23(config-vlan)#vlan 20 创建VLAN20并命名为caiwuS2
2、3(config-vlan)#name caiwuS23(config-vlan)#vlan 100 创建VLAN100并命名为guanliS23(config-vlan)#name guanliS23(config-vlan)#exiS23(config)#int ran f 0/1-10 将1-10口划入VLAN10S23(config-if-range)#sw acc vl 10S23(config-if-range)#int ran f 0/11-20 将11-20口划入VLAN20S23(config-if-range)#sw acc vl 20S23(config-if-range
3、)#exiS23(config)#spanning-tree 开启生成树,防止环路Enable spanning-tree.*Dec 10 16:58:24: %SPANTREE-5-TOPOTRAP: Topology Change Trap for instance 0.*Dec 10 16:58:39: %SPANTREE-5-TOPOTRAP: Topology Change Trap.S23(config)#span mo rstp 配置生成树的模式为RSTPS23(config)#int ran f 0/1-24 在用户接口1-24开启bpduguard和portfastS23(c
4、onfig-if-range)#span bpduguard enableS23(config-if-range)#span portfast%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on por
5、ts connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause te
6、mporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches,
7、bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled o
8、n ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cau
9、se temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switc
10、hes, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enab
11、led on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,ca
12、n cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs,
13、switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be
14、 enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabl
15、ed,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost. Connecting hubs, switches, bridges to this interface when portfast isenabled,can cause temporary loops.%Warning: portfast should only be enabled on ports connected to a singlehost.