亚洲国产日韩欧美在线a乱码,国产精品路线1路线2路线,亚洲视频一区,精品国产自,www狠狠,国产情侣激情在线视频免费看,亚洲成年网站在线观看

H3C核心交換機配置

時間:2024-09-07 08:44:35 H3C認證 我要投稿
  • 相關推薦

H3C核心交換機配置

  H3C每年將銷售額的15%以上用于研發(fā)投入,在中國的北京、杭州和深圳設有研發(fā)機構,在北京和杭州設有可靠性試驗室以及產品鑒定測試中心。以下是小編整理的關于H3C核心交換機配置,希望大家認真閱讀!

  1、核心交換機新建用戶admin密碼admin@h3c,并關聯(lián)遠程登錄服務,如telnet web網頁登錄、ssh遠程登錄。并開啟telnet、web登錄服務、ftp服務

  #

  local-user admin

  password cipher admin@h3c

  authorization-attribute level 3

  service-type telnet

  service-type ftp

  service-type web

  #

  telnet server enable

  #

  ip http enable

  #

  user-interface vty 0 15

  authentication-mode scheme

  2、如需新增vlan網段,先新建對應vlan,新建網關、把網線口加入到此vlan,這里例舉新增vlan11,網關172.30.162.1/24,把0/0/27-0/0/28口添加到vlan162

  #

  vlan 162

  port GigabitEthernet 0/0/27 to GigabitEthernet 0/0/28

  #

  interface Vlan-interface162

  ip address 172.30.162.1 255.255.255.0

  3、開啟DHCP自動獲取功能,此功能一般只需要在核心交換機上開啟,比如這里開啟vlan162網段的DHCP功能,并禁止分配172.30.162.1-100

  #

  dhcp server ip-pool 162

  network 172.30.162.0 mask 255.255.255.0

  gateway-list 172.30.162.1

  dns-list 88.0.0.216 88.0.0.218

  #

  dhcp enable

  #

  dhcp server forbidden-ip 172.30.162.1 172.30.162.100

  關閉192.168.11.0網段的DHCP自動獲取功能

  #

  undo dhcp server ip-pool 11

  4、下聯(lián)交換機口必須配置成trunk口,并允許所有vlan通過,比如2槽位板卡,開啟trunk配置,這里例舉2/0/1和2/0/2口要下接接入交換機

  #

  interface GigabitEthernet2/0/1

  port link-type trunk

  port trunk permit vlan 10 20 30 40 50 80 162 500 1000

  #

  interface GigabitEthernet2/0/2

  port link-type trunk

  port trunk permit vlan 10 20 30 40 50 80 162 500 1000

  5、查看交換機端口使用情況,可查看端口激活狀態(tài)up或者DOWN,端口工作速率,端口模式,端口對應的vlan號

  dis interface brief

  The brief information of interface(s) under route mode:

  Link: ADM - administratively down; Stby - standby

  Protocol: (s) - spoofing

  Interface Link Protocol Main IP Description

  M-E0/0/0 DOWN DOWN --

  NULL0 UP UP(s) --

  Vlan1 UP UP --

  Vlan10 UP UP 192.168.10.1 POS

  Vlan20 UP UP 192.168.20.1 KELIU

  Vlan30 UP UP 192.168.30.1 MENJIN

  Vlan40 UP UP 192.168.40.1 TINGCHECHANG

  Vlan50 UP UP 172.15.0.1 KEYONG-WIFI-IP

  Vlan80 UP UP 192.168.80.1 OFFICE-WIFI-IP

  Vlan162 UP UP 172.30.162.1 OFFICE

  Vlan500 UP UP 192.168.60.1 AP-IP

  Vlan1000 UP UP 172.16.100.1 MANGENT&TO-F100-E-G

  Vlan1101 UP UP 11.1.1.2 TO-CISCO-11.1.1.1

  Vlan1102 UP UP 11.1.1.6 TO-CISCO-11.1.1.5

  The brief information of interface(s) under bridge mode:

  Link: ADM - administratively down; Stby - standby

  Speed or Duplex: (a)/A - auto; H - half; F - full

  Type: A - access; T - trunk; H - hybrid

  Interface Link Speed Duplex Type PVID Description

  BAGG1 UP 2G(a) F(a) A 1000 TO-F100-E-G

  BAGG2 UP 2G(a) F(a) T 1 WLAN-COTROL

  GE0/0/1 DOWN auto A T 1

  GE0/0/2 DOWN auto A T 1

  GE0/0/3 DOWN auto A T 1

  6、查看各個vlan所有在線電腦ip,可通過命令查看在線ip地址-mac地址-學習來源(所接端口),下面列舉查看管理vlan 1000網段交換機在線情況,可以看到下列ip的交換機都在正常工作,都在線

  dis arp vlan 1000

  Type: S-Static D-Dynamic M-Multiport

  IP Address MAC Address VLAN ID Interface Aging Type

  172.16.100.36 5cdd-703f-6e50 1000 GE0/0/13 18 D

  172.16.100.14 7425-8aef-811a 1000 GE0/0/13 13 D

  172.16.100.37 e468-a38e-ee5b 1000 GE0/0/14 3 D

  172.16.100.2 70ba-ef69-4adf 1000 BAGG1 3 D

  172.16.100.3 70f9-6d0d-e4d6 1000 BAGG2 15 D

【H3C核心交換機配置】相關文章:

h3c交換機配置telnet配置教程03-26

h3c交換機dhcp配置03-15

H3C交換機常用配置命令03-26

H3C交換機配置命令詳解01-22

H3C交換機簡單配置案例02-26

H3C交換機簡單配置方法02-26

H3C交換機配置命令大全10-14

H3C交換機系統(tǒng)基本配置03-10

h3c交換機保存配置命令03-20