网络操作设备VRP

一、VRP简介

 

二、网络设备的管理
(1)console口:

(2)telnet:
(3)SSH:安全的远程登录
(4)通过WEB页面登录 三、命令行常见操作
<Huawei>用户模式,只能做一些查看的操作
<Huawei>system-view 进入系统模式
[Huawei] 系统模式
基本命令操作
[Huawei]sysname R1 修改设备名称
[R1]interface GigabitEthernet 0/0/0 进入接口模式,配置IP地址
[R1-GigabitEthernet0/0/0]
[R1-GigabitEthernet0/0/0]ip address 192.168.1.254 24 配置IP地址
quit:返回上一个模式
<R1>save 保存当前配置
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
<R1>reset saved-configuration 清楚设备当前配置
Are you sure? (y/n)[n]:y
Clear the configuration in the device successfully.
<R1>reboot 重启设备
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration.
Continue ? [y/n]:n
System will reboot! Continue ? [y/n]:y
[telnet server-GigabitEthernet0/0/0]ip add 192.168.2 24
^ 错误提示符
Error: Wrong parameter found at '^' position.
Tab:自动补全命令
?:命令提示
常见的查看操作
<Huawei>display version 查看版本信息
<Huawei>display current-configuration 查看本设备当前的配置
<Huawei>dis mac-address 查看MAC地址表
四、实践
1、Telnet协议
telnet原理:利用TCP连接,创造一条客户端和对端设备之间的通道,以便于登录到对端设备,telnet是一个C/S模式,默认端
口号:23
telnet功能:
提供虚拟终端功能;
协商选项机制;
telnet实验基础配置
aaa模式: AAA 是认证 (Authentication) 、授权 (Authorization) 和计费 (Accounting)
[telnet server-aaa]local-user wangdaye privilege level 15 password cipher wdy12345 创建用户
名和密码,并赋予用户一定的权限
[telnet server]user-interface vty 0 4 提供虚拟终端功能,设置能登录的用户数量
[telnet server-ui-vty0-4]authentication-mode aaa 设备用户的人认证模式
[telnet server-aaa]local-user wangdaye service-type telnet 开启用户的远程登录服务

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值