![思科基本配置命令詳解.doc_第1頁](http://file.renrendoc.com/FileRoot1/2020-1/10/55e4ef03-f0ae-41e1-b7cf-165dc30aba16/55e4ef03-f0ae-41e1-b7cf-165dc30aba161.gif)
![思科基本配置命令詳解.doc_第2頁](http://file.renrendoc.com/FileRoot1/2020-1/10/55e4ef03-f0ae-41e1-b7cf-165dc30aba16/55e4ef03-f0ae-41e1-b7cf-165dc30aba162.gif)
![思科基本配置命令詳解.doc_第3頁](http://file.renrendoc.com/FileRoot1/2020-1/10/55e4ef03-f0ae-41e1-b7cf-165dc30aba16/55e4ef03-f0ae-41e1-b7cf-165dc30aba163.gif)
![思科基本配置命令詳解.doc_第4頁](http://file.renrendoc.com/FileRoot1/2020-1/10/55e4ef03-f0ae-41e1-b7cf-165dc30aba16/55e4ef03-f0ae-41e1-b7cf-165dc30aba164.gif)
![思科基本配置命令詳解.doc_第5頁](http://file.renrendoc.com/FileRoot1/2020-1/10/55e4ef03-f0ae-41e1-b7cf-165dc30aba16/55e4ef03-f0ae-41e1-b7cf-165dc30aba165.gif)
已閱讀5頁,還剩44頁未讀, 繼續(xù)免費閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
思科交換機基本配置實例講解思科交換機基本配置實例講解 目目 錄錄 1 基本概念介紹 基本概念介紹 2 2 密碼 登陸等基本配置 密碼 登陸等基本配置 2 3 CISCO 設(shè)備端口配置詳解設(shè)備端口配置詳解 8 4 VLAN 的規(guī)劃及配置的規(guī)劃及配置 13 4 1 核心交換機的相關(guān)配置核心交換機的相關(guān)配置 13 4 2 接入交換機的相關(guān)配置接入交換機的相關(guān)配置 25 5 配置交換機的路由功能 配置交換機的路由功能 30 6 配置交換機的 配置交換機的 DHCP 功能功能 31 7 常用排錯命令 常用排錯命令 32 1 基本概念介紹 基本概念介紹 IOS 互聯(lián)網(wǎng)操作系統(tǒng) 也就是交換機和路由器中用的操作系統(tǒng) VLAN 虛擬 lan VTP VLAN TRUNK PROTOCOL DHCP 動態(tài)主機配置協(xié)議 ACL 訪問控制列表 三層交換機 具有三層路由轉(zhuǎn)發(fā)能力的交換機 本教程中 后的藍色文字為注釋內(nèi)容 2 密碼 登陸等基本配置 密碼 登陸等基本配置 本節(jié)介紹的內(nèi)容為 cisco 路由器或者交換機的基本配置 在目前版本的 cisco 交換機或 路由器上的這些命令是通用的 本教程用的是 cisco 的模擬器做的介紹 一些具體的端口 顯示或許與你們實際的設(shè)備不符 但這并不影響基本配置命令的執(zhí)行 Cisco 3640 R4700 processor revision 0 xFF with 124928K 6144K bytes of memory Processor board ID 00000000 R4700 CPU at 100MHz Implementation 33 Rev 1 2 2 Ethernet interfaces 8 Serial interfaces DRAM configuration is 64 bits wide with parity enabled 125K bytes of NVRAM 8192K bytes of processor board System flash Read Write System Configuration Dialog Would you like to enter the initial configuration dialog yes no n 此處我們選擇 no 不進入他的初始化配置向?qū)?Press RETURN to get started 選擇 no 以后 提示你按回車鍵開始 此處我們需要按回車鍵 Mar 1 00 43 56 591 IP 5 WEBINST KILL Terminating DNS process Mar 1 00 43 58 379 SYS 5 RESTART System restarted Cisco IOS Software 3600 Software C3640 JK9O3S M Version 12 3 14 T7 RELEASE SOFTWARE fc2 Technical Support Copyright c 1986 2006 by Cisco Systems Inc Compiled Wed 22 Mar 06 21 46 by pwade Mar 1 00 43 58 411 SNMP 5 COLDSTART SNMP agent on host Router is undergoing a cold start Router 等顯示穩(wěn)定后 出現(xiàn)最初的提示符 注意提示符是 目前所處的狀態(tài)稱為用戶模式 Router 用戶模式 Router Router en 如果在當(dāng)前狀態(tài)下沒有重復(fù)的命令 我們可以用 TAB 鍵來補齊這條命令 主要目的 是為了便于閱讀 Router enable 進入特權(quán)模式 從用戶模式 user mode 進入到特權(quán)模式 exec mode 注意提示符的變化 提示符變?yōu)?Router conf t Router configure terminal 進入全局模式 說明 在特權(quán)模式下輸入 configure terminal 進入全局配置模式 global configuration mode 在這之下輸入的命令叫做全局命令 一旦輸入 將對整個 router 產(chǎn)生即時影響 如下 注意提 示符的變化 Router config exit 請注意提示符發(fā)生了改變 當(dāng)前的模式據(jù)叫做全局配置模式 Router conf Mar 1 00 44 26 491 SYS 5 CONFIG I Configured from console by console t 在輸入命 令的過程中 IOS 會出現(xiàn)一些即時提示 Enter configuration commands one per line End with CNTL Z Router config exit 退出當(dāng)前的全局配置模式的命令是 exit Router conf t 重新進入到全局配置模式 Enter configuration commands one per line End with CNTL Z Router config Mar 1 00 44 35 591 SYS 5 CONFIG I Configured from console by consolehos 這行是路由器 交換機 出現(xiàn)的一些即時提示 Router config hostname test 這條命令用來更改當(dāng)前設(shè)備的名字 名字中可包含設(shè)備的樓層 用途等信息 主要是為 了將來便于區(qū)分設(shè)備 test config 回車后我們就會發(fā)現(xiàn) 但前的設(shè)備的名字已經(jīng)發(fā)生了改變 變成了 test 了 test config enable pass 這條命令用來配置設(shè)備的登陸密碼 用 tab 鍵補齊后 再下一行顯示完整命令 test config enable password cisco 我們輸入這臺設(shè)備的登陸密碼為 cisco test config end 我們退回到全局配置模式 校驗一下剛才輸入的密 碼 test sh r 此命令的完整寫法是 show running start 此處的 sh r 用的是省略的寫法 因無其他重復(fù) 的命令所以可以被執(zhí)行 Building configuration Current configuration 1559 bytes version 12 3 service timestamps debug datetime msec service timestamps log datetime msec no service password encryption hostname test 注意此處顯示的是我們配置的設(shè)備的名字 boot start marker boot end marker enable password cisco 此處顯示的是剛才我們配置的 enable 密碼 注意此時是用明文顯示的 有點不安全 no aaa new model resource policy memory size iomem 5 ip subnet zero 到這一行其實并未全部顯示完配置的內(nèi)容 我們可以按鍵盤上的任意鍵來終止繼續(xù)顯示 在顯示的過程中通過按回車鍵可以逐行顯示 按空格鍵可以一頁一頁的顯示 這些操作可 在實際的設(shè)備中體會 test conf t 重新進入到全局配置模式 test config service pass test config service password encryption 利用這條命令給密碼加密顯示 test config end test sh r 退出到全局配置模式后 驗證剛才的配置 Building configuration Current configuration 1565 bytes version 12 3 service timestamps debug datetime msec service timestamps log datetime msec service password encryption hostname test boot start marker boot end marker enable password 7 070C285F4D06cisco 注意此處剛才明文顯示的密碼已經(jīng)變成加密顯示了 這樣從一定程度上保證了密碼的安 全 no aaa new model resource policy memory size iomem 5 ip subnet zero 驗證完畢后按任何一個鍵中斷顯示 下面的內(nèi)容說明終端登陸密碼的配置 test conf t Enter configuration commands one per line End with CNTL Z test config no service password encryption 可利用這條命令 前面加 no 來去掉密碼加密功能 cisco 的所有命令都可以通過這種 方式來禁止 test config line con test config line console 0 利用這條命令來配置用超級終端登陸時的一些參數(shù) test config line pass test config line password cisco 添加密碼 此處我們配置的密碼為 cisco test config line loggi test config line logging 在任何情況下如果你忘記了命令的相關(guān)參數(shù)可以用 來獲得提示和幫助 synchronous Synchronized message output test config line logging sy test config line logging synchronous 在我們進行配置時 IOS 會產(chǎn)生一些即時的提示信息 而這些信息會沖亂我們的光標顯 示 用這條命令可以將光標規(guī)矩在下一行 即使出現(xiàn)了一些即時的提示 test config line exit 退出當(dāng)前 console 口的參數(shù)配置 test config line vt telnet 登陸時相關(guān)參數(shù)的配置 此處用了 來尋求提示 First Line number aux Auxiliary line console Primary terminal line tty Terminal controller vty Virtual terminal x y Slot Port for Modems test config line vty 0 4 我們配置虛擬終端的 0 到 4 也就是同時允許 5 個用戶可以 telnet 到這臺設(shè)備上來 test config line pass test config line password cisco 我們配置 telnet 時的密碼為 cisco 如果此處我們不設(shè)置密碼 那么用 telnet 來登陸的時 候并不會以空密碼登陸 而是會給你提示說 相關(guān)密碼沒有設(shè)置 禁止登陸 所以我們?yōu)?了能遠程 telnet 到這臺設(shè)備 此處的密碼一定要設(shè)置好 test config line login 這條命令是允許通過 telnet 來登錄 test config line exit 退出當(dāng)前配置模式到全局配置模式 test config test config test conf s 我們在做配置的時候 會出現(xiàn)輸入錯誤的情況 在這種情況下 ios 會以為你輸入的是一 個域名 Translating s domain server 255 255 255 255 那么 ios 會做長時間的搜尋 試圖找到這個域名對應(yīng)的 ip 地址 Translating s domain server 255 255 255 255 這段時間是比較長的 那么我們?nèi)绾谓盟倪@個功能呢 Unknown command or computer name or unable to find computer address test conf t Enter configuration commands one per line End with CNTL Z test config no ip domain lookup 在全局配置模式下 將 ip 域名的搜尋功能關(guān)閉就可以了 test config end test conf Mar 1 01 40 46 895 SYS 5 CONFIG I Configured from console by console test conf x 將上述功能關(guān)閉以后 再有輸入錯誤的情況會直接提示你輸入錯誤 Invalid input detected at marker test test config ip domain name 202 102 128 68 如果有必要將設(shè)備配置上 DNS 功能的話就用這條命令 基本配置完畢后我們驗證一下所有的配置 test sh run Building configuration Current configuration 1693 bytes version 12 3 service timestamps debug datetime msec service timestamps log datetime msec service password encryption 密碼加密顯示功能打開 hostname test boot start marker boot end marker enable password 7 070C285F4D06 密碼被加密顯示了 no aaa new model resource policy memory size iomem 5 ip subnet zero ip cef no ip domain lookup 關(guān)閉了域名查找功能 no ip dhcp use vrf connected no ip ips deny action ips interface no ftp server write enable no crypto isakmp ccm 略 ip http server no ip http secure server ip classless control plane line con 0 exec timeout 0 0 password 7 094F471A1A0A 用超級終端登陸的密碼 也同樣被加密顯示 logging synchronous line aux 0 line vty 0 4 password 7 00071A150754 用 telnet 登陸的密碼 也同樣被加密顯示 login end test 3 cisco 設(shè)備端口配置詳解設(shè)備端口配置詳解 User Access Verification 從 dos 提示符下運行 telnet ip 地址 就會連接到相應(yīng)的交換機或者路由器 Password 輸入配置號的 telnet 密碼 也就是上節(jié)提到的 vtp 中的密碼 test en 進入特權(quán)模式 Password 輸入特權(quán)模式密碼 也就是上節(jié)提到的 enable 密碼 注意這些密 碼在輸入的時候屏幕是不顯示的 test test test sh ip int brief 查看當(dāng)前所有端口狀態(tài) 包括 vlan 和實際的物理接口狀態(tài) Interface IP Address OK Method Status Protocol 協(xié) 議 這行列示的各種狀態(tài)的名稱 FastEthernet1 unassigned 未分配 YES NVRAM down down Vlan1 192 168 113 254 YES NVRAM up up vlan1 的狀態(tài)是 active Vlan2 172 16 0 2 YES NVRAM up up Vlan10 192 168 101 254 YES NVRAM up up Vlan20 192 168 102 254 YES NVRAM up up Vlan30 192 168 103 254 YES NVRAM up up Vlan40 192 168 104 254 YES NVRAM up up Vlan50 192 168 105 254 YES NVRAM up up Vlan60 192 168 106 254 YES NVRAM up up Vlan70 192 168 107 254 YES NVRAM up up Vlan80 192 168 108 254 YES NVRAM up up Vlan100 192 168 110 254 YES NVRAM up up Vlan110 192 168 111 254 YES NVRAM up up Vlan120 192 168 112 254 YES NVRAM up up Vlan150 192 168 100 254 YES NVRAM up up Vlan160 192 168 115 254 YES NVRAM up up GigabitEthernet1 1 unassigned YES unset up up 物理接口 gi1 1 也是 active 狀態(tài) GigabitEthernet1 2 unassigned YES unset down down GigabitEthernet1 3 unassigned YES unset down down GigabitEthernet1 4 unassigned YES unset down down GigabitEthernet1 5 unassigned YES unset down down GigabitEthernet1 6 unassigned YES unset down down GigabitEthernet1 7 unassigned YES unset down down GigabitEthernet1 8 unassigned YES unset down down GigabitEthernet1 9 unassigned YES unset down down 說明 通過上述命令即可以查看當(dāng)前設(shè)備所有狀態(tài)的情況也可以查看端口的表示方式 在此例中我們登陸的是一臺 cisco4503 的三層交換機 其中 GigabitEthernet1 1 表示的是這 臺交換機上的第 1 塊業(yè)務(wù)板的第 1 個端口 并且此端口是個千兆端口 而 GigabitEthernet3 19 表示的是這臺交換機上的第 3 塊業(yè)務(wù)版的第 19 個端口 并且此端口也 是一個千兆端口 其他的端口以此類推 千兆端口的名稱為 GigabitEthernet 百兆端口的 名稱為 FastEthernet test conf t 進入到全局配置模式 要想對端口 vlan 路由等操作一定要到全局配置模式中來 Enter configuration commands one per line End with CNTL Z test config inter test config interface gi1 2進入 Gi1 2 端口 通過此命令可進去端口配置模式 此處我們進入的是 GigabitEthernet1 2 口 gi1 2 為簡寫 test config if 回車后進入到端口配置模式 注意提示符的變化 輸入 尋求在這個模式著那個的幫助 Interface configuration commands access group Access group configuration arp Set arp type arpa probe snap or timeout auto Configure Automation backup Modify backup parameters bandwidth Set bandwidth informational parameter bgp policy Apply policy propogated by bgp community string carrier delay Specify delay for interface transitions cdp CDP interface subcommands channel group Etherchannel port bundling configuration channel protocol Select the channel protocol LACP PAgP dampening Enable event dampening default Set a command to its defaults delay Specify interface throughput delay description Interface specific description dot1x Interface Config Commands for 802 1x duplex Configure duplex operation exit Exit from interface configuration mode flow sampler Attach flow sampler to the interface flowcontrol Configure flow operation help Description of the interactive help system ip Interface Internet Protocol config commands isis IS IS commands iso igrp ISO IGRP interface subcommands keepalive Enable keepalive l2protocol tunnel Tunnel Layer2 protocols lacp LACP interface subcommands load interval Specify interval for load calculation for an interface logging Configure logging for interface loopback Configure internal loopback on an interface mac MAC interface commands macro Command macro max reserved bandwidth Maximum Reservable Bandwidth on an Interface mtu Set the interface Maximum Transmission Unit MTU no Negate a command or set its defaults pagp PAgP interface subcommands power Power configuration qos QoS configuration rmon Configure Remote Monitoring on an interface service policy Configure QoS Service Policy shutdown Shutdown the selected interface snmp Modify SNMP interface parameters spanning tree Spanning Tree Subsystem speed Configure speed operation storm control storm configuration switchport Set switching mode characteristics timeout Define timeout values for this interface transmit interface Assign a transmit interface to a receive only interface tx queue Configure interface transmit queue udld Configure UDLD enabled or disabled and ignore global UDLD setting vlan range config vlan test config if spe test config if speed 我們可指定這個端口的速度 比如這個端口接的是一個百兆的收發(fā)器 我們就可以強制 將此端口設(shè)置成 100M 10 Force 10 Mbps operation 強制此端口為 10M 100 Force 100 Mbps operation 強制此端口為 100M 1000 Force 1000 Mbps operation 強制此端口為 1000M auto Enable AUTO speed configuration 允許速度自動協(xié)商 test config if speed 100 通過此命令就可將此端口強制設(shè)成 100M 默認的狀態(tài)下是 auto test config if dup test config if duplex 用此命令可配置此端口的雙工模式 有 3 個選項供選擇 auto Enable AUTO duplex configuration 自動配置此端口的雙工模式 full Force full duplex operation 強制此端口為全雙工模式 half Force half duplex operation 強制此端口為半雙工模式 test config if duplex auto test config if end 用 end 命令可直接退回到特權(quán)模式 用 exit 是一層一層的退出 test ter test terminal moni test terminal monitor 打開終端監(jiān)控 當(dāng)用 telnet 登陸的時候默認是不顯示各端口的實時變化情況的 打開這 個功能就能實時的看到這臺交換機上哪個端口 up 哪個端口 down 這對于排錯的時候是 很有幫助的 test conf t Enter configuration commands one per line End with CNTL Z test config int gi1 2 重新回到端口配置模式 test config if shut 此命令可手工關(guān)閉此端口 test config if no shut 此命令為打開此端口 test config if switchport access vlan 這條命令可配置此端口屬于哪個 vlan 當(dāng)然此 vlan 要事先建好 VLAN ID of the VLAN when this port is in access mode dynamic When in access mode this interfaces VLAN is controlled by VMPS test config if switchport access vlan 100 我們配置此端口屬于 vlan100 如果此端口事先屬于其他 vlan 那么 會從其他 vlan 退出 test config if exit test config int rang 亦可成批的配置端口 利用這個命令 test config int range gi 1 1 5 表示同時對 gi1 1 到 gi1 5 這 5 個端口進行操作 注意命令 1 5 之間有空格 test config if range switchport access vlan 100 可同時配置這 5 個端口屬于 vlan100 test config if range shutdown 可同時關(guān)閉這 5 個端口 test config if range no shutdown 可同時啟用這 5 個端口 test config if range exit test config if end test test sh int gi1 2 在特權(quán)模式中 可查看單個端口的狀 態(tài) GigabitEthernet1 2 is down line protocol is down notconnect 這行說明此端口當(dāng)前的狀態(tài)是 down 的 Hardware is Gigabit Ethernet Port address is 001a 6db4 a3c1 bia 001a 6db4 a3c1 此端口的 MAC 地址 MTU 1500 bytes BW 1000000 Kbit DLY 10 usec reliability 255 255 txload 1 255 rxload 1 255 Encapsulation ARPA loopback not set Keepalive set 10 sec Auto duplex Auto speed link type is auto media type is 10 100 1000 TX 此端口的模式為 10 100 1000 TX input flow control is off output flow control is off ARP type ARPA ARP Timeout 04 00 00 Last input never output never output hang never Last clearing of show interface counters never Input queue 0 2000 0 0 size max drops flushes Total output drops 0 Queueing strategy fifo Output queue 0 40 size max 5 minute input rate 0 bits sec 0 packets sec 5 minute output rate 0 bits sec 0 packets sec 0 packets input 0 bytes 0 no buffer Received 0 broadcasts 0 multicast 0 runts 0 giants 0 throttles 0 input errors 0 CRC 0 frame 0 overrun 0 ignored 0 input packets with dribble condition detected 0 packets output 0 bytes 0 underruns 0 output errors 0 collisions 0 interface resets 0 babbles 0 late collision 0 deferred 0 lost carrier 0 no carrier 0 output buffer failures 0 output buffers swapped out test sh int gi1 1 GigabitEthernet1 1 is up line protocol is up connected 這行表明此端口是 up 的 并且連有網(wǎng)線 Hardware is Gigabit Ethernet Port address is 001a 6db4 a3c0 bia 001a 6db4 a3c0 MTU 1500 bytes BW 1000000 Kbit DLY 10 usec reliability 255 255 txload 1 255 rxload 1 255 Encapsulation ARPA loopback not set Keepalive set 10 sec Full duplex 1000Mb s link type is auto media type is 10 100 1000 TX input flow control is off output flow control is off ARP type ARPA ARP Timeout 04 00 00 Last input never output never output hang never Last clearing of show interface counters never Input queue 0 2000 0 0 size max drops flushes Total output drops 0 Queueing strategy fifo Output queue 0 40 size max 5 minute input rate 1293000 bits sec 426 packets sec 5 minute output rate 2410000 bits sec 528 packets sec 273591244 packets input 142285545179 bytes 0 no buffer Received 0 broadcasts 0 multicast 0 runts 0 giants 0 throttles 0 input errors 0 CRC 0 frame 0 overrun 0 ignored 沒有輸入錯誤 表明鏈路狀態(tài)良 好 0 input packets with dribble condition detected 335026620 packets output 223732323465 bytes 0 underruns 輸出數(shù)據(jù)包統(tǒng)計 0 output errors 0 collisions 0 interface resets 0 babbles 0 late collision 0 deferred 0 lost carrier 0 no carrier 0 output buffer failures 0 output buffers swapped out test test test test wr 保存剛才的配置結(jié)果 4 vlan 的規(guī)劃及配置的規(guī)劃及配置 在本節(jié)中我們講解 vlan 的規(guī)劃及具體的配置命令 在此例中我們用的是 vtp VLAN Trunking Protocol server 的模式 在這種模式中我們需要配置核心交換機的 vtp 模式為 server 各接入交換機的 vtp 模式為 cilent 那么配置完成后接入交換機就會通過 trunk 口自 動從核心交換機學(xué)習(xí)到所有的 vlan 配置信息 在接入交換機中只需要添加相應(yīng)的端口即可 這樣易于管理與部署 具體的配置命令我們通過兩小節(jié)來演示 4 1 核心交換機的相關(guān)配置核心交換機的相關(guān)配置 這是一臺已經(jīng)配置好了的交換機 但這并不會影響我們的演示效果 所有我們新作的配 置會在演示結(jié)束后清除 TEST sh vlan 顯示已經(jīng)有的 vlan 信息 并且同時顯示了各端口所屬的 vlan VLAN Name Status Ports 1 default active Gi1 2 Gi1 3 Gi1 4 Gi1 5 Gi1 6 Gi1 7 Gi1 8 Gi1 9 Gi1 10 Gi1 11 Gi1 13 Gi1 14 Gi1 16 Gi1 17 Gi1 18 Gi1 19 Gi1 20 Gi3 12 Gi3 13 Gi3 16 2 firewall active Gi1 1 10 Engineering active Gi3 9 Gi3 10 20 Procurement active Gi3 19 30 QAQC active 40 Operation active 50 Yard active Gi3 18 60 BM active 70 HRAD active 80 Facility active 100 Finance active 110 GO active 120 Wlan active 150 Server active Gi3 1 Gi3 2 Gi3 3 Gi3 4 Gi3 5 Gi3 6 Gi3 7 Gi3 8 160 Client active Gi3 11 Gi3 15 從這行往下是為其他協(xié)議預(yù)留的 vlan 號段 這些不必理會 1002 fddi default act unsup 1003 token ring default act unsup 1004 fddinet default act unsup 1005 trnet default act unsup VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 1 enet 100001 1500 0 0 2 enet 100002 1500 0 0 10 enet 100010 1500 0 0 20 enet 100020 1500 0 0 30 enet 100030 1500 0 0 40 enet 100040 1500 0 0 50 enet 100050 1500 0 0 60 enet 100060 1500 0 0 70 enet 100070 1500 0 0 80 enet 100080 1500 0 0 100 enet 100100 1500 0 0 110 enet 100110 1500 0 0 120 enet 100120 1500 0 0 150 enet 100150 1500 0 0 160 enet 100160 1500 0 0 1002 fddi 101002 1500 0 0 1003 tr 101003 1500 0 0 1004 fdnet 101004 1500 ieee 0 0 TEST conf Configuring from terminal memory or network terminal t Enter configuration commands one per line End with CNTL Z TEST config vlan 200 我們新建一個 vlan 號為 200 的 vlan TEST config vlan name test 給這個 vlan 命名 這樣便于日常的管理 TEST config vlan VLAN configuration commands are Maximum number of All Route Explorer hops for this VLAN or zero if none specified backupcrf Backup CRF mode of the VLAN bridge Bridging characteristics of the VLAN exit Apply changes bump revision number and exit mode media Media type of the VLAN mtu VLAN Maximum Transmission Unit name Ascii name of the VLAN 剛才我們就是用的這條命令 no Negate a command or set its defaults parent ID number of the Parent VLAN of FDDI or Token Ring type VLANs private vlan Configure a private VLAN remote span Configure as Remote SPAN VLAN ring Ring number of FDDI or Token Ring type VLANs said IEEE 802 10 SAID shutdown Shutdown VLAN switching state Operational state of the VLAN ste Maximum number of Spanning Tree Explorer hops for this VLAN or zero if none specified stp Spanning tree characteristics of the VLAN tb vlan1 ID number of the first translational VLAN for this VLAN or zero if none tb vlan2 ID number of the second translational VLAN for this VLAN or zero if none TEST config vlan END 建好 vlan 后退出到特權(quán)模式中 TEST show ip int brief 顯示目前有的端口配置狀態(tài) 我們會發(fā)現(xiàn)此時并沒有 vlan200 的相關(guān)信息 Interface IP Address OK Method Status Protocol FastEthernet1 unassigned YES NVRAM down down Vlan1 192 168 113 254 YES NVRAM up up Vlan2 172 16 0 2 YES NVRAM up up Vlan10 192 168 101 254 YES NVRAM up up Vlan20 192 168 102 254 YES NVRAM up up Vlan30 192 168 103 254 YES NVRAM up up Vlan40 192 168 104 254 YES NVRAM up up Vlan50 192 168 105 254 YES NVRAM up up Vlan60 192 168 106 254 YES NVRAM up up Vlan70 192 168 107 254 YES NVRAM up up Vlan80 192 168 108 254 YES NVRAM up up Vlan100 192 168 110 254 YES NVRAM up up Vlan110 192 168 111 254 YES NVRAM up up Vlan120 192 168 112 254 YES NVRAM up up Vlan150 192 168 100 254 YES NVRAM up up Vlan160 192 168 115 254 YES NVRAM up up GigabitEthernet1 1 unassigned YES unset up up GigabitEthernet1 2 unassigned YES uns
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 室內(nèi)設(shè)計承包合同書
- 投資合作意向協(xié)議書
- 優(yōu)化辦公效率實施方案大全
- 網(wǎng)絡(luò)安全服務(wù)合作框架協(xié)議
- Unit 6 Section A (1a-2c) 教學(xué)設(shè)計2024-2025學(xué)年人教新目標八年級英語下冊
- 魯教版九年級化學(xué)第十單元《化學(xué)與健康》(同步教學(xué)設(shè)計)
- 第12課《臺階》教學(xué)設(shè)計-2023-2024學(xué)年統(tǒng)編版語文七年級下冊
- 第24課《寓言四則》之《赫爾墨斯和雕像者》讀寫課教學(xué)設(shè)計 2024-2025學(xué)年 統(tǒng)編版(2024)七年級上冊語文
- 北京市家庭居室裝飾裝修工程合同8篇
- 第八單元課題3金屬資源的利用和保護教學(xué)設(shè)計-2024-2025學(xué)年九年級化學(xué)人教版(2024)下冊
- 髖關(guān)節(jié)置換術(shù)后并發(fā)癥
- 我的家鄉(xiāng)安徽淮北城市介紹課件
- 2024年青田中小學(xué)教師招聘真題
- 技術(shù)標編制要求及注意事項
- 部編人教版八年級語文下冊全冊課件
- 2024電動汽車用鋰離子動力電池包和系統(tǒng)電性能試驗方法
- DZT 0447-2023 巖溶塌陷調(diào)查規(guī)范(1:50000)
- 洗煤廠安全規(guī)程培訓(xùn)
- JC-T 746-2023 混凝土瓦標準規(guī)范
- 企業(yè)微信指導(dǎo)手冊管理員版
- 實踐教學(xué)與實訓(xùn)教學(xué)
評論
0/150
提交評論