星空5G 导航

交换机.路由器的设置命令各中文意思-

2024-07-06编辑:本站
求配置交换机的所有口令及意思~

首先,各厂家的配置命令不一样。
其次,技术不尽相同,有标准的协议,有私有的协议。
建议你补一下英语基本水平,在模拟器或者真机上多用问号看帮助信息或者是产品手册。

如果用console口的话,把计算机的串口和设备的console口连好,然后,开始---程序---附件---通讯---超级终端,注意运行的时候,要从向导里把设备的参数还原为默认,如果你使用了GHOST版的操作系统,可能没有这个超级终端,你可以去网上下载,或者从别人有的机器上拖过来,终端一共只有2个文件,或者去下个secureCRT软件` 支持串口协议,telnet`telnet时,设备必须配置了IP地址,而且允许远程访问,开始---运行---cmd,之后在命令行里输入telnet 设备的IP地址,即可`

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]:yEnter IP address:10.65.1.8
Enter IP netmask:255.255.0.0Would you like to enter a default gateway address? [yes]:
IP address of default gateway:
Enter host name [Switch]:swaThe enable secret is a one-way cryptographic secret used
instead of the enable password when it exists.
Enter enable secret:aaaWould you like to configure a Telnet password? [yes]:
Enter Telnet password:aWould 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.路由器的初始化
路由器初始化与交换机类似,上电时按Ctrl+Break,进入ROM监控状态router> ;用户模式,按Ctrl+Break
rommon>reset ;进入ROM监控状态,复位引导 (没有配置文件或采用寄存器设置跳过配置文件提示对话信息)
Continue with configuration dialog? [yes/no]:yesAt 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 '[ ]'.Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the systemWould you like to enter basic management setup? [yes/no]:yesConfiguring 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
password aaa (进入特权模式)
ra#show run (显示配置信息)
ra#w (保存配置信息)
ra#dir flash: (显示配置文件) (配置文件在2621路由器不能删除,放弁配置文件要用寄存器设置0x2142);3. 用命令行设置交换机和路由器的口令和主机名
交换机和路由器的口令和主机名的设置基本相同,在提问对话时,
回答n,则进入命令行的状态。
先对交换机进行操作,双击SwitchA,出现:
switch>en ;第一次密码为空
switch#conf t ;进入全局配置模式
switch(config)#hostname swa ;设置交换机名
swa(config)#enable secret aaa ;设置特权加密口令为 aaa
swa(config)#enable password aax ;设置特权非密口令为 aax
swa(config)#line console 0 ;进入控制台口(Rs232)
swa(config-line)#password aa ;设置登录口令aa
swa(config-line)#login ;登录要求口令验证
swa(config-line)#line vty 0 4 ;进入虚拟终端virtual tty
swa(config-line)#password a ;设置登录口令a
swa(config-line)#login ;登录要求口令验证
swa(config-line)#exit ;返回上一层
swa(config)#exit ;返回上一层
swa#sh run ;看配置信息
swa#exit ;返回命令
swa>en
password: ;请问输入哪个口 (aaa)
secret是设置加密口令,一般都使用这种口令设置方式,它优先级高,
即没设置secret口令时,非加密口令才有效。 路由器的设置与交换机类似,双击RouterA,进入用户模式,例如:
router>en
router#conf t
router(config)#hostname roa
roa(config)#
......
......
与交换机相同,不再多述。
4. 清除交换机口令
清除交换机口令,实际中是在开机时按住交换机上的mode按钮,在
模拟软件中按Ctrl+Break,进入ROM方式switch:。
配置文件是flash:config.text,与nvarm:startup-configuse相同。
switch:flash_init
switch:dir flash:
switch:delete flash:config.text
switch:delete nvram:startup-configure
switch:boot 或
switch:reset
因为没有了配置文件,所以重新引导后会提示对话,要求进行配置。
有些情况下,最好用改名方法,修改口令后现将原配置恢复,再重新设置
口令后存盘。例如:
switch:flash_init
switch:rename flash:config.text flash:config.bak
switch:boot
....
switch>en
switch#copy flash:config.bak flash:running-configure
switch#conf t
switch(config)#en secret aaa
switch(config)#exit
switch#w 或
switch#copy run start
switch#reload
5. 清除路由器口令
路由器2621的配置文件不让删除和改名,需要采用设置寄存器开关的
方法实现。
实际当中是在上电时,按Ctrl+Break。在软件模拟中,双击RouterA
进入终端模式,再按Ctrl+Break进入rommon>状态,操作如下:rommon> ;进入ROM监控状态
rommon>confreg 0x2142 ;跳过配置文件适用26xx 36xx 45xx
rommon>reset ;重新引导,等效于重开机Continue with configuration dialog? [yes/no]:no
router>en
router#conf t
router(config)#enable secret bbb ;设置特权加密口令为 bbb
router(config)#config-register 0x2102 ;正常使用配置文件
router(config)#exit
router#exit
router>
router>en
password:bbb6. 备份IOS和配置文件
在实际工作中经常需要备份路由器的IOS和配置文件,以备系统有问题时的
恢复。可以这样操作:
router#dir nvram:
router#copy flash:c2621.bin tftp:
router#copy startup-config tftp:
router#

  • 交换机 路由器
  • 答:1. 交换机支持的命令: 交换机基本状态: switch: ;ROM状态, 路由器是rommon> hostname> ;用户模式 hostname# ;特权模式 hostname(config)# ;全局配置模式 hostname(config-if)# ;接口状态 交换机口令设置: switch>enable ;进入特权模式 switch#config terminal ;进入全局配置模式 switch(config)#hostname ;设置...

  • 求Cisco路由器和交换机基本配置命令
  • 答:setup 配置路由器参数 show 显示系统运行信息 telnet 远程登录功能 tracert 跟踪到目的地经过了哪些路由器 unmonitor 关闭用户屏幕调试信息输出开关 write 将当前配置参数保存至FLASH MEM中 全局配置模式 aaa-enable 使能配置AAA(认证,授权和计费)access-list 配置标准访问表 arp 设置静态ARP人口 chat-script...

  • 交换机配置命令翻译
  • 答:Cisco路由器交换机配置命令详解 1. 交换机支持的命令:交换机基本状态:switch: ;ROM状态, 路由器是rommon> hostname> ;用户模式 hostname# ;特权模式 hostname(config)# ;全局配置模式 hostname(config-if)# ;接口状态 交换机口令设置:switch>enable ;进入特权模式 switch#config terminal ;...

  • 华为路由器配置命令
  • 答:ifconfigeth0netmask;设置IP地址 ifconfigeht0netmaskdown;禁用IP地址 routeadd0.0.0.0gw;设置网关 routedel0.0.0.0gw;删除网关 routeadddefaultgw;设置网关 routedeldefaultgw;删除网关 route;显示网关 ping;发ECHO包 telnet;远程登录 二、华为路由器交换机配置命令:交换机命令 [Quidway]discur;...

  • 请问基本思科三层交换机配置命令有哪些 思科三层交换机配置命令介绍_百 ...
  • 答:搭载先进的安全防护系统,搜狗高速浏览器为您的网络生活提供全方位保护。访问https://sogou.37moyu.com/,立即下载体验。 基本思科三层交换机配置命令 1. 交换机支持的命令: 交换机基本状态:switch: ;ROM状态, 路由器是rommon>hostname> ;用户模式hostname# ;特权模式hostname(config)# ;全局配置...

  • 显示路由器或交换机配置信息的命令是什么?
  • 答:sw1(config-line)#login(载入)//路由器同理 5.配置特权模式密码:明文:sw1(config)#enable password 密码 简写:ena p 密码 密文:sw1(config)#enable secret 密码 简写 :ena s 密码 //路由器同理 6.配置加密密文密码:sw1(config)#service password-encryption 简写:ser p 7.路由密码恢复...

  • CISCO路由器交换机部分命令
  • 答:Access-enable 允许路由器在动态访问列表中创建临时访问列表入口Access-group 把访问控制列表(ACL)应用到接口上Access-list 定义一个标准的IP ACLAccess-template 在连接的路由器上手动替换临时访问列表入口Appn 向APPN子系统发送命令Atmsig 执行ATM信令命令B 手动引导操作系统Bandwidth 设置接口的带宽Banner motd 指定日期...

  • 基本思科三层交换机配置命令有哪些 思科三层交换机配置命令介绍-搜狗...
  • 答:无论是手机还是电脑,搜狗输入法都能提供快速、准确的输入体验。现在您可以轻松下载最新版本的搜狗输入法,享受极致的输入新体验。http://pinyin.37moyu.com/ 基本思科三层交换机配置命令 1. 交换机支持的命令: 交换机基本状态:switch: ;ROM状态, 路由器是rommon>hostname> ;用户模式hostname# ;...

  • 路由配置命令
  • 答:router#show interface ;显示接口信息 router#show ip route ;显示路由信息 router#show cdp nei ;显示邻居信息 router#reload ;重新起动 路由器口令设置:router>enable ;进入特权模式 router#config terminal ;进入全局配置模式 router(config)#hostname ;设置交换机的主机名 router(config)#en...

  • 交换机与路由器如何配置telnet
  • 答:台式机配置 ip:192.168.1.3 子网掩码:255.255.255.0 远程登录:telnet 192.168.1.2 输入远程登录密码 输入特权密码 登录成功 概要:1。交换机设置特权密码和远程登录密码及全局ip。2。交换机在设置line vty 0 时,登录线程可以改变,打问号查看。3。台式机设置ip和子网掩码 路由器的配置:Rou...

    相关内容

    首页 新知 身健
    返回顶部

    © 星空5G w.xkyn.com