3 实现交换机基本功能nullnull微思网络,福建IT精英的发源地!null实现交换机基本功能null配置IP地址wg_sw_2950(config)#interface vlan 1
wg_sw_2950(config-if)#ip address 11.1.1.2 255.255.255.0
wg_sw_2950(config-if)#no shutdown wg_sw_2950(config)#interface vlan 1
wg_sw_2950(config-if)#ip address {ip_address} {mask}在Vlan...
nullnull微思网络,福建IT精英的发源地!null实现交换机基本功能null配置IP地址wg_sw_2950(config)#interface vlan 1
wg_sw_2950(config-if)#ip address 11.1.1.2 255.255.255.0
wg_sw_2950(config-if)#no shutdown wg_sw_2950(config)#interface vlan 1
wg_sw_2950(config-if)#ip address {ip_address} {mask}在Vlan1接口上配置IP地址Catalyst 2950null设置速率Catalyst 2950wg_sw_2950(config)#interface fa0/1
wg_sw_2950(config-if)#speed {auto | 10 | 100}null设置双工Catalyst 2950wg_sw_2950(config)#interface fa0/1
wg_sw_2950(config-if)#duplex {auto | full | half}null怎么限制某台计算机只能接在F0/1接口上?nullSolution:MAC和端口绑定wg_sw_2950(config)#mac-address-table static mac_addr {vlan vlan_id} [interface int1 [int2 ... int15]]
例子:
sw2950(config)#mac-address-table static 1111.1111.1111 vlan 1 interface f0/1Catalyst 2950 onlynull怎么限制某个交换机端口只能接固定的两台机器?nullSolution:配置安全(Port Security) sw2950(config-if)#switchport mode access
sw2950(config-if)#switchport port-security
sw2950(config-if)# switchport port-security maximum 2
sw2950(config-if)# switchport port-security mac-address 0030.94e6.04c2
sw2950(config-if)# switchport port-security mac-address 0030.94e6.04c3
sw2950(config-if)# switchport port-security violation shutdown
sw2950#sh port-security
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action
(Count) (Count) (Count)
---------------------------------------------------------------------------------------------------------
Fa0/12 1 1 10 Restrict
---------------------------------------------------------------------------------------------------------
Total Addresses in System (excluding one mac per port) : 0
Max Addresses limit in System (excluding one mac per port) : 1024null微思网络,福建IT精英的发源地!
本文档为【3 实现交换机基本功能】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑,
图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。