您的位置:首页 > 其它

(神州数码)动态实现配置mac地址与端口绑定

2009-11-16 14:34 513 查看
[align=center]神州数码路由交换之动态实现配置mac地址与端口绑定[/b][/align]
[/b]
一、实验目的:[/b]
[/b] [/b]
了解什么是交换机的mac[/b]地址绑定功能[/b]
掌握mac[/b]地址与端口绑定的动态方式[/b]
[/b]
二、实验相关设备[/b]
[/b]
[/b] DCS[/b]二层交换机1[/b]台[/b]
[/b][/b]
三、配置步骤:[/b]
[/b]
witch(Config)#int ethernet 0/0/1 //进入端口
switch(Config-Ethernet0/0/1)#switchport port-security
//打开端口绑定功能啊
switch(Config-Ethernet0/0/1)#switchport port-security lock
//锁定端口,端口学习MAC地址被关闭
switch(Config-Ethernet0/0/1)#switchport port-security convert
/学习到的动态mac地址转化为静态安全mac地址
switch(Config-Ethernet0/0/1)#

配置验证:[/b]
[/b]
switch#show port-security address
Security Mac Address Table
----------------------------------------------------------------------------
Vlan Mac Address Type Ports
----------------------------------------------------------------------------
Total Addresses in System :0
Max Addresses limit in System :128
switch#



其他相关配置:[/b]
[/b]
switch(Config)#int ethernet 0/0/1
switch(Config-Ethernet0/0/1)#switchport port-security timeout 30
//设置端口定时器,锁定定时器超市时就执行mac地址锁定操作及动态mac地址转换为安全mac地址的操作

switch(Config)#int ethernet 0/0/1
switch(Config-Ethernet0/0/1)#switchport port-security violation shutdown
//设置端口mac地址超过端口安全mac地址上限的时候端口会shutdown

本文出自 “奔跑的乌龟” 博客,请务必保留此出处http://zhibing.blog.51cto.com/846805/227979
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: