久久99精品久久久久久琪琪,久久人人爽人人爽人人片亞洲,熟妇人妻无码中文字幕,亚洲精品无码久久久久久久

思科固件刷新個人總結

時間:2019-05-13 22:02:02下載本文作者:會員上傳
簡介:寫寫幫文庫小編為你整理了多篇相關的《思科固件刷新個人總結》,但愿對你工作學習有幫助,當然你在寫寫幫文庫還可以找到更多《思科固件刷新個人總結》。

第一篇:思科固件刷新個人總結

刷OS要用到:9芯console控制線+USB串口轉換線(型號:力特ZE403/ZE400,需要安裝驅動)、3CDaemon TFTP server軟件、secureCRT、曲別針

AP的初始IP地址為10.0.0.X(X取2--30中的值,例如11),要使服務器網段在此范圍內實現ping通。

3CD中用到TFTPServer,通過選擇OS的路徑,保證進行刷新的軟件來源,利用go/stop開啟或停止刷新任務。

用曲別針插入AP刷新小孔并且插入POE供電的網線,直到Serial-COM3-SecureCRT中提示你撒手。

主要AP配置如下:

1.在ap>后輸入enable,password:Cisco,可運用TAB鍵補充自己所輸入的命令全拼。

2.凡是進行配置操作,均在ap#后輸入config terminal簡寫為config t

3.配置AP地址

interface BVI 1

ip address 10.1.55.12 255.255.255.0

運用exit結束配置,并用writememory保存

interface dot11radio 0

ip ad 10.1.55.12255.255.255.0

4.配置無線網絡

dot11 ssid aeroscout(名稱任意)

authenticationopen

guest-mode

5.配置aeroscout服務器

dot11 lbs aeroscout(名稱任意)

channel-match

multicast address 010c.cc00.0000

server address 10.1.55.252 port 12091

packet-type short

interface dot11radio 0

ip default-gateway 10.1.55.254

最后exit時記得命令write me

Exciter

更改IP需保證主機與exciter在同一網段,然后通過engine中exciter右鍵IP settings進行更改。

注:3與5中用到的IP地址要在同一網段內。

第二篇:思科路由知識總結

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 網絡的組成部分

設備和介質是網絡的物理要素,即硬件

服務和過程是網絡設備上運行的通信程序,稱為軟件

這些設備將每臺主機連接到網絡,并且可以將多個獨立的網絡連接成網際網絡。中間網絡設備包括: 網絡接入設備(集線器、交換機和無線接入點)網間設備(路由器)

通信服務器和調制解調器

安全設備(防火墻)

中間設備可控制數據的路徑但并不會生成或更改數據的內容.現代網絡主要使用三種介質來連接設備并提供傳輸數據的途徑。這三種介質是: 無線傳輸 銅纜與光線

電纜內部的金屬電線

玻璃或塑料纖維(光纜)

需要牢記的重要術語包括: 網絡接口卡

物理端口 接口

網絡模型有兩種基本類型:協議模型和參考模型

? ? ? ? ? 完整的通信過程包括以下步驟: 1.在發送方源終端設備的應用層創建數據

2.當數據在源終端設備中沿協議棧向下傳遞時對其分段和封裝

3.在協議棧網絡接入層的介質上生成數據

4.通過由介質和任意中間設備組成的網際網絡傳輸數據 ? ? ? ? ? ? ? ? ? ? 5.在目的終端設備的網絡接入層接收數據

6.當數據在目的設備中沿協議棧向上傳遞時對其解封和重組 7.將此數據傳送到目的終端設備應用層的目的應用程序

應用層為以人為本網絡中的不同個人之間提供了使用數據網絡實現端到端連接的方法.表示層對應用層服務之間傳輸的數據規定了通用的表示方式.會話層為表示層提供組織對話和管理交換的服務.傳輸層為終端設備之間的每個通信定義了數據分段、傳輸和重組服務.網絡層為所標識的終端設備直接按通過網絡交換一個個數據的片段提供服務.數據鏈路層協議描述了設備之間通過公共介質.物理層協議描述的機械、電氣、功能和操作方法用于激活、維護和停用網絡設備之間比特傳輸使用的物理連接.?

? 數據鏈路層(MAC)? 網絡層(IP)? 協議數據單元(PDU)

?

? 應用層提供了網絡接口

? 應用層幫助人們處理通信,以便通過數據網絡傳輸.?

? 通過以上這些服務器可以知道每一種協議都有各自的服務器,這樣在工作的時候提供各自服務器對應的服務。

? url統一資源定位符,也成為網頁地址 ?

?

?

? 路由器的基本組件

–-CPU – RAM – ROM – 操作系統

? 路由器是網絡組成的中心

–-路由器通常用于兩種連接: –-WAN 連接(連接到ISP)–-LAN 連接

路由器檢查數據報的目的IP地址,有助于確定最佳路徑添加到路由表中

? 路由器的組成及功能

? CPU – 執行操作系統的指令

? 隨機訪問存儲器(RAM)– RAM中內容斷電丟失

? 運行操作系統: ? 運行配置文件: ? IP 路由表: ? ARP 緩存: ? 數據包緩存區: ? 只讀存儲器(ROM)– 保存開機自檢軟件.,存儲路由器的啟動引導程序

? bootstrap 指令

? 基本的自檢軟件

? 迷你版 IOS.? 非易失 RAM(NVRAM)– 存儲啟動配置.這包括IP地址,路由協議,主機名

? 閃存– 運行操作系統(Cisco IOS)? Interfaces – 擁有多種物理接口用于連接網絡.接口類型舉例: ? 思科路由器所應用的操作系統被稱為 Internetwork Operating System(IOS).? 驗證路由器啟動過程:-show version 命令用于查看路由器在啟動過程中的信息。信息包括: ? 鏡像名稱 和IOS 版本

? 只讀存儲器中的引導程序版本 ? 鏡像文件名及存儲路徑 ? 接口的類型及編號 ? NVRAM的容量 ? flash的容量

? 配置寄存器的值

? 路由器管理接口:

? Console 口 ? Auxiliary 口

? 路由器物理接口使得路由器接受或發送數據包 ? 每個接口連接到一個獨立的網絡 ? 路由器外部由各種插孔和插座組成? 接口類型:-以太網-快速以太網-串口

-DSL(數字用戶線路)-ISDN(綜合業務數字網)?

兩組主要的路由器接口

1.局域網接口: ? 被用來連接局域網 ? 擁有二層mac地址

? 可被分配三層IP地址 ? 通常由 RJ-45接口組成

2.廣域網接口

? 用于連接外部網絡.? 依靠廣域網技術, 可應用二層地址.? 使用三層地址

? 路由器和網絡層

路由器借助目的IP地址轉發數據包

? 路由表決定數據包的路徑.? 確定最佳路徑

? 包被封裝成幀

? 幀通過媒介以比特流的形式排列

? 檢驗基本的路由配置-使用 show running-config 命令

-存儲路由器基本配置 copy running-config startup-config

-其他檢驗路由器的命令: ? Show running-config – 顯示當前隨機訪問存儲器中的配置 ? Show startup-config – 顯示NVRAM中的配置文件

? Show IP route – 現實路由表

? Show interfaces – 顯示所有接口的配置信息 ? Show IP int brief-顯示接口的簡要信息

? 路由表存儲在 RAM 中,包含以下信息: ? 直連網絡 – 一個設備連接到另一個路由器接口時會出現 ? 遠程網絡連接 – 這個網絡并非直接連接到某一臺路由器

? 網絡的詳細信息 包括源信息, 網絡地址和子網掩碼, 下一條路由的IP地址

? 建立路由表的三種途徑: ? 直連路由 –直接連到路由器上的網絡 ? 靜態路由 –管理員手工構建路由表

? 動態路由 –路由器之間動態學習到的路由表

? 直連路由出現在路由表的條件 1.接口應該 up up.2.IP 地址通過接口分配.? 路由表中的靜態路由

在靜態或動態路由被使用之前,路由表中必須包含與遠程網絡相關的直連路由

? 何時使用靜態路由

路由器較少

唯一外連出口

星型拓撲

? 維護路由表

-動態路由協議用來共享路由信息 維護更新自身的路由表

? IP routing protocols.常見的路由協議:-RIP-IGRP-EIGRP-OSPF ? 路由表的原則-3 條法則:

1.每臺路由器根據其自身路由表中的信息獨立作出決策.2.一臺路由器的路由表中包含某些信息并不表示其它路由器也包含相同的信息

3.有關兩個網絡之間路徑的路由信息并不能提供反向路徑(即返回路徑)的路由信息.2.IP數據包字段提供關于數據包發送和接受主機的信息 3.對于學習CCNA的同學要掌握以下幾個部分:-目的IP地址-源IP 地址

-版本號和生存周期-IP 包頭長度

-優先級和服務類型-數據包長度

? MAC 幀字段包括:-報頭

-起始定界符-目的 MAC 地址-源 MAC地址-類型/長度-數據和填充體-幀校驗序列

? Metric是一個數值,用以確定到達目的地的最佳路徑

? Metrics 可以是一個簡單的變量也可以是有多個變量符合而成 ? 路由協議有兩種Metric :-跳數-帶寬

? Metric(度量)越小路由越優先

? 包轉發包括兩個功能: ? 找出最佳路徑

? 送到外出接口

? 通過以下三個方法之一確定結果:-Directly Connected Network 直接通過本路由器接口轉發數據包到主機

-Remote Network

轉發數據包到下一跳路由器

-No Route Determined 丟棄該數據包并報告差錯

? 路由器的交換功能把數據包從一個接口轉到另一個接口-當數據包到達路由器將做以下處理: ? 剝離二層幀頭.? 根據目的IP地址選出最佳路由.? 將數據包重新封裝成幀.? 將幀轉發出去.? 一個數據包從一臺網絡設備到另一臺-源和目的IP地址在過程中不會改變

-包在路由器之間傳輸其源和目的2層地址地址將隨之變化 next.(二層地址不一定總是MAC地址)

-TTL值每經過一跳減1

? 路由器的功能

確定發送數據包的最佳路徑 將數據包轉發到目的地 路由器連接到廣域網

-路由器有 DB-60 接口可以支持五種不同的布線標準 連接到以太網

-有兩種類型:直通電纜(或稱為跳線電纜)和交叉電纜

? 直通電纜:

-交換機與路由器, 交換機與PC,集線器與PC, 集線器與服務器

? 交叉電纜:

-交換機與交換機, PC與PC, 交換機與集線器, 集線器與集線器,路由器與路由器

研究路由器的連接

? 廣域網物理層的兩邊:-數據電路終端設備(DCE)– 服務提供者.CSU/DSU 是一個 DCE 設備.-數據終端設備(DTE)– 路由器是一個典型的 DTE 設備

? CDP show 命令

? Show cdp neighbors

-顯示以下信息:

? 毗鄰設備 ID ? 本地接口

? 保持時間以秒為單位 ? 毗鄰設備功能代碼 ? 毗鄰硬件平臺 ? 毗鄰遠程端口 ID ? Show cdp neighbors detail

-有助于確定IP地址正確性

? 配置靜態路由: ip route ?

3條原理

? 原理 1:每臺路由器根據其自身路由表中的信息獨立做出決策。

? 原理 2:一臺路由器的路由表中包含某些信息并不表示其它路由 器也包含相同的信息。

? 原理 3:有關兩個網絡之間路徑的路由信息并不能提供反向路徑(即返回路徑)的路由信息。

? 匯總路由減小路由表.? 路由匯總就是將多條路由化為一條.? 動態路由協議的分類

?

分類:-IGP(內部網關協議)

-EGP(外部網關協議)

? 內部網關協議(IGP)-用于在自治系統內部路由.-例如: RIP, EIGRP, OSPF ? 外部網關協議(EGP)-用于在自治系統之間路由

-例如: BGPv4 ? 當所有路由器都獲取到完整而準確的網絡信息時,網絡即完成收斂。

? 度量: 度量是指路由協議用來分配到達遠程網絡的路由開銷的值

? IP 路由協議中使用的度量如下

-帶寬

-開銷

-延遲

-跳數

-負載

-可靠性

? 各路由協議的度量如下

-RIP – 跳數

-IGRP & EIGRP-帶寬、延遲、可靠性和負載

-IS-IS & OSPF –開銷, Cisco 采用的 OSPF 使用的是帶寬

? 度量的用途

用于確定到達目的的最佳路徑

? 管理距離的用途

這個數值用于指定路由協議的優先級

? 直連網絡 默認管理距離是 0 ? 靜態路由 默認管理距離是 1 ? 距離矢量路由協議舉例: ? 路由信息協議(RIP)? 內部網關協議(IGRP)? 增強型 IGRP(EIGRP)

? 距離矢量的意義: 使用距離矢量路由協議的路由器并不了解到達目的網絡的整條路徑。該路由器只知道:

? 自身與目的網絡之間的距離

? 應該往哪個方向或使用哪個接口轉發數據包

? 距離矢量路由協議有一些共同特征: ?

周期更新

?

鄰居

?

廣播更新

?

整個路由表更新

? 達到收斂的速度包含兩個方面:

-路由器在路由更新中向其鄰居傳播拓撲結構變化的速度。

-使用收集到的新路由信息計算最佳路徑路由的速度

? 定期更新: RIPv1 & IGRP

路由器發出完整路由表是會存在一個時間間隔.? RIP應用 4個計時器RIP 的接口在啟動時都會發送請求消息

-要求所有 RIP 鄰居發送完整的路由表

? 響應消息

-此消息回應請求的路由器包含整個路由表 自動匯總的優缺點 優點: ? 可以使發送和接收的路由更新較小

? 使用單條路由可加快 路由表的查找過程

缺點: ? 不支持不連續網絡 ? 有類ip尋址

? 截止到 2007 年 1 月,Internet 的主機數量已經超過 4.33 億臺。

? 保留 IPv4 地址空間地方法:

-VLSM 和 CIDR

-網絡地址轉換

-私有地址

? ? ? ? ?

第三篇:思科交換機配置命令總結

思科交換機配置命令總結

1.switch(config)# hostname hostname 在基于CLI的交換機上設置主機名/系統名: switch(enable)set system name name-string 2.在基于IOS的交換機上設置登錄口令: switch(config)# enable password level 1 password 在基于CLI的交換機上設置登錄口令: switch(enable)set password switch(enable)set enalbepass 3.在基于IOS的交換機上設置遠程訪問: switch(config)# interface vlan 1 switch(config-if)# ip address ip-address netmask switch(config-if)# ip default-gateway ip-address 在基于CLI的交換機上設置遠程訪問: switch(enable)set interface sc0 ip-address netmask broadcast-address switch(enable)set interface sc0 vlan switch(enable)set ip route default gateway 4.在基于IOS的交換機上啟用和瀏覽CDP信息: switch(config-if)# cdp enable switch(config-if)# no cdp enable 為了查看Cisco鄰接設備的CDP通告信息: switch# show cdp interface [type modle/port] switch# show cdp neighbors [type module/port] [detail] 在基于CLI的交換機上啟用和瀏覽CDP信息: switch(enable)set cdp {enable|disable} module/port 為了查看Cisco鄰接設備的CDP通告信息: switch(enable)show cdp neighbors[module/port] [vlan|duplex|capabilities|detail] 5.基于IOS的交換機的端口描述: switch(config-if)# description description-string 基于CLI的交換機的端口描述: switch(enable)set port name module/number description-string 6.在基于IOS的交換機上設置端口速度: switch(config-if)# speed{10|100|auto} 在基于CLI的交換機上設置端口速度: switch(enable)set port speed moudle/number {10|100|auto} switch(enable)set port speed moudle/number {4|16|auto} 7.在基于IOS的交換機上設置以太網的鏈路模式: switch(config-if)# duplex {auto|full|half} 在基于CLI的交換機上設置以太網的鏈路模式: switch(enable)set port duplex module/number {full|half} 8.在基于IOS的交換機上配置靜態VLAN: switch# vlan database switch(vlan)# vlan vlan-num name vla switch(vlan)# exit switch# configure teriminal switch(config)# interface interface module/number switch(config-if)# switchport mode access switch(config-if)# switchport access vlan vlan-num switch(config-if)# end 在基于CLI的交換機上配置靜態VLAN: switch(enable)set vlan vlan-num [name name] switch(enable)set vlan vlan-num mod-num/port-list 9.在基于IOS的交換機上配置VLAN中繼線: switch(config)# interface interface mod/port switch(config-if)# switchport mode trunk switch(config-if)# switchport trunk encapsulation {isl|dotlq} switch(config-if)# switchport trunk allowed vlan remove vlan-list switch(config-if)# switchport trunk allowed vlan add vlan-list 在基于CLI的交換機上配置VLAN中繼線: switch(enable)set trunk module/port [on|off|desirable|auto|nonegotiate] Vlan-range [isl|dotlq|dotl0|lane|negotiate] 10.在基于IOS的交換機上配置VTP管理域: switch# vlan database switch(vlan)# vtp domain domain-name 在基于CLI的交換機上配置VTP管理域: switch(enable)set vtp [domain domain-name] 11.在基于IOS的交換機上配置VTP 模式: switch# vlan database switch(vlan)# vtp domain domain-name switch(vlan)# vtp {sever|cilent|transparent} switch(vlan)# vtp password password 在基于CLI的交換機上配置VTP 模式: switch(enable)set vtp [domain domain-name] [mode{ sever|cilent|transparent }][password password] 12.在基于IOS的交換機上配置VTP版本: switch# vlan database switch(vlan)# vtp v2-mode 在基于CLI的交換機上配置VTP版本: switch(enable)set vtp v2 enable 13.在基于IOS的交換機上啟動VTP剪裁: switch# vlan database switch(vlan)# vtp pruning 在基于CL I 的交換機上啟動VTP剪裁: switch(enable)set vtp pruning enable 14.在基于IOS的交換機上配置以太信道: switch(config-if)# port group group-number [distribution {source|destination}] 在基于CLI的交換機上配置以太信道: switch(enable)set port channel moudle/port-range mode{on|off|desirable|auto} 15.在基于IOS的交換機上調整根路徑成本: switch(config-if)# spanning-tree [vlan vlan-list] cost cost 在基于CLI的交換機上調整根路徑成本: switch(enable)set spantree portcost moudle/port cost switch(enable)set spantree portvlancost moudle/port [cost cost][vlan-list] 16.在基于IOS的交換機上調整端口ID: switch(config-if)# spanning-tree[vlan vlan-list]port-priority port-priority 在基于CLI的交換機上調整端口ID: switch(enable)set spantree portpri {mldule/port}priority switch(enable)set spantree portvlanpri {module/port}priority [vlans] 17.在基于IOS的交換機上修改STP時鐘: switch(config)# spanning-tree [vlan vlan-list] hello-time seconds switch(config)# spanning-tree [vlan vlan-list] forward-time seconds ` switch(config)# spanning-tree [vlan vlan-list] max-age seconds 在基于CLI的交換機上修改STP時鐘: switch(enable)set spantree hello interval[vlan] switch(enable)set spantree fwddelay delay [vlan] switch(enable)set spantree maxage agingtiame[vlan] 18.在基于IOS的交換機端口上啟用或禁用Port Fast 特征: switch(config-if)#spanning-tree portfast 在基于CLI的交換機端口上啟用或禁用Port Fast 特征: switch(enable)set spantree portfast {module/port}{enable|disable} 19.在基于IOS的交換機端口上啟用或禁用UplinkFast 特征: switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second] 在基于CLI的交換機端口上啟用或禁用UplinkFast 特征: switch(enable)set spantree uplinkfast {enable|disable}[rate update-rate] [all-protocols off|on] 20.為了將交換機配置成一個集群的命令交換機,首先要給管理接口分配一個IP地址,然后使用下列命令: switch(config)# cluster enable cluster-name 21.為了從一條中繼鏈路上刪除VLAN,可使用下列命令: switch(enable)clear trunk module/port vlan-range 22.用show vtp domain 顯示管理域的VTP參數.23.用show vtp statistics顯示管理域的VTP參數.24.在Catalyst交換機上定義TrBRF的命令如下: switch(enable)set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}] 25.在Catalyst交換機上定義TrCRF的命令如下: switch(enable)set vlan vlan-num [name name] type trcrf {ring hex-ring-num|decring decimal-ring-num} parent vlan-num 26.在創建好TrBRF VLAN之后,就可以給它分配交換機端口.對于以太網交換,可以采用如下命令給VLAN分配端口: switch(enable)set vlan vlan-num mod-num/port-num 27.命令show spantree顯示一個交換機端口的STP狀態.28.配置一個ELAN的LES和BUS,可以使用下列命令: ATM(config)# interface atm number.subint multioint ATM(config-subif)# lane serber-bus ethernet elan-name 29.配置LECS: ATM(config)# lane database database-name ATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-address ATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-address ATM(lane-config-databade)# name …

30.創建完數據庫后,必須在主接口上啟動LECS.命令如下: ATM(config)# interface atm number ATM(config-if)# lane config database database-name ATM(config-if)# lane config auto-config-atm-address 31.將每個LEC配置到一個不同的ATM子接口上.命令如下: ATM(config)# interface atm number.subint multipoint ATM(config)# lane client ethernet vlan-num elan-num 32.用show lane server 顯示LES的狀態.33.用show lane bus顯示bus的狀態.34.用show lane database顯示LECS數據庫可內容.35.用show lane client顯示LEC的狀態.36.用show module顯示已安裝的模塊列表.37.用物理接口建立與VLAN的連接: router# configure terminal router(config)# interface media module/port router(config-if)# description description-string router(config-if)# ip address ip-addr subnet-mask router(config-if)# no shutdown 38.用中繼鏈路來建立與VLAN的連接: router(config)# interface module/port.subinterface router(config-ig)# encapsulation[isl|dotlq] vlan-number router(config-if)# ip address ip-address subnet-mask 39.用LANE 來建立與VLAN的連接: router(config)# interface atm module/port router(config-if)# no ip address router(config-if)# atm pvc 1 0 5 qsaal router(config-if)# atm pvc 2 0 16 ilni router(config-if)# interface atm module/port.subinterface multipoint router(config-if)# ip address ip-address subnet-mask router(config-if)# lane client ethernet elan-num router(config-if)# interface atm module/port.subinterface multipoint router(config-if)# ip address ip-address subnet-name router(config-if)# lane client ethernet elan-name router(config-if)# …

40.為了在路由處理器上進行動態路由配置,可以用下列IOS命令來進行: router(config)# ip routing router(config)# router ip-routing-protocol router(config-router)# network ip-network-number router(config-router)# network ip-network-number 41.配置默認路由: switch(enable)set ip route default gateway 42.為一個路由處理器分配VLANID,可在接口模式下使用下列命令: router(config)# interface interface number router(config-if)# mls rp vlan-id vlan-id-num 43.在路由處理器啟用MLSP: router(config)# mls rp ip 44.為了把一個外置的路由處理器接口和交換機安置在同一個VTP域中: router(config)# interface interface number router(config-if)# mls rp vtp-domain domain-name 45.查看指定的VTP域的信息: router# show mls rp vtp-domain vtp domain name 46.要確定RSM或路由器上的管理接口,可以在接口模式下輸入下列命令: router(config-if)#mls rp management-interface 47.要檢驗MLS-RP的配置情況: router# show mls rp 48.檢驗特定接口上的MLS配置:

router# show mls rp interface interface number 49.為了在MLS-SE上設置流掩碼而又不想在任一個路由處理器接口上設置訪問列表: set mls flow [destination|destination-source|full] 50.為使MLS和輸入訪問列表可以兼容,可以在全局模式下使用下列命令: router(config)# mls rp ip input-acl [page] 51.當某個交換機的第3層交換失效時,可在交換機的特權模式下輸入下列命令: switch(enable)set mls enable 52.若想改變老化時間的值,可在特權模式下輸入以下命令: switch(enable)set mls agingtime agingtime 53.設置快速老化:

switch(enable)set mls agingtime fast fastagingtime pkt_threshold 54.確定那些MLS-RP和MLS-SE參與了MLS,可先顯示交換機引用列表中的內容再確定: switch(enable)show mls include 55.顯示MLS高速緩存記錄: switch(enable)show mls entry 56.用命令show in arp顯示ARP高速緩存區的內容。

57.要把路由器配置為HSRP備份組的成員,可以在接口配置模式下使用下面的命令: router(config-if)# standby group-number ip ip-address 58.為了使一個路由器重新恢復轉發路由器的角色,在接口配置模式下: router(config-if)# standy group-number preempt 59.訪問時間和保持時間參數是可配置的:

router(config-if)# standy group-number timers hellotime holdtime 60.配置HSRP跟蹤:

router(config-if)# standy group-number track type-number interface-priority 61.要顯示HSRP路由器的狀態:

router# show standby type-number group brief 62.用命令show ip igmp確定當選的查詢器。63.啟動IP組播路由選擇:

router(config)# ip muticast-routing 64.啟動接口上的PIM:

dalllasr1>(config-if)# ip pim {dense-mode|sparse-mode|sparse-dense-mode} 65.啟動稀疏-稠密模式下的PIM: router# ip multicast-routing router# interface type number router# ip pim sparse-dense-mode 66.核實PIM的配置:

dallasr1># show ip pim interface[type number] [count] 67.顯示PIM鄰居:

dallasr1># show ip neighbor type number 68.為了配置RP的地址,命令如下:

dallasr1># ip pim rp-address ip-address [group-access-list-number][override] 69.選擇一個默認的RP: dallasr1># ip pim rp-address 通告RP和它所服務的組范圍:

dallasr1># ip pim send-rp-announce type number scope ttl group-list access-list-number 為管理范圍組通告RP的地址:

dallasr1># ip pim send-rp-announce ethernet0 scope 16 group-list1 dallasr1># access-list 1 permit 266.0.0.0 0.255.255.255 設定一個RP映像代理:

dallasr1># ip pim send-rp-discovery scope ttl 核實組到RP的映像:

dallasr1># show ip pim rp mapping dallasr1># show ip pim rp [group-name|group-address] [mapping] 70.在路由器接口上用命令ip multicast ttl-threshold ttl-value設定TTL閥值: dallasr1>(config-if)# ip multicast ttl-threshold ttl-value 71.用show ip pim neighbor顯示PIM鄰居表。72.顯示組播通信路由表中的各條記錄:

dallasr1>show ip mroute [group-name|group-address][scoure][summary][count][active kbps] 73.要記錄一個路由器接受和發送的全部IP組播包:

dallasr1> #debug ip mpacket [detail] [access-list][group] 74.要在CISCO路由器上配置CGMP: dallasr1>(config-if)# ip cgmp 75.配置一個組播路由器,使之加入某一個特定的組播組: dallasr1>(config-if)# ip igmp join-group group-address 76.關閉 CGMP:

dallasr1>(config-if)# no ip cgmp 77.啟動交換機上的CGMP:

dallasr1>(enable)set cgmp enable 78.核實Catalyst交換機上CGMP的配置情況: catalystla1>(enable)show config set prompt catalystla1> set interface sc0 192.168.1.1 255.255.255.0 set cgmp enable 79.CGMP離開的設置:

Dallas_SW(enable)set cgmp leave 80.在Cisco設備上修改控制端口密碼: R1(config)# line console 0 R1(config-line)# login R1(config-line)# password Lisbon R1(config)# enable password Lilbao R1(config)# login local R1(config)# username student password cisco 81.在Cisco設備上設置控制臺及vty端口的會話超時: R1(config)# line console 0 R1(config-line)# exec-timeout 5 10 R1(config)# line vty 0 4 R1(config-line)# exec-timeout 5 2 82.在Cisco設備上設定特權級:

R1(config)# privilege configure level 3 username R1(config)# privilege configure level 3 copy run start R1(config)# privilege configure level 3 ping R1(config)# privilege configure level 3 show run R1(config)# enable secret level 3 cisco 83.使用命令privilege 可定義在該特權級下使用的命令: router(config)# privilege mode level level command 84.設定用戶特權級:

router(config)# enable secret level 3 dallas router(config)# enable secret san-fran router(config)# username student password cisco 85.標志設置與顯示:

R1(config)# banner motd ‘unauthorized access will be prosecuted!’ 86.設置vty訪問:

R1(config)# access-list 1 permit 192.168.2.5 R1(config)# line vty 0 4 R1(config)# access-class 1 in 87.配置HTTP訪問:

Router3(config)# access-list 1 permit 192.168.10.7 Router3(config)# ip http sever Router3(config)# ip http access-class 1 Router3(config)# ip http authentication local Router3(config)# username student password cisco 88.要啟用HTTP訪問,請鍵入以下命令: switch(config)# ip http sever 89.在基于set命令的交換機上用setCL1啟動和核實端口安全:

switch(enable)set port security mod_num/port_num…enable mac address switch(enable)show port mod_num/port_num 在基于CiscoIOS命令的交換機上啟動和核實端口安全:

switch(config-if)# port secure [mac-mac-count maximum-MAC-count] switch# show mac-address-table security [type module/port] 90.用命令access-list在標準通信量過濾表中創建一條記錄:

Router(config)# access-list access-list-number {permit|deny} source-address [source-address] 91.用命令access-list在擴展通信量過濾表中創建一條記錄: Router(config)# access-list access-list-number {permit|deny{protocol|protocol-keyword}}{source source-wildcard|any}{destination destination-wildcard|any}[protocol-specific options][log] 92.對于帶內路由更新,配置路由更新的最基本的命令格式是:

R1(config-router)#distribute-list access-list-number|name in [type number] 93.對于帶外路由更新,配置路由更新的最基本的命令格式是:

R1(config-router)#distribute-list access-list-number|name out [interface-name] routing-process| autonomous-system-number 94.set snmp命令選項:

set snmp community {read-only|ready-write|read-write-all}[community_string] 95.set snmp trap 命令格式如下: set snmp trap {enable|disable} [all|moudle|classis|bridge|repeater| auth|vtp|ippermit|vmps|config|entity|stpx] set snmp trap rvcr_addr rcvr_community 96.啟用SNMP chassis 陷阱: Console>(enable)set snmp trap enable chassis 97.啟用所有SNMP chassis 陷阱: Console>(enable)set snmp trap enable 98.禁用SNMP chassis 陷阱: Console>(enable)set snmp trap disable chassis 99.給SNMP陷阱接收表加一條記錄:

Console>(enable)set snmp trap 192.122.173.42 public 100.show snmp 輸出結果。

101.命令set snmp rmon enable 的輸出結果。102.顯示SPAN信息: Consile> show span

第四篇:思科三層交換機配置總結

思科交換機的基本配置命令學習

CISCO交換機基本配置:Console端口連接 用戶模式hostname# ;

特權模式hostname(config)# ;

全局配置模式hostname(config-if)# ; 交換機口令設置:

switch>enable ;進入特權模式

switch#config terminal ;進入全局配置模式

switch(config)#hostname csico ;設置交換機的主機名 switch(config)#enable secret csico1 ;設置特權加密口令 switch(config)#enable password csico8 ;設置特權非密口令 switch(config)#line console 0 ;進入控制臺口 switch(config-line)#line vty 0 4 ;進入虛擬終端 switch(config-line)#login ;虛擬終端允許登錄

switch(config-line)#password csico6 ;設置虛擬終端登錄口令csico6 switch#exit ;返回命令

交換機VLAN創建,刪除,端口屬性的設置,配置trunk端口,將某端口加入vlan中,配置VTP: switch#vlan database ;進入VLAN設置 switch(vlan)#vlan 2 ;建VLAN 2

switch(vlan)#vlan 3 name vlan3 ;建VLAN 3并命名為vlan3 switch(vlan)#no vlan 2 ;刪vlan 2 switch(config)#int f0/1 ;進入端口1

switch(config)#speed ? 查看speed命令的子命令

switch(config)#speed 100 設置該端口速率為100mb/s(10/auto)switch(config)#duplex ? 查看duplex的子命令

switch(config)#duplex full 設置該端口為全雙工(auto/half)

switch(config)#description TO_PC1 這是該端口描述為TO_PC1 switch(config-if)#switchport access vlan 2 ;當前端口加入vlan 2

switch(config-if)#switchport mode trunk ;設置為trunk模式(access模式)switch(config-if)#switchport trunk allowed vlan 1,2 ;設置允許的vlan switch(config-if)#switchport trunk encap dot1q ;設置vlan 中繼 switch(config)#vtp domain vtpserver ;設置vtp域名相同 switch(config)#vtp password ;設置發vtp密碼 switch(config)#vtp server ;設置vtp服務器模式 switch(config)#vtp client ;設置vtp客戶機模式

交換機設置IP地址,默認網關,域名,域名服務器,配置和查看MAC地址表: switch(config)#interface vlan 1 ;進入vlan 1

switch(config-if)#ip address 192.168.1.1 255.255.255.0 ;設置IP地址 switch(config)#ip default-gateway 192.168.1.6 ;設置默認網關 switch(config)#ip domain-name cisco.com 設置域名

switch(config)#ip name-server 192.168.1.18 設置域名服務器

switch(config)#mac-address-table? 查看mac-address-table的子命令

switch(config)#mac-address-table aging-time 100 設置超時時間為100ms

switch(config)#mac-address-table permanent 0000.0c01.bbcc f0/3 加入永久地址在f0/3端口

switch(config)#mac-address-table restricted static 0000.0c02.bbcc f0/6 f0/7 加入靜態地址目標端口f0/6源端口f0/7

switch(config)#end switch#show mac-address-table 查看整個MAC地址表

switch#clear mac-address-table restricted static 清除限制性靜態地址 交換機顯示命令:

switch#write ;保存配置信息

switch#show vtp ;查看vtp配置信息 switch#show run ;查看當前配置信息 switch#show vlan ;查看vlan配置信息 switch#show interface ;查看端口信息 switch#show int f0/0 ;查看指定端口信息

switch#show int f0/0 status;查看指定端口狀態 switch#dir flash: ;查看閃存

Cisco路由器配置命令大全網絡 2010-06-26 06:43:44 閱讀657 評論0 字號:大中小 訂閱.(1)模式轉換命令

用戶模式----特權模式,使用命令“enable”

特權模式----全局配置模式,使用命令“config t”

全局配置模式----接口模式,使用命令“interface+接口類型+接口號” 全局配置模式----線控模式,使用命令“line+接口類型+接口號” 注:

用戶模式:查看初始化的信息.特權模式:查看所有信息、調試、保存配置信息

全局模式:配置所有信息、針對整個路由器或交換機的所有接口 接口模式:針對某一個接口的配置

線控模式:對路由器進行控制的接口配置(2)配置命令

show running config 顯示所有的配置 show versin 顯示版本號和寄存器值 shut down 關閉接口 no shutdown 打開接口

ip add +ip地址 配置IP地址

secondary+IP地址 為接口配置第二個IP地址 show interface+接口類型+接口號 查看接口管理性 show controllers interface 查看接口是否有DCE電纜 show history 查看歷史記錄

show terminal 查看終端記錄大小

hostname+主機名 配置路由器或交換機的標識 config memory 修改保存在NVRAM中的啟動配置 exec timeout 0 0 設置控制臺會話超時為0 service password-encryptin 手工加密所有密碼 enable password +密碼 配置明文密碼 ena sec +密碼 配置密文密碼 line vty 0 4/15 進入telnet接口 password +密碼 配置telnet密碼 line aux 0 進入AUX接口 password +密碼 配置密碼 line con 0 進入CON接口 password +密碼 配置密碼 bandwidth+數字 配置帶寬 no ip address 刪除已配置的IP地址

show startup config 查看NVRAM中的配置信息 copy run-config atartup config 保存信息到NVRAM write 保存信息到NVRAM

erase startup-config 清除NVRAM中的配置信息 show ip interface brief 查看接口的謫要信息

banner motd # +信息 + # 配置路由器或交換機的描素信息 description+信息 配置接口聽描素信息 vlan database 進入VLAN數據庫模式 vlan +vlan號+ 名稱 創建VLAN

switchport access vlan +vlan號 為VLAN為配接口 interface vlan +vlan號 進入VLAN接口模式 ip add +ip地址 為VLAN配置管理IP地址

vtp+service/tracsparent/client 配置SW的VTP工作模式 vtp +domain+域名 配置SW的VTP域名 vtp +password +密碼 配置SW的密碼 switchport mode trunk 啟用中繼 no vlan +vlan號 刪除VLAN

show spamming-tree vlan +vlan號 查看VLA怕生成樹議 2.路由器配置命令

ip route+非直連網段+子網掩碼+下一跳地址 配置靜態/默認路由 show ip route 查看路由表

show protocols 顯示出所有的被動路由協議和接口上哪些協議被設置

show ip protocols 顯示了被配置在路由器上的路由選擇協議,同時給出了在路由選擇協議中使用 的定時器 等信息

router rip 激活RIP協議

network +直連網段 發布直連網段 interface lookback 0 激活邏輯接口

passive-interface +接口類型+接口號 配置接口為被動模式 debug ip +協議 動態查看路由更新信息 undebug all 關閉所有DEBUG信息

router eigrp +as號 激活EIGRP路由協議 network +網段+子網掩碼 發布直連網段 show ip eigrp neighbors 查看鄰居表 show ip eigrp topology 查看拓撲表 show ip eigrp traffic 查看發送包數量 router ospf +process-ID 激活OSPF協議

network+直連網段+area+區域號 發布直連網段 show ip ospf 顯示OSPF的進程號和ROUTER-ID encapsulation+封裝格式 更改封裝格式

no ip admain-lookup 關閉路由器的域名查找 ip routing 在三層交換機上啟用路由功能 show user 查看SW的在線用戶 clear line +線路號 清除線路 3.三層交換機配置命令 配置一組二層端口 configure terminal 進入配置狀態

nterface range {port-range} 進入組配置狀態 配置三層端口

configure terminal 進入配置狀態

interface {{fastethernet | gigabitethernet} interface-id} | {vlan vlan-id} | {port-channel port-channel-number} 進入端口配置狀態 no switchport 把物理端口變成三層口

ip address ip_address subnet_mask 配置IP地址和掩碼 no shutdown 激活端口 例:

Switch(config)# interface gigabitethernet0/2 Switch(config-if)# no switchport

Switch(config-if)# ip address 192.20.135.21 255.255.255.0 Switch(config-if)# no shutdown 配置VLAN

configure terminal 進入配置狀態

vlan vlan-id 輸入一個VLAN號, 然后進入vlan配態,可以輸入一個新的VLAN號或舊的來進行修改。

name vlan-name 可選)輸入一個VLAN名,如果沒有配置VLAN名,缺省的名字是VLAN號前面用0填滿 的4位數,如VLAN0004是VLAN4的缺省名字 mtu mtu-size(可選)改變MTU大小 例

Switch# configure terminal Switch(config)# vlan 20

Switch(config-vlan)# name test20 Switch(config-vlan)# end 或

Switch# vlan database

Switch(vlan)# vlan 20 name test20 Switch(vlan)# exit

將端口分配給一個VLAN

configure terminal 進入配置狀態

interface interface-id 進入要分配的端口 switchport mode access 定義二層口

switchport access vlan vlan-id 把端口分配給某一VLAN 例

Switch# configure terminal

Enter configuration commands, one per line.End with CNTL/Z.Switch(config)# interface fastethernet0/1 Switch(config-if)# switchport mode access Switch(config-if)# switchport access vlan 2 Switch(config-if)# end Switch#

配置VLAN trunk

configure terminal 進入配置狀態

interface interface-Id 進入端口配置狀態

switchport trunk encapsulation {isl | dot1q | negotiate}配置trunk封裝ISL 或 802.1Q 或 自動協商 switchport mode {dynamic {auto | desirable} | trunk} 配置二層trunk模式。dynamic auto—自動協商是否成為trunk

dynamic desirable—把端口設置為trunk如果對方端口是trunk, desirable, 配置Native VLAN(802.1q)

或自動模式,trunk—設置端口為強制的trunk方式,而不理會對方端口是否為trunk switchport access vlan vlan-id 可選)指定一個缺省VLAN, 如果此端口不再是trunk switchport trunk native vlan vlan-id 指定802.1Q native VLAN號 例:

Switch# configure terminal

Enter configuration commands, one per line.End with CNTL/Z.Switch(config)# interface fastethernet0/4 Switch(config-if)# switchport mode trunk

Switch(config-if)# switchport trunk encapsulation dot1q Switch(config-if)# end

定義TRUNK允許的VLAN

configure terminal子 進入配置狀態 interface interface-id 進入端口配置

switchport mode trunk 配置二層口為trunk

switchport trunk allowed vlan {add | all | except | remove} vlan-list可選)配置trunk允 許的VLAN.使用add, all, except, remove關健字

no switchport trunk allowed vlan 允許所有VLAN通過 例

Switch(config)# interface fastethernet0/1

Switch(config-if)# switchport trunk allowed vlan remove 2 Switch(config-if)# end

配置Native VLAN(802.1q)configure terminal 進入配置狀態

interface interface-id 進入配置成802.1qtrunk的端口 switchport trunk native vlan vlan-Id 配置native VLAN號

no switchport trunk native vlan 端口配置命令回到缺省的狀態 配置基于端口權值的負載均衡

configure terminal 進入Switch 1配置狀態 vtp domain domain-name 配置VTP域

vtp mode server 將Switch 1配置成VTP server.show vtp status 驗證VTP的配置 show vlan 驗證VLAN

configure terminal 進入配置狀態

interface fastethernet 0/1 進入F0/1端口

switchport trunk encapsulation {isl | dot1q | negotiate}配置trunk封裝 switchport mode trunk 配置成trunk

show interfaces fastethernet0/1 switchport 驗證VLAN配置 按以上步驟對想要負載均衡的接口進行配置 在另一個交換機上進行此配置

show vlan 當trunk已經起來,在switch2上驗證已經學到相的vlan配置 configure terminal 在Switch 1上進入配置狀態 interface fastethernet0/1 進入要配置的端口

spanning-tree vlan 8 port-priority 10 將端口權值10賦與VLAN 8.spanning-tree vlan 9 port-priority 10 將端口權值10賦與VLAN 9.spanning-tree vlan 10 port-priority 10 將端口權值10賦與VLAN 10.interface fastethernet0/2 進入F0/2

spanning-tree vlan 3 port-priority 10 將端口權值10賦與VLAN 3.spanning-tree vlan 4 port-priority 10 將端口權值10賦與VLAN 4 spanning-tree vlan 5 port-priority 10 將端口權值10賦與VLAN 5 spanning-tree vlan 6 port-priority 10 將端口權值10賦與VLAN 10 end 退出

show running-config 驗證配置

copy running-config startup-config 保存配置 配置STP路徑值的負載均衡

Trunk1走VLAN8-10,Trunk2走VLAN2-4 configure terminal 進入 Switch 1配置狀態 interface fastethernet 0/1 進入F0/1

switchport trunk encapsulation {isl | dot1q | negotiate}配置封裝 switchport mode trunk 配置Trunk,缺省是ISL封裝 exit 退回

在F0/2口上重復2-4步驟 exit 退回

show running-config 驗證配置

show vlan驗證switch1 已經學到Vlan configure terminal 進入配置狀態 interface fastethernet 0/1 進入F0/1

spanning-tree vlan 2 cost 30 設置Vlan2生成樹路徑值為30 spanning-tree vlan 3 cost 30 設置Vlan3生成樹路徑值為30 spanning-tree vlan 4 cost 30 設置Vlan4生成樹路徑值為30 end 退出

在switch1的F0/2上重復9-11步驟設置VLAN8,9,10生成樹路徑值為30 end 退出

show running-config 驗證配置

copy running-config startup-config 保存配置 補充:CISCO命令集——路由選擇協議及排障 *ip route命令

Router(config)# ip route <目錄網絡或子網號> [子網掩碼] <下一路由器IP地址 | 從本地出口 的地址> [管理距離0~255,默認為1](注:靜態地址配置)*ip default-network命令

Router(config)# ip default-network <目標網絡號>

(注:配合路由協使用,用其中的一個動態路由號作默認路由配置)

Router(config)# ip route 0.0.0.0 0.0.0.0 <下一路由器IP地址 | 從本地出口的地址>(注:只有一個公網地址時,在出口路由器上的配置)*內部路由選擇協議

*使用router和network命令

Router(config)# router <路由協議rip | igrp | eigrp | ospf | is-is等> [自主系統號] Router(config-router)# network <直接相連的要用此路由協議的網絡號> Router(config-router)# network <直接相連的要用此路由協議的網絡號> *路由信息協議RIP

Router(config)# router rip Router(config-router)# network <直接相連的要用rip協議的有類別網絡號> Router# show ip protocols Router# show ip route Router# debug ip rip

*內部網關路由協議IGRP

Router(config)# router igrp <自主系統號>

Router(config-router)# network <直接相連的要用igrp協議的有類別網絡號> Router# show ip interface Router# show ip protocols Router# show ip route Router# debug ip rip *排除網絡故障

排除網絡故障的一個總體模型

Router# ping <有故障的主機 | 有故障的IP地址> Router# show ip route

Router# show interface <有故障的接口> Router# show run *IP的故故障排除 檢查可用的路由

Router# show ip route <有故障的IP地址> 27.4.4 跟蹤路由(Tracing the Route)

SUN-A> traceroute <有故障的主機 | 有故障的IP地址> C:/windows/> winipcfg C:/windows/> ipconfig C:/windows/> ipconfig / all

C:/windows/> tracert <有故障的主機 | 有故障的IP地址> 使用擴展的ping來跟蹤連接性 Router# ping

*其它可能的故障

一個地址解析(ARP)的故障 Router# show arp

Router# show interface <有故障的接口> C:/windows/> arp-a SUN-A> arp –a

驗證終端系統的路由表 C:/windows/> netstat –rn

C:/windows/> route –f add 0.0.0.0 mask 0.0.0.0 <需要添加入的網關地址> C:/windows/> route [–f ] [[print | add | delete | change] [destination] [mask netmask] [gateway]]

C:/windows/> route add mask <網絡掩碼> <網關ip地址> C:/windows/> route delete mask <網絡掩碼> <網關ip地址> C:/windows/> nbtstat <相應的參數> SUN-A> netstat-rn路由器

CISCO交換機配置命令大全2009-08-13 21:131.在基于IOS的交換機上設置主機名/系統名: switch(config)# hostname hostname

在基于CLI的交換機上設置主機名/系統名: switch(enable)set system name name-string 2.在基于IOS的交換機上設置登錄口令:

switch(config)# enable password level 1 password 在基于CLI的交換機上設置登錄口令: switch(enable)set password switch(enable)set enalbepass

3.在基于IOS的交換機上設置遠程訪問: switch(config)# interface vlan 1

switch(config-if)# ip address ip-address netmask switch(config-if)# ip default-gateway ip-address 在基于CLI的交換機上設置遠程訪問:

switch(enable)set interface sc0 ip-address netmask broadcast-address switch(enable)set interface sc0 vlan

switch(enable)set ip route default gateway

4.在基于IOS的交換機上啟用和瀏覽CDP信息: switch(config-if)# cdp enable switch(config-if)# no cdp enable

為了查看Cisco鄰接設備的CDP通告信息: switch# show cdp interface [type modle/port]

switch# show cdp neighbors [type module/port] [detail] 在基于CLI的交換機上啟用和瀏覽CDP信息: switch(enable)set cdp {enable|disable} module/port 為了查看Cisco鄰接設備的CDP通告信息:

switch(enable)show cdp neighbors[module/port] [vlan|duplex|capabilities|detail] 5.基于IOS的交換機的端口描述:

switch(config-if)# description description-string 基于CLI的交換機的端口描述:

switch(enable)set port name module/number description-string 6.在基于IOS的交換機上設置端口速度: switch(config-if)# speed{10|100|auto} 在基于CLI的交換機上設置端口速度:

switch(enable)set port speed moudle/number {10|100|auto} switch(enable)set port speed moudle/number {4|16|auto} 7.在基于IOS的交換機上設置以太網的鏈路模式: switch(config-if)# duplex {auto|full|half}

在基于CLI的交換機上設置以太網的鏈路模式:

switch(enable)set port duplex module/number {full|half} 8.在基于IOS的交換機上配置靜態VLAN: switch# vlan database

switch(vlan)# vlan vlan-num name vla switch(vlan)# exit

switch# configure teriminal

switch(config)# interface interface module/number switch(config-if)# switchport mode access

switch(config-if)# switchport access vlan vlan-num switch(config-if)# end

在基于CLI的交換機上配置靜態VLAN: switch(enable)set vlan vlan-num [name name]

switch(enable)set vlan vlan-num mod-num/port-list 9.在基于IOS的交換機上配置VLAN中繼線: switch(config)# interface interface mod/port switch(config-if)# switchport mode trunk

switch(config-if)# switchport trunk encapsulation {isl|dotlq} switch(config-if)# switchport trunk allowed vlan remove vlan-list switch(config-if)# switchport trunk allowed vlan add vlan-list 在基于CLI的交換機上配置VLAN中繼線:

switch(enable)set trunk module/port [on|off|desirable|auto|nonegotiate] Vlan-range [isl|dotlq|dotl0|lane|negotiate]

10.在基于IOS的交換機上配置VTP管理域: switch# vlan database

switch(vlan)# vtp domain domain-name 在基于CLI的交換機上配置VTP管理域: switch(enable)set vtp [domain domain-name] 11.在基于IOS的交換機上配置VTP 模式: switch# vlan database

switch(vlan)# vtp domain domain-name switch(vlan)# vtp {sever|cilent|transparent} switch(vlan)# vtp password password 在基于CLI的交換機上配置VTP 模式:

switch(enable)set vtp [domain domain-name] [mode{ sever|cilent|transparent }][password password] 12.在基于IOS的交換機上配置VTP版本: switch# vlan database

switch(vlan)# vtp v2-mode

在基于CLI的交換機上配置VTP版本: switch(enable)set vtp v2 enable

13.在基于IOS的交換機上啟動VTP剪裁: switch# vlan database switch(vlan)# vtp pruning

在基于CL I 的交換機上啟動VTP剪裁: switch(enable)set vtp pruning enable

14.在基于IOS的交換機上配置以太信道:

switch(config-if)# port group group-number [distribution {source|destination}] 在基于CLI的交換機上配置以太信道:

switch(enable)set port channel moudle/port-range mode{on|off|desirable|auto} 15.在基于IOS的交換機上調整根路徑成本:

switch(config-if)# spanning-tree [vlan vlan-list] cost cost 在基于CLI的交換機上調整根路徑成本:

switch(enable)set spantree portcost moudle/port cost

switch(enable)set spantree portvlancost moudle/port [cost cost][vlan-list] 16.在基于IOS的交換機上調整端口ID:

switch(config-if)# spanning-tree[vlan vlan-list]port-priority port-priority 在基于CLI的交換機上調整端口ID:

switch(enable)set spantree portpri {mldule/port}priority

switch(enable)set spantree portvlanpri {module/port}priority [vlans] 17.在基于IOS的交換機上修改STP時鐘:

switch(config)# spanning-tree [vlan vlan-list] hello-time seconds switch(config)# spanning-tree [vlan vlan-list] forward-time seconds ` switch(config)# spanning-tree [vlan vlan-list] max-age seconds 在基于CLI的交換機上修改STP時鐘:

switch(enable)set spantree hello interval[vlan] switch(enable)set spantree fwddelay delay [vlan] switch(enable)set spantree maxage agingtiame[vlan]

18.在基于IOS的交換機端口上啟用或禁用Port Fast 特征: switch(config-if)#spanning-tree portfast

在基于CLI的交換機端口上啟用或禁用Port Fast 特征:

switch(enable)set spantree portfast {module/port}{enable|disable} 19.在基于IOS的交換機端口上啟用或禁用UplinkFast 特征:

switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second] 在基于CLI的交換機端口上啟用或禁用UplinkFast 特征:

switch(enable)set spantree uplinkfast {enable|disable}[rate update-rate] [all-protocols off|on]

20.為了將交換機配置成一個集群的命令交換機,首先要給管理接口分配一個IP地址,然后使用下列命令: switch(config)# cluster enable cluster-name

21.為了從一條中繼鏈路上刪除VLAN,可使用下列命令: switch(enable)clear trunk module/port vlan-range 22.用show vtp domain 顯示管理域的VTP參數.23.用show vtp statistics顯示管理域的VTP參數.24.在Catalyst交換機上定義TrBRF的命令如下:

switch(enable)set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}] 25.在Catalyst交換機上定義TrCRF的命令如下:

switch(enable)set vlan vlan-num [name name] type trcrf

{ring hex-ring-num|decring decimal-ring-num} parent vlan-num

26.在創建好TrBRF VLAN之后,就可以給它分配交換機端口.對于以太網交換,可以采用如下命令給VLAN分配端口:

switch(enable)set vlan vlan-num mod-num/port-num

27.命令show spantree顯示一個交換機端口的STP狀態.28.配置一個ELAN的LES和BUS,可以使用下列命令: ATM(config)# interface atm number.subint multioint ATM(config-subif)# lane serber-bus ethernet elan-name 29.配置LECS:

ATM(config)# lane database database-name

ATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-address ATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-address ATM(lane-config-databade)# name …

30.創建完數據庫后,必須在主接口上啟動LECS.命令如下: ATM(config)# interface atm number

ATM(config-if)# lane config database database-name ATM(config-if)# lane config auto-config-atm-address

31.將每個LEC配置到一個不同的ATM子接口上.命令如下: ATM(config)# interface atm number.subint multipoint ATM(config)# lane client ethernet vlan-num elan-num 32.用show lane server 顯示LES的狀態.33.用show lane bus顯示bus的狀態.34.用show lane database顯示LECS數據庫可內容.35.用show lane client顯示LEC的狀態.36.用show module顯示已安裝的模塊列表.37.用物理接口建立與VLAN的連接: router# configure terminal

router(config)# interface media module/port router(config-if)# description description-string router(config-if)# ip address ip-addr subnet-mask router(config-if)# no shutdown

38.用中繼鏈路來建立與VLAN的連接:

router(config)# interface module/port.subinterface

router(config-ig)# encapsulation[isl|dotlq] vlan-number router(config-if)# ip address ip-address subnet-mask 39.用LANE 來建立與VLAN的連接: router(config)# interface atm module/port router(config-if)# no ip address

router(config-if)# atm pvc 1 0 5 qsaal router(config-if)# atm pvc 2 0 16 ilni

router(config-if)# interface atm module/port.subinterface multipoint router(config-if)# ip address ip-address subnet-mask router(config-if)# lane client ethernet elan-num

router(config-if)# interface atm module/port.subinterface multipoint router(config-if)# ip address ip-address subnet-name router(config-if)# lane client ethernet elan-name router(config-if)# …

40.為了在路由處理器上進行動態路由配置,可以用下列IOS命令來進行: router(config)# ip routing

router(config)# router ip-routing-protocol

router(config-router)# network ip-network-number router(config-router)# network ip-network-number 41.配置默認路由:

switch(enable)set ip route default gateway

42.為一個路由處理器分配VLANID,可在接口模式下使用下列命令: router(config)# interface interface number router(config-if)# mls rp vlan-id vlan-id-num 43.在路由處理器啟用MLSP: router(config)# mls rp ip

44.為了把一個外置的路由處理器接口和交換機安置在同一個VTP域中: router(config)# interface interface number

router(config-if)# mls rp vtp-domain domain-name 45.查看指定的VTP域的信息:

router# show mls rp vtp-domain vtp domain name

46.要確定RSM或路由器上的管理接口,可以在接口模式下輸入下列命令: router(config-if)#mls rp management-interface 47.要檢驗MLS-RP的配置情況: router# show mls rp

48.檢驗特定接口上的MLS配置:

router# show mls rp interface interface number

49.為了在MLS-SE上設置流掩碼而又不想在任一個路由處理器接口上設置訪問列表: set mls flow [destination|destination-source|full]

50.為使MLS和輸入訪問列表可以兼容,可以在全局模式下使用下列命令: router(config)# mls rp ip input-acl

51.當某個交換機的第3層交換失效時,可在交換機的特權模式下輸入下列命令: switch(enable)set mls enable

52.若想改變老化時間的值,可在特權模式下輸入以下命令: switch(enable)set mls agingtime agingtime 53.設置快速老化:

switch(enable)set mls agingtime fast fastagingtime pkt_threshold

54.確定那些MLS-RP和MLS-SE參與了MLS,可先顯示交換機引用列表中的內容再確定: switch(enable)show mls include 55.顯示MLS高速緩存記錄: switch(enable)show mls entry

56.用命令show in arp顯示ARP高速緩存區的內容。

57.要把路由器配置為HSRP備份組的成員,可以在接口配置模式下使用下面的命令: router(config-if)# standby group-number ip ip-address 58.為了使一個路由器重新恢復轉發路由器的角色,在接口配置模式下: router(config-if)# standy group-number preempt 59.訪問時間和保持時間參數是可配置的:

router(config-if)# standy group-number timers hellotime holdtime 60.配置HSRP跟蹤:

router(config-if)# standy group-number track type-number interface-priority 61.要顯示HSRP路由器的狀態:

router# show standby type-number group brief 62.用命令show ip igmp確定當選的查詢器。63.啟動IP組播路由選擇:

router(config)# ip muticast-routing 64.啟動接口上的PIM:

dalllasr1>(config-if)# ip pim {dense-mode|sparse-mode|sparse-dense-mode} 65.啟動稀疏-稠密模式下的PIM: router# ip multicast-routing router# interface type number router# ip pim sparse-dense-mode 66.核實PIM的配置:

dallasr1># show ip pim interface[type number] [count] 67.顯示PIM鄰居:

dallasr1># show ip neighbor type number 68.為了配置RP的地址,命令如下:

dallasr1># ip pim rp-address ip-address [group-access-list-number][override] 69.選擇一個默認的RP: dallasr1># ip pim rp-address

通告RP和它所服務的組范圍:

dallasr1># ip pim send-rp-announce type number scope ttl group-list access-list-number 為管理范圍組通告RP的地址:

dallasr1># ip pim send-rp-announce ethernet0 scope 16 group-list1 dallasr1># access-list 1 permit 266.0.0.0 0.255.255.255 設定一個RP映像代理:

dallasr1># ip pim send-rp-discovery scope ttl 核實組到RP的映像:

dallasr1># show ip pim rp mapping

dallasr1># show ip pim rp [group-name|group-address] [mapping]

70.在路由器接口上用命令ip multicast ttl-threshold ttl-value設定TTL閥值: dallasr1>(config-if)# ip multicast ttl-threshold ttl-value 71.用show ip pim neighbor顯示PIM鄰居表。72.顯示組播通信路由表中的各條記錄:

dallasr1>show ip mroute [group-name|group-address][scoure][summary][count][active kbps] 73.要記錄一個路由器接受和發送的全部IP組播包: dallasr1> #debug ip mpacket [detail] [access-list][group] 74.要在CISCO路由器上配置CGMP: dallasr1>(config-if)# ip cgmp

75.配置一個組播路由器,使之加入某一個特定的組播組: dallasr1>(config-if)# ip igmp join-group group-address 76.關閉 CGMP:

dallasr1>(config-if)# no ip cgmp 77.啟動交換機上的CGMP: dallasr1>(enable)set cgmp enable 78.核實Catalyst交換機上CGMP的配置情況: catalystla1>(enable)show config set prompt catalystla1>

set interface sc0 192.168.1.1 255.255.255.0 set cgmp enable

79.CGMP離開的設置:

Dallas_SW(enable)set cgmp leave

80.在Cisco設備上修改控制端口密碼: R1(config)# line console 0 R1(config-line)# login

R1(config-line)# password Lisbon R1(config)# enable password Lilbao R1(config)# login local

R1(config)# username student password cisco

81.在Cisco設備上設置控制臺及vty端口的會話超時: R1(config)# line console 0

R1(config-line)# exec-timeout 5 10 R1(config)# line vty 0 4

R1(config-line)# exec-timeout 5 2 82.在Cisco設備上設定特權級:

R1(config)# privilege configure level 3 username R1(config)# privilege configure level 3 copy run start R1(config)# privilege configure level 3 ping R1(config)# privilege configure level 3 show run R1(config)# enable secret level 3 cisco

83.使用命令privilege 可定義在該特權級下使用的命令: router(config)# privilege mode level level command 84.設定用戶特權級:

router(config)# enable secret level 3 dallas router(config)# enable secret san-fran

router(config)# username student password cisco 85.標志設置與顯示:

R1(config)# banner motd ‘unauthorized access will be prosecuted!’ 86.設置vty訪問:

R1(config)# access-list 1 permit 192.168.2.5 R1(config)# line vty 0 4

R1(config)# access-class 1 in 87.配置HTTP訪問:

Router3(config)# access-list 1 permit 192.168.10.7 Router3(config)# ip http sever

Router3(config)# ip http access-class 1

Router3(config)# ip http authentication local

Router3(config)# username student password cisco 88.要啟用HTTP訪問,請鍵入以下命令: switch(config)# ip http sever

89.在基于set命令的交換機上用setCL1啟動和核實端口安全:

switch(enable)set port security mod_num/port_num…enable mac address switch(enable)show port mod_num/port_num

在基于CiscoIOS命令的交換機上啟動和核實端口安全:

switch(config-if)# port secure [mac-mac-count maximum-MAC-count] switch# show mac-address-table security [type module/port] 90.用命令access-list在標準通信量過濾表中創建一條記錄:

Router(config)# access-list access-list-number {permit|deny} source-address [source-address] 91.用命令access-list在擴展通信量過濾表中創建一條記錄:

Router(config)# access-list access-list-number {permit|deny{protocol|protocol-keyword}}{source source-wildcard|any}{destination destination-wildcard|any}[protocol-specific options][log] 92.對于帶內路由更新,配置路由更新的最基本的命令格式是:

R1(config-router)#distribute-list access-list-number|name in [type number] 93.對于帶外路由更新,配置路由更新的最基本的命令格式是:

R1(config-router)#distribute-list access-list-number|name out [interface-name] routing-process| autonomous-system-number

94.set snmp命令選項:

set snmp community {read-only|ready-write|read-write-all}[community_string] 95.set snmp trap 命令格式如下: set snmp trap {enable|disable}

[all|moudle|classis|bridge|repeater| auth|vtp|ippermit|vmps|config|entity|stpx] set snmp trap rvcr_addr rcvr_community 96.啟用SNMP chassis 陷阱:

Console>(enable)set snmp trap enable chassis 97.啟用所有SNMP chassis 陷阱: Console>(enable)set snmp trap enable 98.禁用SNMP chassis 陷阱:

Console>(enable)set snmp trap disable chassis 99.給SNMP陷阱接收表加一條記錄:

Console>(enable)set snmp trap 192.122.173.42 public 100.show snmp 輸出結果。

101.命令set snmp rmon enable 的輸出結果。102.顯示SPAN信息: Consile> show span 一些華為路由器命令: 刪除設備配置

reset saved-configuration 重啟 reboot

看當前配置文件

display current-configuration 改設備名 sysname 保存配置 save

進入特權模式 sysview

華為只有2層模式 不像cisco enale之后還要conf t 定義acl

acl nubmere XXXX(3000以上)進入以后

rule permit/deny IP/TCP/UDP等 source XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX(反向)destination XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX(反向)eq 注意 華為默認沒有deny any any 防火墻上端口加載ACL

[Quidway-Ethernet0/0]firewall packet-filter 3000 inbound 防火墻上新增加用戶 local-user XXX(用戶名)password simple XXX(密碼)local-user XXX service-type ppp 刪除某條命令

undo(類似與cisco的no)靜態路由

ip route-static 0.0.0.0 0.0.0.0 XXX.XXX.XXX.XXX 對vpdn用戶設置acl的接口 inte***ce Virtual-Template1 查看路由表

display ip routing-table 設定telnet密碼

user-inte***ce vty 0 4 user privilege level 3

set authentication password simple XXX 啟動/關閉 啟動 un shut 關閉 shut 動態nat設置 acl number 3000

rule 0 permit ip source XXX.XXX.XXX.XXX rule 1 permit ip source XXX.XXX.XXX.XXX rule 2 permit ip source XXX.XXX.XXX.XXX inte***ce Ethernet1/0

des cription ====To-Internet(WAN)====

ip address XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX nat outbound 3000 ipsec policy policy1

利用acl來做 符合acl的IP地址可以出去(注意 此處的ACL隱含了deny any any)不符合的IP地址不可以出去 創建vlan

[shzb-crsw-s6506-1]vlan 100 華為vlan不支持name 將port放入vlan

創建了vlan后 進入vlan模式

[shzb-crsw-s6506-1-vlan100]port GigabitEthernet 1/0/1 to GigabitEthernet 1/0/8 表示從G1/0/1 到1/0/8放入VLAN 100 創建trunk

inte***ce GigabitEthernet1/0/1 duplex full speed 1000

* port link-type trunk

* port trunk permit vlan all port link-aggregation group 1

帶*號的是創建trunk鏈路的語句 vlan地址指定

inte***ce Vlan-inte***ce2 des cription server

ip address XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX vrrp vrid 2 virtual-ip XXX.XXX.XXX.XXX vrrp vrid 2 priority 120 vrrp vrid 2 preempt-mode timer delay 10 其中vrrp語句指定vrrp 類似與hsrp 使用vrrp要注意的是華為不支持pvst 只能一臺完全是主,一臺完全是備份 在主vrrp設備上要指定 stp instance 0 root primary stp TC-protection enable stp enable

在從vrrp設備上要指定 stp instance 0 root secondary stp TC-protection enable stp enable

交換機下面綁acl

首先進入接口模式,輸入qos命令

[shzb-crsw-s6506-1-GigabitEthernet1/0/1]qos 在輸入如下命令

[shzb-crsw-s6506-1-qoss-GigabitEthernet1/0/1]packet-filter inbound ip-group 3000 華為交換機只能指定inbound方向 啟用ospf

[shzb-crsw-s6506-1]ospf 100

[shzb-crsw-s6506-1-ospf-100]area 0

[shzb-crsw-s6506-1-ospf-100-area-0.0.0.0]network XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX 配置ospf重發布

[shzb-crsw-s6506-1-ospf-100-area-0.0.0.0]quit [shzb-crsw-s6506-1-ospf-100]import-route static

建立link-group(類似與cisco的channel-group)link-aggregation group 1 mode manual 然后進入接口

port link-aggregation group 1 啟用VRRP之前必須輸入 vrrp ping-enable

使得客戶能ping網關

第五篇:思科命令詳解及總結

查看當前運行配置(密碼)保存配置

Switch# show running-config Switch# write 對路由設置密碼(明文)

sw1(config)#line console 0 sw1(config-line)#password 密碼

sw1(config-line)#login 配置明文特權模式密碼

配置密文特權模式密碼

加密明文密碼

sw1(config)# enable password 密碼 sw1(config)# enable secret 密碼

sw1(config)# service password-encryption 路由器密碼恢復的思路

路由器啟動過程中不加載配置文件

修改配置寄存器的值為0x2142,啟動不加載配置文件 路由器密碼恢復步驟

啟動過程中按Ctrl+Breack中斷IOS加載 修改配置寄存器的值

rommon1>confreg 0x2142 rommon2>reset 正常啟動后,startup-config覆蓋running-config Router#copy startup-config running-config 修改密碼,并修改配置寄存器的值

Router(config)#enable secret cisco Router(config)#config-register 0x2102 交換機密碼恢復步驟

1.拔掉交換機的插頭,插上電源同時按住MODE鍵 2.出現“switch:” 初始化Flash 3.config.text改成config.old 4.重啟交換機

switch:flash_init

switch:rename flash:config.text flash:config.old switch:boot

switch# rename flash:config.old flash:config.text

5.把配置文件的名字改回來

配置管理IP地址

sw1(config)# interface vlan 1

sw1(config-if)# ip address 192.168.1.10 255.255.255.0 sw1(config-if)# no shutdown 配置VTY密碼

sw1(config)# line vty 0 4 sw1(config-line)# password 密碼

sw1(config-line)# login 默認網關的配置命令

Switch(config)# ip default-gateway ip-address 路由器上配置登錄FTP用戶名、密碼

Router(config)# ip ftp username benet Router(config)# ip ftp password cisco 備份路由器IOS 重啟交換機

主機綁定ARP

C:>arp-s 10.0.0.200 00-1a-64-a1-52-f0 C:>arp-a 交換機綁定ARP

Switch(conf ig)#arp 10.0.0.6 0019.2101.9211 arpa f0/2 Switch(conf ig)#arp 10.0.0.200 001a.64a1.52f0 arpa f0/1 Switch(conf ig)#arp 10.0.0.7 0013.240a.b219 arpa f0/3 Switch#show ip arp

VLAN配置 Switch#vlan database

全局模式

Switch(vlan)#vlan 名稱

Switch(vlan)#exit

Router# copy ftp flash Router# Boot

Switch(config)#vlan 編號 Switch(config-vlan)#name 名稱

Switch(vlan)#vlan 編號 name 名字 Switch(vlan)# no vlan 編號

Switch(config)# no vlan 編號 VLAN配置 Switch#vlan database 刪除VLAN Switch# vlan database 全局模式下刪除VLAN 將端口加入VLAN

Switch(config)# interface 配置端口

Switch# configure terminal

Switch(config-if)# switchport mode access

Switch(config-if)# switchport access vlan 編號(加入命令)Switch(config-if)# no switchport access vlan 編號(刪除命令)還原接口為默認配置狀態 Switch(config)# default interface 端口 所有VLAN的摘要信息 Trunk的配置 進入接口配置

選擇封裝類型

Switch# show vlan brief Switch(config)#interface 端口

Switch(config-if)#switchport trunk encapsulation {isl|dot1q| negotiate } 接口配置Trunk

Switch(config-if)#switchport mode {dynamic {desirable | auto} | trunk | access} 禁止Trunk傳送某個VLAN的數據,刪除這個VLAN Switch(config-if)#switchport trunk allowed vlan remove 編號 允許Trunk傳送某個VLAN的數據,添加這個VLAN Switch(config-if)#switchport trunk allowed vlan add 編號(默認允許全部VLAN的數據通過)配置接口為以太通道模式

Switch(config)# interface range f0/1 – 2(0/1-2捆綁的范圍端口)Switch(config-if-range)#channel-group 1 mode on(1以太網通道組號)

查看以太通道的配置 Switch# show etherchannel 1 summary(1是以太網通道組號)

單臂路由的配置 配置鏈路類型

SW1(config)#inter f0/1 SW1(config-if)#switchport access vlan 10 SW1(config)#inter f0/2 SW1(config-if)#switchport access vlan 20 SW1(config)#inter f0/24 SW1(config-if)#switchport mode trunk

子接口對應的VLAN 路由器配置

R1(config)#inter f0/0.1 R1(config-subif)#encapsulation dot1Q 10 R1(config)#inter f0/0.2 R1(config-subif)#encapsulation dot1Q 20 配置子接口地址

R1(config)#inter f0/0.1 R1(config-subif)#ip add 10.0.0.1 255.255.255.0 R1(config)#inter f0/0.2 R1(config-subif)#ip add 20.0.0.1 255.255.255.0

子接口對應VLAN的網關地址 子接口對應VLAN的網關地址

定義IP地址池 Router(config)#ip dhcp pool 地址池名稱

Router(dhcp-config)#network 網段 子網掩碼192.168.0.0 24 Router(dhcp-config)#default-router 網關 Router(dhcp-config)#dns-server DNS Router(dhcp-config)#lease days

Router(config)#ip dhcp excluded-address 預留ip 動態分配IP地址段 設定網關地址

為客戶端配置DNS地址 設定地址的租期

預留靜態分配的IP地址

? 服務器模式(Server)

? 可以創建、刪除和修改VLAN ? 學習、轉發相同域名的VTP通告

? 客戶機模式(Client)

? 學習、轉發相同域名的VTP通告 ? 不可以創建、刪除和修改VLAN ? 透明模式(Transparent)

? 可以創建、刪除和修改VLAN,但只在本地有效 ? 轉發但不學習VTP通告

三臺交換機做VTP服務,交換機A做發布端。交換機B/C 接受學習。配置如下(SWA2 3——23SWB22——22SWC)SWA配置:

SwA(config)# vtp domain test SwA(config)#vtp mode server

vtp域名稱test

vtp運行模式服務器模式

SwA(config)#interface fastEthernet 0/23 SwA(config-if)#switchport mode trunk

鏈接口做Trunk SWB配置:

SwB(config)#vtp domain test SwB(config)#vtp mode client

vtp域名稱相同test vtp運行模式學習模式

SwB(config)#interface fastEthernet 0/22

SwB(config-if)#switchport mode trunk SwB(config)#interface fastEthernet 0/23 SwB(config-if)#switchport mode trunk SWC配置:

SwC(config)#vtp domain test.SwC(config)#vtp mode client SwC(config)#interface fastEthernet 0/22 SwC(config-if)#switchport mode trunk Vtp域配置完成,對SWA進行配置SWB/C將同步配置

SwA(config)#vlan 2 SwA(config-vlan)#name sales SwA(config)#vlan 3 SwA(config-vlan)#name develop SwA(config)#interface range fastEthernet 0/215 SW-2L(config-if-range)#switchport access vlan 2 SW-2L(config-if-range)#switchport mode access SW-2L(config)#interface range f0/16-23 SW-2L(config-if-range)#switchport access vlan 3 SW-2L(config-if-range)#switchport mode access SW-2L(config)#interface f0/24

SW-2L(config-if)#switchport mode trunk 配置3層交換機 SW-3L(config)#vlan 2 SW-3L(config-vlan)#exit SW-3L(config)#vlan 3 SW-3L(config-vlan)#exit

SW-3L(config)#interface fastEthernet 0/24

SW-3L(config-if)#switchport trunk encapsulation dot1q SW-3L(config-if)#switchport mode trunk

SW-3L(config)#ip routing SW-3L(config)#interface vlan 1

SW-3L(config-if)#ip address 192.168.1.1 255.255.255.0 SW-3L(config-if)#no shut SW-3L(config)#interface vlan 2

SW-3L(config-if)#ip address 192.168.2.1 255.255.255.0 SW-3L(config-if)#no shut SW-3L(config)#interface vlan 3

SW-3L(config-if)#ip address 192.168.3.1 255.255.255.0 SW-3L(config-if)#no shut DHCP中繼配置

Switch(config-if)# ip helper-address DHCP—ip地址 SW-3L(config)#interface vlan 2

SW-3L(config-if)#ip address 192.168.2.1 255.255.255.0 SW-3L(config-if)#ip helper-address 192.168.100.100 SW-3L(config-if)#no shutdown

SW-3L(config)#interface vlan 3 SW-3L(config-if)#ip address 192.168.3.1 255.255.255.0 SW-3L(config-if)#ip helper-address 192.168.100.100 SW-3L(config-if)#no shutdown

SW-3L(config)#interface vlan 100 SW-3L(config-if)#ip address 192.168.100.1 255.255.255.0

SW-3L(config-if)#no shutdown

下載思科固件刷新個人總結word格式文檔
下載思科固件刷新個人總結.doc
將本文檔下載到自己電腦,方便修改和收藏,請勿使用迅雷等下載。
點此處下載文檔

文檔為doc格式


聲明:本文內容由互聯網用戶自發貢獻自行上傳,本網站不擁有所有權,未作人工編輯處理,也不承擔相關法律責任。如果您發現有涉嫌版權的內容,歡迎發送郵件至:645879355@qq.com 進行舉報,并提供相關證據,工作人員會在5個工作日內聯系你,一經查實,本站將立刻刪除涉嫌侵權內容。

相關范文推薦

    asp刷新頁面實現方式總結

    網頁刷新代碼-刷新頁面實現方式總結篇 自動刷新頁面的實現方法總結: 1) 10表示間隔10秒刷新一次 2) window.location.reload(true); 如果是你要刷新某一個iframe就把wind......

    思科中小企業網絡方案設計及相關產品培訓總結

    在校實習:思科中小企業網絡方案設計及相關產品培訓總結 一、發展趨勢和新概念 在培訓過程中,思科公司充分體現出自身的實力以及相關技術的先導性、創新性,分析出當今客戶需求是......

    思科與華為生成樹協議不兼容性總結

    (Cisco交換機支持的生成樹協議類型Cisco交換機所支持的生成樹協議類型分別有:PVST(Per VLAN Spanning Tree)、PVST+(Per VLAN Spanning Tree Plus)、Rapid-PVST+(Rapid Per VLAN S......

    個人總結

    2016年個人工作總結 時光的車輪無情的碾壓過生活的軌跡,轉眼間2016即將過去,迎來嶄新的2017。回想這一年的工作,感受頗多,有成功,有失誤 ,每一次成功都是成長,每一次失誤都是經歷。......

    個人總結

    個人總結 隨著時間飛快的流逝,對于上一學年的學生會工作也告一段落。想起剛加入院學生會時,我學到了太多的東西,更多的機會接觸更多的人和事,令我受益匪淺!從不適應到適應,從陌生......

    個人年度總結

    個人年度總結(一) 一年來,我熱衷于本職工作,嚴格要求自己,擺正工作位置,時刻保持謙虛、謹慎、律己的態度,在領導的關心栽培和同事們的幫助支持下,始終勤奮學習、積極進取,努力提高自......

    個人總結

    個人總結 首先我非常榮幸自己是中華保險的一名員工,轉眼來到中華保險已經三年多了,作為中華保險的一份子來說,首先感謝公司給我這個成長學習的機會,同時感謝各位領導在我這段時......

    個人總結

    干部考察材料范文——××同志考察材料… (2010-05-03 15:52:00)標簽: 雜談 轉載 原文地址:干部考察材料范文——××同志考察材料作者:桃源大仙 此文系作者發表在個人網站......

主站蜘蛛池模板: 色婷婷亚洲六月婷婷中文字幕| 奇米在线7777在线精品| 美女扒开大腿让男人桶| 国产精品人妻久久ai换脸| 国产 中文 亚洲 日韩 欧美| 久久精品国产亚洲av忘忧草18| 国产成人av片无码免费| 夜夜躁狠狠躁日日躁视频| 黑人大战欲求不满人妻| 精品久久久久久久无码人妻热| 99久热在线精品视频观看| 一本加勒比hezyo无码专区| 亚洲av乱码一区二区三区按摩| 正在播放强揉爆乳女教师| 国产日韩精品中文字无码| 日本丰满熟妇bbxbbxhd| 天堂国产一区二区三区| 国产日韩久久免费影院| 99久久精品无码一区二区三区| 国产成在线观看免费视频| 精品水蜜桃久久久久久久| 国产欧美精品一区二区色综合| 国产成人无码免费视频在线| 999久久久国产精品消防器材| 7777精品伊久久久大香线蕉| 国产成人精品视频网站| 国内精品久久人妻无码妲己| 欧美黑人巨大videos精品男男| 人妻少妇偷人无码精品av| 久久人人爽人人爽人人片| 无码专区视频中文字幕| 24小时日本在线www免费的| 国产成人美女视频网站| 日本体内she精高潮| 久久精品国产免费观看三人同眠| 伊人久久无码中文字幕| 天堂在线www天堂中文在线| 亚洲国产av无码精品无广告| 亚洲精品无码久久久| 麻豆国产97在线 | 欧美| 午夜dj视频在线观看完整版1|