91av免费观看_日韩视频在线免费看_日本xxxx色视频在线观看免费_伊人222综合网图片_国产二区三区在线_91麻豆麻豆

IT之道-艾銻知道

您當前位置: 主頁 > IT服務 > 網絡服務 >

華為設備維護之初級配置代碼


2015-11-27 11:45 作者:admin 瀏覽量:

0902184642581683_500_375_32768.jpg

  網絡設備穩定運行一方面依賴于完備的網絡規劃,另一方面,通過網絡設備日常的維護和監測發現設備運行隱患也是非常必要的。

  此文以華為設備配置代碼以交換為主簡述在工作中即可應用簡單的幾條指令。

  架構上分為核心層、分布層、接入層三層,部分相同的代碼有簡略。

  ------------虛擬接口------------------------------------

  1)管理地址

  interface Vlanif1

  description Management

  ip address 192.168.250.197 255.255.255.0

  dhcp select relay

  dhcp relay server-select dhcpgroup1

  #

  2)核心交換虛擬網關接口

  interface Vlanif2

  description Server

  ip address 192.168.1.2 255.255.255.0

  #

  interface Vlanif3

  description office

  ip address 192.168.0.2 255.255.255.0

  dhcp select relay

  dhcp relay server-select dhcpgroup1

  -----------Trunk------------------------------------

  interface GigabitEthernet0/0/24

  port link-type trunk

  port trunk allow-pass vlan 2 to 100

  ntdp enable

  ndp enable

  bpdu enable

  -----------Eth Trunk-------------------------------

  interface Eth-Trunk1

  port link-type trunk

  port trunk allow-pass vlan 2 to 4094

  interface GigabitEthernet0/0/1

  eth-trunk 1

  interface GigabitEthernet0/0/2

  eth-trunk 1

  -----------IP ROUTE---------------------

  1)核心交換靜態路由

  ip route-static 0.0.0.0 0.0.0.0 10.16.0.1

  ip route-static 1.1.1.0 255.255.255.0 192.168.9.101

  ip route-static 10.0.0.0 255.255.0.0 192.168.9.100

  1)分布層接入層

  ip route-static 0.0.0.0 0.0.0.0 192.168.250.1

  -----------VLAN-----------------------------

  vlan 1

  description Management

  vlan 2

  description Server

  vlan 3

  description office

  interface GigabitEthernet 0/0/11

  -----------DHCP服務器聲明-----------------------------

  dhcp server group dhcpgroup1

  dhcp-server 192.168.1.250 0

  -----------Access Port------------------------------

  1)defaule

  interface GigabitEthernet0/0/1

  port link-type access

  port default vlan 3

  stp disable

  stp edged-port enable

  ntdp enable

  ndp enable

  2)POE config

  interface GigabitEthernet0/0/1

  port hybrid pvid vlan 2

  port hybrid tagged vlan 9 92

  port hybrid untagged vlan 2

  stp edged-port enable

  undo poe enable

  -----------認證---------------------------------------------------

  1)全局配置

  super password level 1 cipher ***

  super password level 2 cipher ***

  super password level 3 cipher ***

  2)Console配置

  user-interface con 0

  authentication-mode password

  set authentication password cipher a:FL2/KX#^;Q=^Q`MAF4<1!!

  idle-timeout 5 0

  3)VTY配置

  user-interface vty 0 4

  authentication-mode password

  idle-timeout 15 0

  user privilege level 3

  -----------STP---------------------------------------------------

  1)公共配置

  stp mode rstp

  stp enable

  stp pathcost-standard legacy

  2)核心層交換

  stp instance 0 root primary

  stp enable

  3)分布層交換

  stp instance 0 priority 8192

  stp enable

  4)接入層交換

  stp instance 0 priority 16384

  stp enable

  stp mode mstp

  5)接入端口配置

  stp edged-port enable

  -----------LLDP--------------------------------------------------

  lldp enable

  -----------VRRP--------------------------------------------------

  1)Master交換機:

  interface Vlanif1

  description Management

  ip address 192.168.250.250 255.255.255.0

  vrrp vrid 1 virtual-ip 192.168.250.1

  vrrp vrid 1 priority 120

  vrrp vrid 1 preempt-mode timer delay 20

  2)Slave網絡交換機配置(維護)

  interface Vlanif1

  description Management

  ip address 192.168.250.251 255.255.255.0

  vrrp vrid 1 virtual-ip 192.168.250.1

  -----------SystemName------------------------------------------------------

  systemname XXXX 192.168.2.X

  ---------------------------------------------------------------

  storm-control broadcast min-rate 1000 max-rate 2000

  storm-control multicast min-rate 1000 max-rate 2000

  storm-control unicast min-rate 1000 max-rate 2000

  storm-control interval 90

  storm-control action block

  storm-control enable log


相關文章

IT外包服務
二維碼 關閉
主站蜘蛛池模板: 青草国产超碰人人添人人碱 | 日日婷婷夜日日天干 | 伊人久久大香线蕉AV综合 | 人人妻人人做人人爽 | 女人被狂躁的高潮免费视频 | 国产亚洲视频免费播放 | 久久精品国产99久久丝袜 | 波多野结衣无码视频在线观看 | 99久久久国产精品无码免费 | WWW射我里面在线观看 | 97久久综合区小说区图片区 | 色欲av蜜臀av久久浪潮av | 午夜亚洲国产理论片亚洲2020 | 奶茶视频有容乃大海纳百川有容乃大绿巨人 | 成人无码激情视频在线观看 | 娇喘潮喷抽搐高潮视频 | 曰曰摸夜夜添夜夜添高潮出水 | 日本久久不卡 | 免费一级做a爰片久久毛片无遮挡 | 吃奶摸下的激烈免费视频 | 法国精品熟妇多毛bhd | AV无码岛国免费动作片 | 国产无线卡一卡二 | 中字一区| 日本公与熄乱理在线播放 | 免费A级毛片中文字幕 | 中文字幕11页中文字幕11页 | 中文字幕一区二区日韩精品绯色 | 精品一线二线三线区别在哪欧美 | 牛牛视频一区二区三区 | 四虎影视最新网站 | 国产十八禁真成了 | 婷婷五月综合激情 | 人妻AV中文字幕一区二区三区 | 国产精品黑色蕾丝丁字裤 | 亚洲AV无码午夜国产精品色软件 | 免费人成无码视频在线观看 | а∨天堂在线中文免费不卡 | 国产精品久久高潮 | 国产成人啪精品午夜网站 | 亚洲AV第一成肉网肉片AV |