码迷,mamicode.com
首页 > 其他好文 > 详细

H3C 交换机的基础配置

时间:2014-05-21 00:57:22      阅读:382      评论:0      收藏:0      [点我收藏+]

标签:h3c

1.reset save    删除以前的配置

2.sysname 配置交换机的名字

3.interface 接口  配置IP地址

4.info-center synchronous       日志同步

5.添加用户与密码(指定类型,级别,认证方式)

6.配置aux vty

6.划分vlan

7.将端口添加到vlan中

8.ip http enable 开户web管理

9.ipmacbind IP地址 Mac地址 端口 vlan      IP、MAC、端口、Vlan的邦定命定

10.ip route-static 192.168.2.0 255.255.255.0 192.168.1.2 添加静态路由

11.display ipmacbind  查看已邦定的IP、MAC、端口、vlan


新加坡交换机配置文件:


<singapore01>display cu

#

 version 5.20, Release 2220P02

#

 sysname singapore01

#

 irf mac-address persistent timer

 irf auto-update enable

 undo irf link-delay

#

 domain default enable system

#

 password-recovery enable

#

vlan 1

#

domain system

 access-limit disable

 state active

 idle-cut disable

 self-service-url disable

#

user-group system

 group-attribute allow-guest

#               

local-user admin

 password cipher $c$3$lyg8rjIIKtEADPLLEW3Pr3tNDUP2eEzsQpJI90KHDA==

 authorization-attribute level 3

 service-type ssh telnet

 service-type web

#

interface NULL0

#

interface Vlan-interface1

 ip address 172.22.4.254 255.255.255.0

#

interface GigabitEthernet1/0/1

 port link-mode bridge

#

interface GigabitEthernet1/0/2

 port link-mode bridge

#

interface GigabitEthernet1/0/3

 port link-mode bridge

#

interface GigabitEthernet1/0/4

 port link-mode bridge

#               

interface GigabitEthernet1/0/5

 port link-mode bridge

#

interface GigabitEthernet1/0/6

 port link-mode bridge

#

interface GigabitEthernet1/0/7

 port link-mode bridge

#

interface GigabitEthernet1/0/8

 port link-mode bridge

#

interface GigabitEthernet1/0/9

 port link-mode bridge

#

interface GigabitEthernet1/0/10

 port link-mode bridge

#

interface GigabitEthernet1/0/11

 port link-mode bridge

#

interface GigabitEthernet1/0/12

 port link-mode bridge

#

interface GigabitEthernet1/0/13

 port link-mode bridge

#

interface GigabitEthernet1/0/14

 port link-mode bridge

#

interface GigabitEthernet1/0/15

 port link-mode bridge

#

interface GigabitEthernet1/0/16

 port link-mode bridge

#

interface GigabitEthernet1/0/17

 port link-mode bridge

#

interface GigabitEthernet1/0/18

 port link-mode bridge

#

interface GigabitEthernet1/0/19

 port link-mode bridge

#

interface GigabitEthernet1/0/20

 port link-mode bridge

#

interface GigabitEthernet1/0/21

 port link-mode bridge

#

interface GigabitEthernet1/0/22

 port link-mode bridge

#

interface GigabitEthernet1/0/23

 port link-mode bridge

#

interface GigabitEthernet1/0/24

 port link-mode bridge

#

interface GigabitEthernet1/0/25

 port link-mode bridge

 shutdown

#

interface GigabitEthernet1/0/26

 port link-mode bridge

 shutdown

#

interface GigabitEthernet1/0/27

 port link-mode bridge

 shutdown

#

interface GigabitEthernet1/0/28

 port link-mode bridge

 shutdown

#

 info-center synchronous        日志同步

#

 load xml-configuration

#

 load tr069-configuration

#

user-interface aux 0

user-interface vty 0 15

 user privilege level 3

 set authentication password cipher $c$3$B4uJHlek6X5vAD+vCTuxAecYRnMN1ZPT37X2vlQkzg==

#


本文出自 “陈胜纲的博客” 博客,请务必保留此出处http://chenshengang.blog.51cto.com/4399161/1413746

H3C 交换机的基础配置,布布扣,bubuko.com

H3C 交换机的基础配置

标签:h3c

原文地址:http://chenshengang.blog.51cto.com/4399161/1413746

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!