php-app开发接口加密的示例分析
319
2022-09-28
23-Root Guard根防护 //IOU模拟
IOU2(config)#int range e1/0 - 1IOU2(config-if-range)#no shutdown IOU2(config-if-range)#switchport trunk encapsulation dot1q IOU2(config-if-range)#switchport mode trunk
IOU3(config)#int range e1/0 - 1IOU3(config-if-range)#no shutdownIOU3(config-if-range)#switchport trunk encapsulation dot1qIOU3(config-if-range)#switchport mode trunk
IOU3(config)#int e1/2IOU3(config-if)#no shutdown IOU3(config-if)#switchport mode access
2、重点命令:IOU3(config)#int e1/2IOU3(config-if)#no shutdown IOU3(config-if)#spanning-tree guard rootIOU3(config-if)#*Apr 26 06:19:34.814: %SPANTREE-2-ROOTGUARD_CONFIG_CHANGE: Root guard enabled on port Ethernet1/2
IOU3#show spanning-tree vlan 1Et0/0 Desg FWD 100 128.1 Shr Et0/1 Desg FWD 100 128.2 Shr Et0/2 Desg FWD 100 128.3 Shr Et0/3 Desg FWD 100 128.4 Shr Et1/0 Altn BLK 100 128.5 Shr Et1/1 Root FWD 100 128.6 Shr Et1/2 Desg FWD 100 128.7 Shr
接着在Hacker上做:Hacker(config)#spanning-tree vlan 1 priority 0IOU3上提示:*Apr 26 06:23:14.796: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port Ethernet1/2 on VLAN0001.
结果验证:IOU3#show spanning-tree vlan 1VLAN0001Interface Role Sts Cost Prio.Nbr TypeEt0/0 Desg FWD 100 128.1 Shr Et0/1 Desg FWD 100 128.2 Shr Et0/2 Desg FWD 100 128.3 Shr Et0/3 Desg FWD 100 128.4 Shr Et1/0 Altn BLK 100 128.5 Shr Et1/1 Root FWD 100 128.6 Shr Et1/2 Desg BKN100 128.7 Shr ROOT_Inc
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~