首页 > 编程知识 正文

华为交换机端口配置ip,华为交换机vlan配置ip

时间:2023-05-05 22:32:12 阅读:173145 作者:1434

1、dis cu这是用于查看交换机所有配置的命令。 你看到的IP应该是VLAN的IP

接口VLAN 1

IP地址172.16.1.7255.255.255.0可以看到这是交换机的IP。

像H3C Quaidway 6506这样的三层交换机,可能会引出很多VLAN,所以有我的IP。 vlan1的IP能够是管理IP (进行telnet等的远程配置的IP )。 如果有多个VLAN IP,则VLAN1以外的IP将是该VLAN上所有主机的网关。

像H3C S1024这样两层楼的情况下,一般在VLAN1上安装IP,方便今后的管理使用。

2、一般H3C的默认为空密码。 有密码是谁设定的,你就能解开它。 方法如下。

【第一步重启开关,按Ctrl B进入BOOTROM菜单】

Starting at0x1c00000 .

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *。

* *

* Quidway Series Routers Boot ROM,V9.07 *

* *

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *。

copyright(c ) 1997-2004 by HUAWEI TECH CO .LTD。

Compiled at 18:10:29、Oct 14 2004。

测试内存.确定!

128M bytes SDRAM

32768 k字节闪存

Hardware Version is MTR 1.0

CPLD Version is CPLD 1.0

Press Ctrl-B to enter Boot Menu

pleaseinputbootrompassword 3360 /默认密码为空/

Boot Menu:

1: downloadapplicationprogramwithxmodem

2: downloadapplicationprogramwithnet

3:设置应用程序文件类型

4:显示应用程序信息闪存

5: clear应用程序密码

6: startupandignoreconfiguration

7:企业版

8: Boot Rom Operation Menu

9: donotchecktheversionofthesoftware

a :退出并引导

企业(1- a ) :

【步骤26选择“6: startupandignoreconfiguration”并确认】

Boot Menu:

1: downloadapplicationprogramwithxmodem

2: downloadapplicationprogramwithnet

3:设置应用程序文件类型

4:显示应用程序信息闪存

5: clear应用程序密码

6: startupandignoreconfiguration

7:企业版

8: Boot Rom Operation Menu

9: donotchecktheversionofthesoftware

a :退出并引导

企业(1- a ) : 6) 6

Start up and ignore configuration,Are you sure? [Y/N]y

设置安全

【选择步骤3a再启动系统】

Boot Menu:

1: downloadapplicationprogramwithxmodem

2: downloadapplicationprogramwithnet

3:设置应用程序文件类型

4:显示应用程序信息闪存

5: clear应用程序密码

6: startupandignoreconfiguration

7:企业版

8: Boot Rom Operation Menu

9: donotchecktheversionofthesoftware

a :退出并引导

企业(1- a ) : a

Exit and reboot,are you sure? [Y/N]y

开始到远程.

步骤4在将系统配置为空后,使用" more config.cfg "显示配置脚本

dir

Directory of flash:/

0-rw-5748224 nov 19200417:2:05 main.bin

1-rw-5746199 nov 30200414336051336021 v 330-0008.bin

2-rw-8650414 nov 22200412:26336057 system

3-rw-1053 dec 15200418336046336041 config.CFG

4-rw-8695261 dec 15200409336059336045340-0006.bin

3877 kb总容量(3706 kb自由) )。

more config.cfg

sysname RTA

#

FTP服务器启用

#

本地服务器nas-IP 127.0.0.1 key Huawei

#

域默认启用系统

#

radius方案系统

服务器类型共享

primaryauthentication 127.0.0.11645

主会计127.0.0.1 1646

用户名称格式域

#

域系统

访问-限制禁用

状态活动

#

本地用户AAA

密码生成器; (01%^; YGQ=^Q`MAF41!

服务类型终端

三级

本地用户管理

password cipher .]@USE=B,53Q=^Q`MAF41!

服务类型终端

三级

服务-类型FTP

#

接口aux 0

async模式流程

链接-协议PPP

#

接口以太网0/0

ip address dhcp-alloc

#

接口以太网1/0

ip address dhcp-alloc

#

接口以太网1/1

ip address dhcp-alloc

#

接口串行0/0

clock DTECLK1

链接-协议PPP

ip address ppp-negotiate

#

接口空0

#

用户界面0

授权模式方案

用户界面aux 0

用户界面vty04

授权模式方案

#

返回

用simple方式设定密码时,可以直接显示密码。

用cipher方式设定密码时,按以下方法处理。

1 )复制显示的配置文件并保存为文本文件。

2 )该文件中相应帐户的密码“password cipher; (01%^; YGQ=^Q`MAF41! “password simple aaa”等密码

3 )将修改后的脚本复制到当前路由器&; 粘贴

4 ) disp cur验证当前配置是否与以前的配置一致,然后在配置save后重新启动系统

5 )重新启动后,可以使用更改后的帐户密码登录系统

0

正在读取注释.

请登录后发表评论!

修改失败了。 请稍后再试

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。