国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

Cisco交換機設置點滴

2019-11-05 01:29:28
字體:
來源:轉載
供稿:網友
 Catalyst 1924/2820軟件升級
  一、使用TFTP server安裝軟件
   
  通過網絡為交換機更新軟件,在服務器和交換機之間必須經由ip連接.
  1.必須具有一臺TFTP server(如運行TFTP server軟件的PC機)和一臺治理工作站(如一臺PC機),并且可以通過console口治理交換機:
  使用終端仿真程序(如win95的HyperTerminal)和RJ-45-to-RJ-45的連接電纜和適配器:
  RJ-45-to-DB-9 female DTE 適配器(標記"Terminal")
  RJ-45-to-DB-25 female DTE 適配器(標記"Terminal")
  RJ-45-to-DB-25 male DCE 適配器(標記"Modem")
  2.以下是通過TFTP server更新軟件的步驟:
  1)將Cisco Catalyst 1900/2820 軟件存于治理工作站.
  2)將TFTP根目錄設置為軟件所在目錄.
  3)打開交換機,交換機正常啟動.
  4)在終端窗口顯示治理菜單畫面(以下為治理菜單).
  Management Console Main Menu
  Catalyst 1900 - Main Menu
  [C] Console Settings
  [S] System
  [N] Network Management
  [P] Port Configuration
  [A] Port Addressing
  [D] Port Statistics Detail
  [M] Monitoring
  [B] Bridge Group
  [R] Multicast Registration
  [F] Firmware
  [I] RS-232 Interface
  [U] Usage Summaries
  [H] Help
  [X] Exit Management Console
  Enter Selection:
  
  5)如交換機未賦予IP地址,應該使用菜單賦予交換機IP addresss, subnet mask, 和default gateway.
  6)確認交換機和TFTP server之間的連接正常. 例如:從服務器PING交換機.
  7)進入Firmware配置菜單, 選擇[S]選項,并鍵入TFTP server的IP地址.
  
  Catalyst 1900 - Firmware Configuration
  -----------------System Information------------
  Flash: 1024K bytes
  V6.00
  Upgrade status:
  No upgrade currently in PRogress.
  --------------------Settings------------------
  [S] Server: IP address of TFTP server 0.0.0.0
  [F] Filename for firmware upgrades
  [A] Accept upgrade transfer from other hosts Enabled
  --------------------Actions-------------------
  [U] System XMODEM upgrade [D] Download test subsystem (XMODEM)
  [T] System TFTP upgrade [X] Exit to Main Menu
  Enter Selection:
  8)選擇[F]選項,鍵入TFTP server上的交換機軟件的名稱.
  9)選擇[T]選項執行 TFTP進行軟件更新.
  10)在菜單的系統信息區檢查更新狀態顯示驗證軟件更新過程.
  當軟件更新完畢后,交換機大約有1分鐘不響應命令,然后交換機重新啟動并使用新的軟件.
  二、使用XMODEM協議安裝軟件
  你可以通過通過XMODEM協議使用治理站為交換機更新軟件.
  軟件安裝的過程依靠你使用的modem軟件.
   
  1.你必須具有一臺治理工作站(如一臺PC機),并且可以通過console口治理交換機:
  使用終端仿真程序(如win95的HyperTerminal)和RJ-45-to-RJ-45的連接電纜和適配器:
  RJ-45-to-DB-9 female DTE 適配器(標記"Terminal")
  RJ-45-to-DB-25 female DTE 適配器(標記"Terminal")
  RJ-45-to-DB-25 male DCE 適配器(標記"Modem")
  你可以使用win95的HyperTerminal(支持XMODEM協議).
  2.以下是通過XMODEM協議更新軟件的步驟:
  1)打開交換機,交換機正常啟動.
  2)啟動終端仿真程序,顯示治理菜單.
  3)從控制臺顯示RS-232 Interface 配置菜單,輸入波特率(2400, 9600, 19200, 38400, 57600), data bits=8, stop bits=1, parity=none
  使用57600波特率安裝軟件大約花10分鐘時間.
  4)從RS-232 Interface菜單,選擇[G]選項激活組設置用于console口.
  5)治理站要匹配console口的設置.
  6)進入Firmware配置菜單,選擇[U]選項使用XMODEM協議去安裝軟件.
  7)在提示符下,選擇Y啟動軟件安裝過程.

  8)在菜單的系統信息區檢查更新狀態顯示驗證軟件更新過程.
  當軟件更新完畢后,交換機大約有1分鐘不響應命令,然后交換機重新啟動并使用新的軟件.
  交換機虛擬網(Virtual LANs)的設置:
  Catalyst 5000上實現VLAN劃分及外部VLAN路由設置
  分配VTP域(a VTP Domain)
  將Cat5000加入域
  指定中繼端口(a Trunk)
  Dynamic ISL
  分配VLAN到端口
  設置VLAN 20
  配置Router
  
  ------------------------------------------------------------------- 
  
  注:存在三個VLAN,在VLAN之間通過Router做路由.
  -----------------------------------------------------------------
  
  分配VTP域
  什么是VTP?
  VTP是VLAN Trunk Protocol的簡寫,它提供每個設備 (router 或 LAN-switch)在中繼端口(trunk ports)發送廣播. 這些廣播被發送到一個組播地址,并被所有相鄰設備接收. 這些廣播列出了發送設備的治理域,它的配置修訂號,已知的VLAN, 及已知VLAN的確定參數.通過聽這些廣播,在相同治理域的所有設備都可以學習到在發送設備上配置的新的VLAN.使用這種方法,新的 VLAN只需要在治理域內的一臺設備上建立和配置.信息會自動被相同治理域內的其它設備學到.
  
  分配VTP域
  首先分配VTP域名(a VTP domain name),在相同治理域內的交換機可以通過VTP協議互相學習VTP信息.
  
  
  Cat5001> (enable) sho vtp domain
  Domain Name Domain Index VTP Version Local Mode
  -------------------------------- ------------ ----------- -----------
  1 1 server
  
  Advt Interval Vlan-count Max-vlan-storage Config Revision SNMP Traps
  ------------- ---------- ---------------- --------------- -----------
  300 5 256 0 disabled
  
  Last Updater
  ---------------
  0.0.0.0
  Cat5001> (enable)
  Cat5001> (enable) set vtp domain cisco
  VTP domain cisco modified
  Cat5001> (enable) sho vtp domain
  Domain Name Domain Index VTP Version Local Mode
  -------------------------------- ------------ ----------- -----------
  cisco 1 1 server
  
  Advt Interval Vlan-count Max-vlan-storage Config Revision SNMP Traps
  ------------- ---------- ---------------- --------------- -----------
  300 5 256 0 disabled
  
  Last Updater
  ---------------
  0.0.0.0
  Cat5001> (enable)
  --------------------------------------------------------------------------------
  
  將Catalyst 5002加入域
  需要將Catalyst 5002加入名為cisco的VTP治理域, 并設為VTP client,它將接收來自VTP server 的VTP配置及更新.
  
  注重:Catalyst 5000系列交換機默認為VTP server.
  
  
  cat5002> (enable)
  cat5002> set vtp domain cisco mode client
  
  
  指定中繼端口(Trunk ports)
  VLAN Trunk協議(VTP)只在中繼口(ISL , LANE 和802.10)上傳輸,應在二個Catalyst5000
  
  交換機間定義哪個口作為中繼端口(Trunk port).
  
  Inter-Switch Link (ISL) 中繼用于Fast Ethernet和Gigabit Ethernet端口
  IEEE 802.10中繼用于FDDI/CDDI端口
  LAN Emulation (LANE) 中繼用于ATM 端口
  
  Cat5001> (enable) set trunk 1/1 on
  Port 1/1 mode set to on.
  Cat5001> (enable)
  Wed Jun 19 1996, 15:00:02 Port 1/1 has become trunk.
  
  
  --------------------------------------------------------------------------------
  
  Dynamic ISL
  有了DISL(Dynamic ISL), 你不需要修改遠端的Catalyst 5000;以下信息將顯示在遠端的Catalyst 5000.

  
  
  Wed Jun 19 1996, 15:51:59 Port 1/2 has become trunk.
  
  Cat5001> (enable) sho trunk
  Port Mode Status
  ------- --------- ------------
  1/1 on trunking
  1/2 auto not-trunking
  2/1-2 off not-trunking
  5/1 auto not-trunking
  5/2 auto not-trunking
  5/3 auto not-trunking
  5/4 auto not-trunking
  5/5 auto not-trunking
  5/6 auto not-trunking
  5/7 auto not-trunking
  5/8 auto not-trunking
  5/9 auto not-trunking
  5/10 auto not-trunking
  5/11 auto not-trunking
  5/12 auto not-trunking
  
  Port Vlans allowed
  ------- ---------------------------------------------------------------------
  1/1 1-1000
  1/2 1-1000
  2/1-2 1-1000
  5/1 1-1000
  5/2 1-1000
  5/3 1-1000
  5/4 1-1000
  5/5 1-1000
  5/6 1-1000
  5/7 1-1000
  5/8 1-1000
  5/9 1-1000
  5/10 1-1000
  5/11 1-1000
  5/12 1-1000
  
  Port Vlans active
  ------- ---------------------------------------------------------------------
  1/1 1
  1/2 1
  2/1-2 1
  5/1 1
  5/2 1
  5/3 1
  5/4 1
  5/5 1
  5/6 1
  5/7 1
  5/8 1
  5/9 1
  5/10 1
  5/11 1
  5/12 1
  
  
  注重: DISL在Cisco IOS軟件中不支持.
  --------------------------------------------------------------------------------
  
  分配VLAN到端口
  Cat5001> (enable) set vlan 2 3/2-20
  VLAN 2 modified.
  VLAN 1 modified.
  VLAN Mod/Ports
  ---- -----------------------
  2 1/1
  3/2-20
  
  
  Cat5001> (enable) set vlan 20 5/1-6
  VLAN 20 modified.
  VLAN 1 modified.
  VLAN Mod/Ports
  ---- -----------------------
  20 1/1
  5/1-6
  
  
  Configure additional information for VLAN 20.
  
  On the other Catalyst 5000 :
  
  
  Cat5002> (enable) set vlan 2 4/1-2,5/6-12
  VLAN 2 modified.
  VLAN 1 modified.
  VLAN Mod/Ports
  ---- -----------------------
  2 1/2
  4/1-3,4/5-23
  5/6-12
  
  
  Configure additional information for VLAN 20.
  
  
  Cat5002> (enable) set vlan 20 5/1-5
  VLAN 20 modified.
  VLAN 1 modified.
  VLAN Mod/Ports
  ---- -----------------------
  20 1/2
  5/1-5
  
  
  Configure VLAN 20 on a VTP server.
  
  --------------------------------------------------------------------------------
  
  顯示端口配置
  Cat5001> (enable) show port
  Port Name Status Vlan Level Duplex Speed Type
  ---- -------------------- ---------- ---------- ------ ------ ----- -----------
  1/1 connected 1 normal half 100 100BaseTX
  1/2 connected trunk normal half 100 100BaseTX
  2/1 connecting 1 normal half 100 FDDI
  2/2 connected 1 normal half 100 FDDI
  4/1 inactive 2 normal half 10 10BaseT
  4/2 inactive 2 normal half 10 10BaseT
  4/3 inactive 2 normal half 10 10BaseT
  4/4 notconnect 1 normal half 10 10BaseT
  4/5 inactive 2 normal half 10 10BaseT
  4/6
  此時, VLAN 2 和VLAN 20 還未激活.所以在VLAN 2和VLAN 20的端口是inactive狀態.

  
  --------------------------------------------------------------------------------
  
  設置VLAN 20
  假如在網絡里有VTP server和VTP clent,請在VTP server上設置VLAN 20
  
  
  Cat5001> (enable) set vlan 20
  VLAN 20 modified
  
  
  這將激活在所有治理域cisco內的VLAN 20
  
  
  Cat5001> (enable) sho vlan 20
  VLAN Name Status Mod/Ports
  ---- -------------------------------- --------- ----------------------------
  20 VLAN0020 active 1/1
  5/1-6
  
  
  VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2
  ---- ----- ---------- ----- ------ ------ -------- ---- ------ ------
  20 enet 100020 1500 - - - - 0 0
  
  --------------------------------------------------------------------------------
  
  配置Router
  conf t
  interface FastEthernet0/0.1 <-- you need to create a sub-interface by vlan.
  encapsulation isl 20 <-- 20 is the vlan number.
  
  ip address 1.1.1.1 255.255.255.0
  interface FastEthernet0/0.2
  encapsulation isl 2
  ip address 2.2.2.1 255.255.255.0
  interface FastEthernet0/0.3
  encapsulation isl 1
  ip address 172.16.80.1 255.255.255.0
  
  Router eigrp 666
  network 1.0.0.0
  network 2.0.0.0
  network 172.16.80.0
  end
  
  writ mem

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 永定县| 淮安市| 寻甸| 阿尔山市| 岳西县| 罗甸县| 拉萨市| 大化| 林口县| 和政县| 恩平市| 武山县| 疏附县| 江山市| 陆河县| 彝良县| 惠来县| 晋城| 浑源县| 民权县| 忻州市| 鄂托克前旗| 湟源县| 竹溪县| 长白| 黄石市| 华安县| 德安县| 榆林市| 集贤县| 兴化市| 茂名市| 大田县| 虎林市| 武功县| 墨玉县| 杭锦旗| 长宁县| 北京市| 淮南市| 吴川市|