H3C交换机基本配置(vlan,dhcp,telnet)
其实不同厂家型号的交换机设置都是差不多的,只是不同厂家的交换机设置的命令是不同的!但只要我们知道一种交换机的设置并找一下相关的资料,就很容易设置好不同的交换机!下面给大家说一说现在比较流行的H3C交换机的简单设置!
【SwitchA采用全局地址池方式分配地址相关配置】
1. 创建(进入)VLAN10
[SwitchA]vlan 10
2. 将E0/1加入到VLAN10
[SwitchA-vlan10]port Ethernet 0/1 to Ethernet 0/12
3. 创建(进入)VLAN接口10
[SwitchA]interface Vlan-interface 10
4. 为VLAN接口10配置IP地址
[SwitchA-Vlan-interface10]ip address
基于vlan的dhcp server(H3C3600-EI才支持该服务)配置:
5. 在VLAN接口10上选择全局地址池方式分配IP地址
[SwitchA-Vlan-interface10]dhcp select global
6. 创建全局地址池,并命名为”vlan10”
[SwitchA]dhcp server ip-pool vlan10
7. 配置vlan10地址池给用户分配的`地址范围以及用户的网关,dns地址
[SwitchA-dhcp-vlan10]network mask
[SwitchA-dhcp-vlan10]gateway-list
[SwitchA-dhcp-vlan10]dns-list
8. 禁止分配给用户的ip
[SwitchA]dhcp server forbidden-ip
[SwitchA]dhcp server forbidden-ip
9.配置vlan接口通过dhcp方式获取ip(缺省情况下vlan接口不通过dhcp方式获取ip)
[h3c]int vlan 3
[h3c-vlan-intterface]ip address dhcp-alloc
10.配置trunk:
[switch-interface3]port link-type trunk
[switch-interface3]port trunk permit vlan 2 4 6 to 10
11,路由配置
[h3c]ip route-static
---------------------
telnet配置:
[h3c]user-intface vty 0 3
[h3c-vty0 3]authentication-mode password
[h3c-vty0 3]set authentication password simple 123456
[h3c-vty0 3]user privilege level 3 设置vty可以执行的命令级别
[h3c]management-vlan 2 设置管理vlan
[h3c]local-user zhh
[h3c-zhh]service-tye telnet level 3
[h3c]telnet-server source-interface vlan-interface 2(为telnet服务端指定接口)
[h3c]telnet-server source-ip (为telnet服务端指定ip)
[h3c]telnet source-interface vlan-interface 2 (为telnet客户端指定端口)
[h3c]telent source-ip
相關文章
-
The Best Thing That Could Ever Happen少儿双语阅读
Unit 3 The Best Thing That Could Ever Happen单元 3 最棒的事Three old men were sitting around and talking.三个老头坐在一起聊天。The 80-year-old remarked, "The best thing that could happen to me would j -
h3c交换机telnet配置命令
随着移动互联网趋势加快以及智能终端的快速普及,WLAN应用需求在全球保持高速增长态势。华三通信作为业界领先的一体化移动网络解决方案提供商,自产品推出以来,稳步增长。下面是小编整理的关于h3c交换机telnet配置命令,希 -
Lantern Festival,The 15th day of the 1st lunar month英语作
英文履历表无论是申请学校、或是找工作,都经常要用到。以下便是基本的写作方法: 英文履历表该有那些内容? 写作注意事项 dos and don’ts resume的三种格式及范例 其他相关网站英文履历表该有那些内容? 以下是一般 -
h3c交换机配置telnet实例教程
H3C交换机如何设置TELNET登陆?下面跟yjbys小编一起来看看h3c交换机telnet登录配置方法吧! 配置实例一:进入console0口:[H3C]user-interface aux 0(S)修改验证模式:[H3C-ui-aux0]authentication-mode password设置aux0 -
h3c交换机配置telnet配置教程
H3C交换机如何设置TELNET登陆?下面YJBYS小编为大家整理了关于h3c交换机配置telnet配置教程,希望对你有所帮助。 配置实例一:通过Console口连接配置交换机Vlan1的IP地址system-view[h3c]interface vlan-interface 1[h -
人教PEP版国小五年级英语下册Unit3Myschoolcalender.ALet’stalk
《傅雷家书》是我国文学艺术翻译家傅雷及夫人写给傅聪、傅敏等的家信摘编,写信时间为一xx四年至一九六六年六月。下面小编为大家搜集整理的傅雷家书读书心得,希望大家喜欢!篇一今年我读了一本令我受益匪浅的书—&m -
The place of Science and Technology in Modern Life英语作文
human life can not continue without science and technology. for many years, human society has developed with the advance of science and technology while the development of science and technology has i -
Reluctance to have children英语作文
在平时的学习、工作或生活中,大家都有写作文的.经历,对作文很是熟悉吧,根据写作命题的特点,作文可以分为命题作文和非命题作文。为了让您在写作文时更加简单方便,下面是小编收集整理的Reluctance to have children英语作文 -
Health in developing countries大学六级英语写作范文
Health Gains in Developing Countries虽然图表暂时没有,但大家可以通过范文了解描述图表和分析现象的优秀句型。It can be seen from the chart that there have been dramatic changes in life expectancy and infan -
“雅思写作”the Growth Cycle of A Volcanic Island
The diagram shows the growth cycle of a volcanic island.The diagram demonstrates the natural process in terms of how a volcanic island grows from beneath the sea, explodes, and then eventually sinks t