在前一篇日志《在2960交换机上根据IP或MAC查找相应端口》中所用的方法是繁琐的,其实只需要一条命令就可以完成这个任务。Traceroute mac ip 当前电脑IP 要查询端口电脑的IP从下面的结果可以看出当前电脑的端口在sw201交换机上的43号端口,然后通过46号端口送到sw202交换机的25号端口,并最终到达15号端口。sw201#traceroute mac ip 192.168.0
1、在交换机上先ping一下已知的IP地址,因为arp缓存表存在老化时间,长时间不使用的项目将被删除。(IP地址为:192.168.1.20)sw201#ping 192.168.1.20Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.20, timeout is 2 seconds:!!!!!Su
1、连接好Console线并设置好超级终端2、按住交换机上的mode按钮不放,插上交换机电源线,直到LED灯不再闪烁,松开mode按钮。3、输入flash_initswitch: flash_initInitializing Flash...flashfs[0]: 540 files, 19 directoriesflashfs[0]: 0 orphaned files, 0 orphaned d
vtp在交换机同步主要的依据就是Configuration Revision,在大家的domain name和password相同的情况下,谁的Configuration Revision高,就以谁的为准。根据这个原理,我们在判断vtp信息不能同步的时候,大概要看以下几个方面:1、确保vtp的domain name和password一致show vtp statusshow vtp passwor
1. 删除交换机配置Switch#erase startup-configErasing the nvram filesystem will remove all configuration files! Continue?[confirm][OK]Erase of nvram: complete2. 删除交换机的 VLAN 信息通过show flash 命令可以看到vlan.dat文件,然后删除
步骤:1、在PC机上安装并运行TFTP server,TFTP server的地址就是PC机的IP地址,192.168.0.89/16(TFTP)2、通过Console线配置路由器Fa0/0端口的IP地址,保证和PC机的IP在一个网段即可,192.168.0.100/16(Route)3、验证PC机和路由器互相能ping通设置路由器fa0/0端口IP地址Router>enableRouter
清空路由器所有配置,重启Router#erase startup-configErasing the nvram filesystem will remove all configuration files! Continue? [confirm][OK]Erase of nvram: complete%SYS-7-NV_BLOCK_INIT: Initialized the geometry o
注:switchport mode trunk 在 2950 交换机上可直接运行,这将直接启用802.1q。在3550、4500 等交换机上要启用中继功能必须先选择封装方法,也就是要先运行 switchport trunk encapsulation dot1q 。 sw0#vlan database sw0(vlan)#vtp domain Co
对于MAC过滤的特性,它能够根据主机MAC地址来限制流量,在使用该特性的情况下,交换机能够丢弃源自所配置MAC地址的流量。通过使用这种特性,网络管理源能够防止未授权主机向网络发送流量。 注意,交换机只允许对单播的源MAC地址流量进行过滤,而不允许对多播的源MAC地址流量进行过
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号