华为模拟器实验文档

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

实验一口令和主机名设置

1.交换机的初始化

当交换机没有进行配置时,接入超级终端会提示是否以对话方式进行配置,初始化内容主要有IP地址、网关、主机名和口令等。配置文件是flash:config.text。

2924交换机进入ROM方式是在上电时按住其mode键,本软件是按Ctrl+Break键,出现:

switch> ;按Ctrl+Break键

switch:reset ;或用boot命令

如果有配置文件进入用户模式,否则提交对话:

--- System Configuration Dialog ---

At any point you may enter a question mark '?' for help.

Use ctrl-c to abort configuration dialog at any prompt.

Default settings are in square brackets '[]'.

Continue with configuration dialog? [yes/no]:y

Enter IP address:10.65.1.8

Enter IP netmask:255.255.0.0

Would you like to enter a default gateway address? [yes]:

IP address of default gateway:

Enter host name [Switch]:swa

The enable secret is a one-way cryptographic secret used instead of the enable password when it exists.

Enter enable secret:aaa

Would you like to configure a Telnet password? [yes]:

Enter Telnet password:a

Would you like to enable as a cluster command switch? [no]:

The following configuration command script was created:

......

Press RETURN to get started.

swa>en

password:aaa

swa#copy run start (保存配置信息)

swa#dir flash: (查看闪存中的文件)

再次进入对话方式:

swa#setup

2.路由器的初始化(路由器初始化与交换机类似)

router> ;用户模式,按Ctrl+Break rommon>reset ;进入ROM监控状态,复位引导

Continue with configuration dialog? [yes/no]:yes

At any point you may enter a question mark '?' for help.

Use ctrl-c to abort configuration dialog at any prompt.

Default settings are in square brackets '[ ]'.

Would you like to enter basic management setup? [yes/no]:yes

Configuring global parameters:

Enter host name [router]:ra回车

The enable secret is a password used to protect access to

privileged EXEC and configuration modes. This password,

after entered,becomes encrypted in the configuration.

Enter enable secret:aaa回车

The enable password is used when you do not specify an

enable secret password,with some older software versions,

and some boot images.

Enter enable password:aa回车

The virtual terminal password is used to protect

access to the router over a network interface.

Enter virtual terminal password :a回车

Enter interface name used to connect to the management

network from the above interface summary:FastEthernet0/0回车

Configuring interface FastEthernet0/0:回车

Use the 100 Base-TX (RJ-45) connector? [yes]:回车

Operate in full-duplex mode? [no]:回车

Configure IP on this interface? [yes]:回车

IP address for this interface [ ]:10.1.1.1回车

Subnet mask for this interface [ ]:255.0.0.0回车

[0] Go to the IOS command prompt without saving this config.

[1] Return back to the setup without saving this config.

[2] Save this configuration to nvram and exit.

Enter your selection [2]:回车

ra>en

相关文档
最新文档