华为s2000交换机配置命令大全

热点事件 2023-08-21 07:35www.nygn.cn今日热点事件

  华为s2000交换机配置命令大全

  1、 查看版本

  [Quiday]display version

  Huaei Versatile Routing Platform Softare

  VRP (R) Softare, Version 3.10, RELEASE 0010

  Copyright (c) 2000-2004 HUAWEI TECH CO., LTD.

  Quiday S2016-EI uptime is 0 eek,2 days,0 hour,29 minutes

  Quiday S2016-EI ith 50M Arm7 Processor

  32M bytes SDRAM

  4096K bytes Flash Memory

  Config Register points to FLASH

  Hardare Version is VER.B

  Bootrom Version is 109

  [Subslot 0] 16 FE Hardare Version is VER.B

  2、建立VLAN

  [Quiday]vlan 57

  [Quiday-vlan57]quit

  [Quiday]vlan 59

  [Quiday-vlan59]quit

  3、配上行端口允许通过的VLAN

  [Quiday]interface eth 0/1

  [Quiday-Ethernet0/1]port link-type trunk

  [Quiday-Ethernet0/1]port trunk permit vlan 59 57

  Please ait... Done.

  [Quiday-Ethernet0/1]quit

  4、配端口上绑定的VLAN

  [Quiday]interface eth 0/2

  [Quiday-Ethernet0/2]port access vlan 59

  [Quiday-Ethernet0/2]quit

  [Quiday]interface eth 0/3

  [Quiday-Ethernet0/3]port access vlan 57

  [Quiday-Ethernet0/3]quit

  5、限定端口上的速率

  [Quiday]interface etn 0/2

  [Quiday-Ethernet0/2]line-rate outbound 37

  [Quiday-Ethernet0/2]quit

  [Quiday]interface eth 0/3

  [Quiday-Ethernet0/3]line-rate outbound 33

  [Quiday-Ethernet0/3]quit

  6、退出保存

  [Quiday]quit

  save

  This ill save the configuration in the flash memory.

  The sitch configurations ill be ritten to flash.Are you sure?[Y/N]y

  No saving current configuration to flash memory.

  Please ait for a hile...

  Current configuration saved to flash memory successfully.

  交换机的上运行配置

  #

  interface Vlan-interface100

  ip address 220.172.239.102 255.255.255.0

  #

  interface Aux0/0

  #

  interface Ethernet0/1

  port link-type trunk

  port trunk permit vlan 1 57 59 100 102

  #

  interface Ethernet0/2

  port access vlan 59

  #

  interface Ethernet0/3

  port access vlan 57

  #

  interface Ethernet0/4

  port link-type trunk

  port trunk permit vlan 1 102

  #

  interface Ethernet0/5

  #

  interface Ethernet0/6

  #

  interface Ethernet0/7

  #

  interface Ethernet0/8

  #

  interface Ethernet0/9

  #

  interface Ethernet0/10

  #

  interface Ethernet0/11

  #

  interface Ethernet0/12

  #

  interface Ethernet0/13

  #

  interface Ethernet0/14

  #

  interface Ethernet0/15

  #

  interface Ethernet0/16

  #

  interface NULL0

  #

  ip route-static 0.0.0.0 0.0.0.0 222.172.239.1 preference 60

  ip route-static 0.0.0.0 0.0.0.0 220.172.239.1 preference 60

  #

  user-interface aux 0

  user-interface vty 0 4

  #

  return

  [Quiday]

Copyright © 2016-2025 www.nygn.cn 趣怪网 版权所有 Power by