【正文】
1999, Cisco Systems, Inc. ICND— 670 問題回顧 5. 用什么命令可以分配一個 IP地址給 交換機(jī) ? 2層交換機(jī)為何需要一個 IP地址 ? 6. 永久和動態(tài) MAC地址,哪個沒有有效期限 ? 7. 哪個命令可以顯示出 MAC地址表的內(nèi)容 ? 。 1999, Cisco Systems, Inc. ICND— 668 本章總結(jié) 通過本章的學(xué)習(xí),您應(yīng)該掌握以下內(nèi)容 : ? 能描述 2層交換 (橋接 )的運作 ? 能描述 Catalyst 1900系列交換機(jī)反對運作 ? 清楚 Catalyst 1900系列交換機(jī)的出廠缺省配置 ? 配置 Catalyst 1900系列交換機(jī) ? 利用 show命令確認(rèn) Catalyst 1900系列交換機(jī)的配置和運作 169。 1999, Cisco Systems, Inc. ICND— 666 wg_sw_ddelete nvram 將系統(tǒng)配置恢復(fù)為出廠缺省值 . 清除 NVRAM 169。 1999, Cisco Systems, Inc. ICND— 664 copy nvram copy nvram wg_sw_a 將配置文件發(fā)送到一個 TFTP服務(wù)器 : wg_sw_a 從一個 TFTP服務(wù)器下載配置文件 : 管理配置文件 169。 1999, Cisco Systems, Inc. ICND— 662 wg _ s w _ a s h o w v e r s i o nC i s c o C a t a l y s t 1 9 0 0 / 2 8 2 0 E n t e r p r i s e E d i t i o n S o f t w a r eV e r s i o n V 8 . 0 1 . 0 1C o p y r i g h t ( c ) C i s c o S y s t e m s , I n c . 1 9 9 3 1 9 9 8R O M : S y s t e m B o o t s t r a p , V e r s i o n 3 . 0 3wg _ s w _ d u p t i m e i s 8 d a y ( s ) 1 7 h o u r ( s ) 5 3 m i n u t e ( s ) 2 5 s e c o n d ( s )c i s c o C a t a l y s t 1 9 0 0 ( 4 8 6 s x l ) p r o c e s s o r w i t h 2 0 4 8 K / 1 0 2 4 K b y t e s o f m e m o r yH a r d w a r e b o a r d r e v i s i o n i s 1U p g r a d e S t a t u s : N o u p g r a d e c u r r e n t l y i n p r o g r e s s .C o n f i g F i l e S t a t u s : F i l e w g s w d . c f g d o w n l o a d e d f r o m 1 0 . 1 . 1 . 12 7 F i x e d E t h e r n e t / I E E E 8 0 2 . 3 i n t e r f a c e ( s )B a s e E t h e r n e t A d d r e s s : 0 0 9 0 8 6 7 3 3 3 4 0wg _ s w _ a Show Version命令 169。 1999, Cisco Systems, Inc. ICND— 660 配置端口安全性 wg_sw_ashow macaddresstable security wg_sw_ashow macaddresstable security Action upon address violation : Suspend Interface Addressing Security Address Table Size Ether 0/1 Disabled N/A Ether 0/2 Disabled N/A Ether 0/3 Disabled N/A Ether 0/4 Enabled 1 Ether 0/5 Disabled N/A Ether 0/6 Disabled N/A Ether 0/7 Disabled N/A Ether 0/8 Disabled N/A Ether 0/9 Disabled N/A Ether 0/10 Disabled N/A Ether 0/11 Disabled N/A Ether 0/12 Disabled N/A 169。 1999, Cisco Systems, Inc. ICND— 658 配置端口安全性 wg_sw_a(configif) ? 將一個端口配置為一個有安全設(shè)定的端口 ? 定義該端口在 MAC地址表中對應(yīng) MAC地址的最多條數(shù) ? 可以定義 1 到 132 ? 缺省為 132 port secure [maxmaccount count] 169。 1999, Cisco Systems, Inc. ICND— 656 wg_sw_a(config)macaddresstable restricted static e0/4 e0/1 wg_sw_a(config) macaddresstable restricted static {macaddress type module/port srciflist} 設(shè)置受限的靜態(tài) MAC地址 169。 1999, Cisco Systems, Inc. ICND— 654 wg_sw_ash macaddresstable Number of permanent addresses : 1 Number of restricted static addresses : 0 Number of dynamic addresses : 4 Address Dest Interface Type Source Interface List Ether 0/2 Dynamic All Ether 0/3 Permanent All FastEther 0/26 Dynamic All FastEther 0/26 Dynamic All FastEther 0/27 Dynamic All wg_sw_a(config) wg_sw_a(config)macaddresstable permanent ether 0/3 macaddresstable permanent {macaddress type module/port} 設(shè)置永久 MAC地址 169。 1999, Cisco Systems, Inc. ICND— 652 wg_sw_a(config) macaddresstable permanent {macaddress type module/port} 設(shè)置永久 MAC地址 169。 1999, Cisco Systems, Inc. ICND— 650 管理 MAC地址表 wg_sw_ashow macaddresstable 169。 1999, Cisco Systems, Inc. ICND— 648 雙工不匹配 ? 連接的兩個端口人工地設(shè)置了不同的雙工參數(shù) ? 交換機(jī)端口為自動協(xié)商模式,連接到端口的另一端設(shè)為不自動協(xié)商的全雙工模式,會導(dǎo)致交換機(jī)的端口置于半雙工模式 169。 1999, Cisco Systems, Inc. ICND— 646 wg_sw_a(configif)duplex half wg_sw_a(config)interface e0/1 wg_sw_a(configif) duplex {auto | full | fullflowcontrol | half} 設(shè)置雙工模式 169。 1999, Cisco Systems, Inc. ICND— 644 wg_sw_ashow ip IP address: Sub mask: Default gateway: Management VLAN: 1 Domain name: Name server 1: Name server 2: HTTP server: Enabled HTTP port: