文档详情

实验12交换机端口和MAC地址表的设置..doc

发布:2017-01-20约字共5页下载文档
文本预览下载声明
本实验是对Cisco Catalyst 1900系列交换机的端口和MAC地址表相关的项目进行设置。      1.实验目的      通过本实验,读者可以掌握以下技能:      设置交涣机端口属性;   查看交换机端口配置和统计信息;   设置静态MAC地址和查看MAC地址表。      2. 设备需求      本实验需要以下设备:      Cisco Catalyst 1900系列交换机1台,型号不限,企业版软件,本实验中使用了1912交换机;   带网卡的PC机2台,网线2条;   PC机1台,操作系统为Windows系列,装有超级终端程序;   Console电缆1条及相应的接口转换器。      3. 线缆连接及配置说明      如图3.2所示,把PC机连接在交换机的EO/9和EO/11两个端口上。连接PC机的目的是为了进行MAC地址表方面的实验,当然此处的PC机也可以便用路由器来代替。      图示中略去了作为超级终端的PC机及控制电缆。      4. 实验配置及监测结果      按实验2的图示把设备连接好后,给所有设备加电,开始实验。      监测清单3-2记录了本实验的操作。      监测清单3-2配置端口属性及MAC地址表      第1段:配置端口属性及MAC地址表   SW1912#conf t   Enter configuration commands, one per line. End with CNTL/Z   SW1912(config)#mterface ethernet 0/1   SW1912(config-if)#?   Interface configuration commands:   cdp Cdp interface subcommands   description Interface specific description   duplex Con-figureduplexoperation   exit Exit from interface configuration mode   help Description of the interactive help system   no Negate a conanaand or set its defaults   port Perform switch port configuration   shutdown Shutdown the selected interface   spantree Spanning tree subsystem   vlan-membership VLAN membership configuration   SW1912(config-if)#description PC_1   SW1912(config-if)#duplex ?   auto Enable auto duplex-configuration   full Force full duplex operation   full-flow-control Force full duplex with flow contro1   half Forcehalfduplexoperation   SW 1912(config-if)#duplex full   SW1912(config-if)#port secure ?   max-mac-count Maxirnum number of addresses allowed on the port      SW1912(config-if)#port secure max-mac-couist 1   SW1912(config-if)#end   SW1912#sh mac-address-table ?   address MAC address   aging-time Show aging time of dynamic entries   dynamic Show 802.1 d dynamic address   interface Interface name   permanent Show 802.1 d permanent address   restricted Show 802. 1 d restricted static addresses   security Show addressing security information      SW1912#sh mac-address-table security   Action upon address violation : Suspend   Inter
显示全部
相似文档