學習啦>學習電腦>網絡知識>網絡基礎知識>《核心交換機怎么配置》正文

核心交換機怎么配置

時間:2015-10-13 13:38:25本文內容及圖片來源于讀者投稿,如有侵權請聯系[email protected] 孫勝龍 我要投稿

  核心交換機這個詞對于我們來說太過于陌生了,但是它在我們的網絡生活中起到了非常必要的作用。小兔來簡單的做個比喻,我們可以將核心交換機比喻為一個大型的路由器,它可以將網絡覆蓋到各個電腦,不過它的覆蓋范圍則是路由器的幾百倍甚至幾千倍。可以說沒有它的存在就沒有網絡的傳播,我們便沒有網絡的使用,這么神奇的機器就由學習啦小編來講解它的配置。

  System-view 一、激活combo端口,啟用DHCP interface GigabitEthernet0/0/5 undo shutdown interface GigabitEthernet0/0/6 undo shutdown interface GigabitEthernet0/0/7 undo shutdown interface GigabitEthernet0/0/8 undo shutdown dhcp enable

  二、建立vlan Vlan1防火墻用(端口27-28) Vlan20服務器用(端口15-26) Vlan2-9保持不變(端口5-12) Vlan10-11原Vlan1計算機使用(端口13-14)

  Vlan 1 interface Vlan-interface1 ip address 10.0.1.1 255.255.255.0 dhcp select server global-pool

  Vlan 2 interface Vlan-interface2 ip address 10.0.2.1 255.255.255.0 dhcp select server global-pool

  Vlan 3 interface Vlan-interface3 ip address 10.0.3.1 255.255.255.0 dhcp select server global-pool

  Vlan 4 interface Vlan-interface4 ip address 10.0.4.1 255.255.255.0 dhcp select server global-pool

  Vlan 5 interface Vlan-interface5 ip address 10.0.5.1 255.255.255.0 dhcp select server global-pool

  Vlan 6 interface Vlan-interface6 ip address 10.0.6.1 255.255.255.0 dhcp select server global-pool

  Vlan 7 interface Vlan-interface7 ip address 10.0.7.1 255.255.255.0 dhcp select server global-pool

  Vlan 8 interface Vlan-interface8 ip address 10.0.8.1 255.255.255.0 dhcp select server global-pool

  Vlan 9 interface Vlan-interface9 ip address 10.0.9.1 255.255.255.0 dhcp select server global-pool

  Vlan 10 interface Vlan-interface10 ip address 10.0.10.1 255.255.255.0 dhcp select server global-pool

  Vlan 11 interface Vlan-interface11 ip address 10.0.11.1 255.255.255.0 dhcp select server global-pool

  Vlan 20 interface Vlan-interface20 ip address 10.0.0.1 255.255.255.0 dhcp select server global-pool

核心交換機怎么配置

  三、設定端口所在

  vlan interface GigabitEthernet0/0/5 port access vlan 2 interface GigabitEthernet0/0/6 port access

  vlan 3 interface GigabitEthernet0/0/7 port access

  vlan 4 interface GigabitEthernet0/0/8 port access

  vlan 5 interface GigabitEthernet0/0/9 port access

  vlan 6 interface GigabitEthernet0/0/10 port access

  vlan7 interface GigabitEthernet0/0/11 port access

  vlan 8 interface GigabitEthernet0/0/12 port access

  vlan 9 interface GigabitEthernet0/0/13 port access

  vlan 10 interface GigabitEthernet0/0/14 port access

  vlan 11 interface GigabitEthernet0/0/15 port access

  vlan 20 interface GigabitEthernet0/0/16 port access

  vlan 20 interface GigabitEthernet0/0/17 port access

  vlan 20 interface GigabitEthernet0/0/18 port access

  vlan 20 interface GigabitEthernet0/0/19 port access

  vlan 20 interface GigabitEthernet0/0/20 port access

  vlan 20 interface GigabitEthernet0/0/21 port access

  vlan 20 interface GigabitEthernet0/0/22 port access

  vlan 20 interface GigabitEthernet0/0/23 port access

  vlan 20 interface GigabitEthernet0/0/24 port access

  vlan 20 interface GigabitEthernet0/0/25 port access

  vlan 20 interface GigabitEthernet0/0/26 port access

  vlan 20 interface GigabitEthernet0/0/27 port access

  vlan 1 interface GigabitEthernet0/0/28 port access

  四、定義地址池

  dhcp server ip-pool vlan1 network 10.0.1.0 mask 255.255.255.0

  gateway-list 10.0.1.1

  dns-list 10.0.0.16 domain-name

  dfic.net dhcp server ip-pool

  vlan2 network 10.0.2.0

  mask 255.255.255.0

  gateway-list 10.0.2.1

  dns-list 10.0.0.16

  domain-name dfic.net

  dhcp server ip-pool

  vlan3 network 10.0.3.0

  mask 255.255.255.0

  gateway-list 10.0.3.1

  五、設置路由

  Undo ip route-static 0.0.0.0 0.0.0.0 10.0.1.1

  preference 60 dhcp server forbidden-ip 10.0.0.1

  dhcp server forbidden-ip 10.0.1.1

  dhcp server forbidden-ip 10.0.1.250 10.0.1.254

  dhcp server forbidden-ip 10.0.2.1

  dhcp server forbidden-ip 10.0.3.1

  dhcp server forbidden-ip 10.0.4.1

  dhcp server forbidden-ip 10.0.5.1

  dhcp server forbidden-ip 10.0.7.1

  dhcp server forbidden-ip 10.0.8.1

  dhcp server forbidden-ip 10.0.9.1

  dhcp server forbidden-ip 10.0.10.1

  dhcp server forbidden-ip 10.0.11.1

  聽完學習啦小編的介紹之后不知道大家明白沒有,核心交換機的配置固然是繁瑣的,但是它擔任的職責是非常重要的,它負責覆蓋一個鄉鎮甚至一個縣城的網絡,如果核心交換機出現了故障那我們將無法正常上網,雖然我們大部分人是接觸不到核心交換機的,但是了解一下它的配置對于我們自身來說也是在增長知識。

學習啦友鏈、商務、投稿、客服:QQ:3061683909 郵箱[email protected]

Copyright @ 2006 - 2020 學習啦 All Rights Reserved

學習啦 版權所有 粵ICP備15032933號-1

我們采用的作品包括內容和圖片全部來源于網絡用戶和讀者投稿,我們不確定投稿用戶享有完全著作權,根據《信息網絡傳播權保護條例》,如果侵犯了您的權利,請聯系:[email protected],我站將及時刪除。

學習啦

回到頂部 哪里有时时彩走势图
自由精神 至尊棋牌手机安卓 秒秒彩的原理 新浪彩票比分网下载 手机摇钱树捕鱼下载 申城棋牌乐 甘肃十一选五走势图一定牛官网 366娱乐城网上百家乐 开元棋牌外挂 网络游戏赚钱排行榜 明星麻将三缺一单机版下载 平特一肖概率计算方法 四川快乐12开奖公告 广东十一选五手机版 西甲联赛什么时候开始 海南麻将官方