使用命令switchport port-securtiy启用端口安全,然后使用命令swithchport port-security mac-address sticky让端口获悉其连接机的主机的IP地址。最后,执行命令no shutdown重新启用端口,使其能够获悉主机的MAC地址,实现以上操作的命令如下。 3550#conf t Enter configuration commands, one per line. End with CNTL/Z. 355...
show mac-address-table ---查看端口MAC地址绑定配置 clear port-security sticky ---清除所有已绑定的粘性MAC地址 举例: 以cisco3550交换机为例,做mac地址与端口绑定的可以实现两种应用: 1:设定一端口只接受第一次连接该端口的计算机mac地址,当该端口第一次获得某计算机mac地址后,其他计算机接入到此端口所发送的数...
TCP會話的Keepalive service tcp-keepalives-in和service tcp-keepalives-out全局配置命令允許裝置傳送TCP keepalive以進行TCP會話。使用此配置對裝置的入站連線和裝置的出站連線啟用TCP keepalive。這可以確保連線遠端端的裝置仍然可訪問,並且從本地Cisco IOS裝置中移除半開放或孤立的連線。 ! service tcp-keepalives...
Switch(config-if)#switchport port-security mac-address sticky 若要开启锁定的安全端口 单击交换机→配置→fastEthernet0/1→点击开启 补充: 1、查看安全端口的地址(在特权模式下) 1 Switch#show port-security address 2、清除所有锁定的安全端口的Mac地址(在特权模式下) 1 Switch#clear port-security all 3、...
To configure secure MAC addresses or sticky MAC address learning, use the switchport port-security mac-address interface configuration command. To return to the default setting, use the no form of this command. switchport port-security mac-address {mac-address [vlan...
Switch#show mac-address-table//查看端口MAC地址绑定配置Switch#clear port-security sticky//清除所有已绑定的粘性MAC地址 转载于https://blog.51cto.com/microdq/1950186 零星的变得优秀,也能拼凑出星河。 欢迎任何形式的转载,但请务必注明出处。 限于本人水平,如果文章和代码有表述不当之处,还请不吝赐教。
Sw1(config-if)#switchport port-security mac-address sticky 将动态学到的地址粘住,永久使用 Sw1#show port-security 可以看到哪些接口应用了端口安全 Sw1#show port-security address 可以看到授权的MAC地址 Sw1#show port-security interface f0/1 可以看到接口的具体状态 Sw1#show interfaces fastEthernet 0/1...
Sticky Notes Will Not Allow Sign-In on Profile stop Service Host in Windows 10 Stop Windows 10 version upgrade stop windows from removing unused icons Stopping Windows Error Reports Repeating in the Event Log when System has no network access Storage Space Error - All Drives CanPool = False "...
Switch(config-if)#switchport port-security mac-address sticky XXXX.XXXX.XXXX //为端口输入特定的允许通过的mac地址 注意:保护端口只对同一VLAN内的端口有效,对不同VLAN的端口无效。 因为一般不同VLAN访问都做了路由,而相同VLAN内的保护端口是不能访问的了。本...
Switch(config-if)#switchport port-security mac-address sticky XXXX.XXXX.XXXX //为端口输入特定的允许通过的mac地址 注意:保护端口只对同一VLAN内的端口有效,对不同VLAN的端口无效。 因为一般不同VLAN访问都做了路由,而相同VLAN内的保护端口是不能访问的了。