日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

配置Cisco交換機端□和MAC地址表的設置


3.3 實驗2:交換機端□和MAC地址表的設置
本實驗是對Cisco Catalyst 1900系列交換機的端口和MAC地址表相關(guān)的項目進行設置 。
1.實驗目的
通過本實驗,讀者可以把握以下技能:
設置交渙機端口屬性;
查看交換機端口配置和統(tǒng)計信息;
設置靜態(tài)MAC地址和查看MAC地址表 。
2. 設備需求
本實驗需要以下設備:
Cisco Catalyst 1900系列交換機1臺,型號不限,企業(yè)版軟件,本實驗中使用了1912交換機;
帶網(wǎng)卡的PC機2臺,網(wǎng)線2條;
PC機1臺,操作系統(tǒng)為Windows系列,裝有超級終端程序;
Console電纜1條及相應的接口轉(zhuǎn)換器 。
3. 線纜連接及配置說明
如圖3.2所示,把PC機連接在交換機的EO/9和EO/11兩個端口上 。連接PC機的目的是為了進行MAC地址表方面的實驗,當然此處的PC機也可以便用路由器來代替 。
圖示中略去了作為超級終端的PC機及控制電纜 。
4. 實驗配置及監(jiān)測結(jié)果
按實驗2的圖示把設備連接好后,給所有設備加電,開始實驗 。
監(jiān)測清單3-2記錄了本實驗的操作 。
監(jiān)測清單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
Interface Addressing Security Address Table Size Clear Address
Ethernet 0/1 Enabled 1 No
Ethernet 0/2 Disabled N/A No
Ethernet 0/3 Disabled N/A No
Ethernet 0/4 Disabled N/A No
Ethernet 0/5 Disabled N/A No
Ethernet 0/6 Disabled N/A No
Ethernet 0/7 Disabled N/A No
Ethernet 0/8 Disabled N/A No
Ethernet 0/9 Disabled N/A No
Ethernet 0/10 Disabled N/A No
Ethernet 0/11 Disabled N/A No
Ethernet 0/12 Disabled N/A No
Ethernet 0/25 Disabled N/A No
FastEthernet 0/26 Disabled N/A No
FastEthernet 0/27 Disabled N/A No
SW1912#
第2段:配置和查看MAC地址表
SW1912(config)#mac-address-table ?
aging-time Aging time of dynamic addresses
permanent Configure a permanent address
restricted Configure a restricted static address
SW1912(config)#mac-address-table aging-time ?
SW1912(config)#mac-address-table permanent ?
H.H.H 48 bit hardware address
SW1912(config)#mac"address-tabae permanent 0000.0c10.aabb ?
Ethernet IEEE 802.3
FastEthernet FastEthernet IEEE 802.3

推薦閱讀