<em id="0a85b"><option id="0a85b"></option></em>

<abbr id="0a85b"></abbr>

      <nobr id="0a85b"></nobr>
        <tr id="0a85b"></tr>
        9久久伊人精品综合,亚洲一区精品视频在线,成 人免费va视频,国产一区二区三区黄网,99国产精品永久免费视频,亚洲毛片多多影院,精品久久久无码人妻中文字幕,无码国产欧美一区二区三区不卡
        學習啦 > 學習電腦 > 電腦硬件知識 > 外接設備 >

        戴爾交換機配置命令大全

        時間: 加城1195 分享

          交換機除了能夠連接同種類型的網絡之外,還可以在不同類型的網絡(如以太網和快速以太網)之間起到互連作用。這篇文章主要介紹了DELL6224交換機基本配置命令一覽,需要的朋友可以參考下

          具體介紹

          1:配置登錄用戶,口令等

          console> //用戶直行模式提示符

          console>enable //進入特權模式

          console# //特權模式(配置密碼后必須輸入密碼才可進入特 權模式)

          console#config //進入全局配置模式 configure

          console(config)# //配置模式提示符

          console(config)#exit //還有一個命令是end也和exit差不多

          console#quit

          console>

          console(config)#hostname xxx //設置主機名成為xxx這里使用console

          console(config)#enable password xxx //設置使能口令為明文顯示為xxx,必須不少于8字符遠程telnet的時候起作用本地通過console口不需要密碼的

          console(config)#username zy password 12345678 level 15 //定義交換機的用戶名以及對應的權限。

          console(config)#line console //進入console口配置視圖,這里可以設置通過超級終端訪問交換機的一些參數

          console(config-line)#enable authentication default //配置訪問角色為默認

          console(config-line)#exec-timeout <0-65535> minutes // 設置console口自動關閉時間,以分鐘為單位

          console(config-line)#speed 9660 //設置訪問速率,一般9660為默認設置。

          console(config-line)#password xxxx //不少于八位的密碼用來訪問console,與enable password xxx,差不多

          console(config-line)#no password //刪除password密碼

          console(config-line)#exit //退出console口配置視圖

          console(config)#line telnet //進入telnet配置視圖

          console(config-telnet)#enable authentication default //配置訪問角色為默認

          console(config-telnet)#exec-timeout <0-65535> minutes // 設置telnet訪問閑置自動關閉時間,以分鐘為單位

          console(config-telnet)#password xxxx //不少于八位的密碼用來訪問telnet

          console(config-telnet)#no password //刪除password密碼

          console(config-telnet)#exit //退出telnet口配置視圖

          console(config)#line ssh //進入ssh配置視圖

          console(config-ssh)#enable authentication default //配置訪問角色為默認

          console(config-ssh)#exec-timeout <0-65535> minutes // 設置ssh訪問閑置自動關閉時間,以分鐘為單位

          console(config-ssh)#password xxxx //不少于八位的密碼用來訪問ssh

          console(config-ssh)#no password //刪除password密碼

          console(config-ssh)#exit //退出ssh口配置視圖

          2:cisco2960 VLan設置

          console> enable //進入特權模式

          console#configure //進入配置視圖

          console(config)#vlan database //進入vlan設置

          console(config-vlan)#vlan 2 //創建vlan 2

          console(config-vlan)#no vlan 2 v //刪除vlan 2

          console(config-vlan)#exit //回到特權模式下

          console(config)#interface vlan 2 //進入vlan2配置視圖

          console(config-if-vlan2)#name xxx //為vlan取名字

          端口設置命令:

          console(config)#interface ethernet 1/g1 //進入網口1,/1/g1指的是第一個插槽上的第一個千兆網口

          console(config-if-1/g1)# //接口視圖模式

          console(config-if-1/g1)#speed 10/100/1000 //定義端口的帶寬,只能從這三種模式中做選擇。

          console(config-if-1/g1)#duplex full/half //定義雙工模式

          console(config-if-1/g1)#negotiation //啟用自動協商速度和雙工參數

          console(config-if-1/g1)#no negotiation //禁用自動協商速度和雙工參數

          console(config-if-1/g1)#switchport mode access/trunk/general //定義端口類型,總共有三種類型

          console(config-if-1/g1)#switchport access vlan 2 //將端口以access模式加入到vlan 2中

          console(config-if-1/g1)#shutdown //關閉當前端口

          console(config-if-1/g1)#no shutdown //打開當前端口

          console(config)#interface ethernet 1/g24 //進入匯聚千兆口24,共有4個千兆combo口21-24

          console(config-if-1/g24)#

          console(config-if-1/g24)#duplex auto/full/half //設置端口工作模式為 自適應/全雙通/半雙通

          console(config-if-1/g24)#switchport mode trunk //設置當前端口模式為匯聚口

          console(config-if-1/g24)#switchport mode access //設置當前端口模式為接入模式

          console(config-if-1/g24)#switchport trunk allowed vlan add/remove 1,2 //將當前匯聚端口加入或移除從vlan1,2通過,vlan修剪,默認為all,全部允許

          console(config-if-1/g24)#switchport access vlan 2 //將當前端口以access模式加入到vlan 2中

          若21-24號口用作光口的話配置接口就對應1/xg1-1/xg4代表使用光線做10G上聯口用:

          console(config)#interface ethernet 1/xg1 //進入匯聚萬兆口1,共有4個千兆combo口21-24對應四個1/xg1-1/xg4萬兆光口

          console(config-if-1/xg1)#

          console(config-if-1/xg1)#duplex auto/full/half //設置端口工作模式為 自適應/全雙通/半雙通

          console(config-if-1/xg1)#switchport mode trunk //設置當前端口模式為匯聚口

          console(config-if-1/xg1)#switchport mode access //設置當前端口模式為接入模式

          console(config-if-1/xg1)#switchport trunk allowed vlan add/remove 1,2 //將當前匯聚端口加入或移除從vlan1,2通過,vlan修剪,默認為all,全部允許

          console(config-if-1/xg1)#switchport access vlan 2 //將當前端口以access模式加入到vlan 2中

          將端口加入vlan

          console(config)#interface ethernet 1/g1

          console(config-if-1/g1)#switchport mode access

          console(config-if-1/g1)#switchport access vlan 2

          將多個端口加入到VLAN中

          console(config)#interface range ethernet 1/g1-1/g12 //進入1-12這個接口組里配置

          console(config-if)#switchport mode access

          console(config-if)#switchport access vlan 2

          console#show vlan //用于查看配置后結果

          3:設置VTP cisco專有的vlan終極協議也成為局域網干道協議,作用是十幾臺交換機在企業網中,配置VLAN工作量大,可以使用VTP協議,把一臺交換機配置成VTP Server, 其余交換機配置成VTP Client,這樣他們可以自動學習到server 上的VLAN 信息

          4:交換機配置IP地址

          console(config)#interface vlan 1 //進入vlan 1

          console(config-if-vlan1)#ip address 119.167.223.221 255.255.255.128 //設置交換機的管理ip地址

          console(config)#ip default-gateway 119.167.223.254 //設置交換機的默認網關

          console(config)#end //退出當前模式

          5: 交換機保存設置命令

          console#copy running-config startup-config //將當前正在使用中的配置保存到交換機開機需要加載的配置文件里去。

          console#copy running-config backup-config //將當前的配置保存在備份配置文件里

          6:交換機顯示命令

          特權模式下:

          console#show running-config //顯示當前正在使用的配置信息

          console#show startup-config //交換機開機是自動加載的 配置文件

          console#show vlan //顯示vlaner配置信息

          console#show interfaces configuration ethernet 1/g1 //顯示二層端口狀態,可以用來決定此口是否為二層或三層口

          console#show ip interface vlan100 //查看交換機vlan100的ip配置信息

          console#show version //查看交換機固件版本信息

          7:基于端口的mac地址綁定

          console#config //進入配置視圖模式

          console(config)#interface ethernet 1/g1 //進入具體端口視圖模式下

          console(config-if-1/g1)#switchport port-secruity //配置端口安全模式

          console(config-if-1/g1)#switchport port-secruity mac-address MAC(主機的mac地址) //配置該端口要綁定的主機的MAC地址

          console(config-if)#no switchport port-secruity mac-address MAC(主機的mac地址) //刪除綁定主機的mac地址

          8:配置交換機的snmp功能

          console(config)#snmp-server community xxx ro //xxx為自定義的共同體名稱,并且團體的權限為只讀。

          console(config)#snmp-server host x.x.x.x(ip地址) xxx(團體名) //設置管理機x.x.x.x,同時允許該管理機以團體明xxx訪問。

          console(config)#snmp-server host 119.167.223.221 zy //例子

          console(config)#snmp-server enable traps //啟用snmp服務

          9:交換機禁ping配置

          console(config)#access-list 110 deny icmp any any //配置訪問控制列表(Access Control List,ACL)110指的ICMP對應ping。

          console(config)#access-list 110 permit ip any any //運行所有的IP協議的應用

          console(config)#int vlan 1

          console(config-if-vlan1)#ip access-group 110 in

          console(config)#int vlan 2

          console(config-if-vlan2)#ip access-group 110 in

          console(config)#int vlan 3

          console(config-if-vlan3)#ip access-group 110 in

          console(config)#interface ethernet 1/g1 //端口禁ping

          console(config-if-1/g1)#ip access-group 110 in

          10:恢復交換機出廠設置

          console#clear config //恢復交換機出廠設置

          console#reload //重新啟動交換機

          相關閱讀:交換機工作原理過程

          交換機工作于OSI參考模型的第二層,即數據鏈路層。交換機內部的CPU會在每個端口成功連接時,通過將MAC地址和端口對應,形成一張MAC表。在今后的通訊中,發往該MAC地址的數據包將僅送往其對應的端口,而不是所有的端口。因此,交換機可用于劃分數據鏈路層廣播,即沖突域;但它不能劃分網絡層廣播,即廣播域。

          交換機擁有一條很高帶寬的背部總線和內部交換矩陣。交換機的所有的端口都掛接在這條背部總線上,控制電路收到數據包以后,處理端口會查找內存中的地址對照表以確定目的MAC(網卡的硬件地址)的NIC(網卡)掛接在哪個端口上,通過內部交換矩陣迅速將數據包傳送到目的端口,目的MAC若不存在,廣播到所有的端口,接收端口回應后交換機會“學習”新的MAC地址,并把它添加入內部MAC地址表中。使用交換機也可以把網絡“分段”,通過對照IP地址表,交換機只允許必要的網絡流量通過交換機。通過交換機的過濾和轉發,可以有效的減少沖突域,但它不能劃分網絡層廣播,即廣播域。


        戴爾交換機配置命令大全相關文章:

        1.戴爾電腦顯示器和主機怎么連接

        2.戴爾電腦連不上無線該怎么辦

        3.dell臺式電腦定時開機設置教程

        4.戴爾臺式機型號怎么樣查看

        5.H3C交換機配置本地登錄和遠程登錄的用戶名和密碼教程

        4051706 主站蜘蛛池模板: 国产无套粉嫩白浆在线精品| 你懂的亚洲一区二区三区| 18禁免费无码无遮挡不卡网站| 午夜福利不卡片在线播放免费| 色综合一本到久久亚洲91| 久久精品免视看国产成人| 久久这里只精品热免费99| 在线 国产 欧美 专区| 3d无码纯肉动漫在线观看| 在线 欧美 中文 亚洲 精品| 秋霞国产av一区二区三区| 92国产精品午夜福利免费| 999福利激情视频| JIZZJIZZ国产| 欧美激情视频一区二区三区免费| 黑人巨茎大战俄罗斯美女| bt天堂新版中文在线| 色婷婷国产精品视频| 亚洲高清 一区二区三区| 老司机导航亚洲精品导航 | 久久这里只有精品少妇| 成年女人碰碰碰视频播放| 欧美成人免费看片一区| 欧美人与禽2o2o性论交| 中文字幕日韩精品欧美一区| 高清破外女出血AV毛片| 午夜性刺激免费在线| 国产老熟女乱子一区二区| 亚洲色大成网站www久久九九| 一个色的导航| 国产乱码一区二区三区免费| 无码人妻丰满熟妇啪啪| 亚洲国模精品一区二区| 老牛精品亚洲成av人片| 亚洲午夜爱爱香蕉片| 亚洲欧美国产另类视频| 伊人久久大香线蕉AV网禁呦 | 亚洲av首页在线| 在线日韩一区二区| 精品国产午夜福利在线观看| 老太大性另类xxxⅹ|