命令行基础VRP

版权声明:由LP小子原创,转载请注明出处 https://blog.csdn.net/qq1373577937/article/details/86490880

命令集合

system-view 系统视图
systemname RT  设置路由器名称为RT
clock timezone BJ add 08:00:00  设置+8区
clock datetime 10:20:00 2018-11-11  设置时间
display clock   显示当前时间

header login information "提示信息"    设置标题信息  (登录时出现)
header shell information "警告信息"     设置标题信息

command-privilege level3  view user  save    设置命令级别   save 等级为3

user-interface vty 0 4         0-5个线路进行配置

idle-timeout   设置超时时间
screen-length   屏幕显示长度  一次输出长度   禁止为0
history-command max-size   设置历史命令缓冲区的大小

user privilege   配置制定用户界面下的用户级别
dis this   显示当前下的配置
user privilege level 2       
  set authentication password cipher huawei   会对华为进行加密

interface GigabitEthernet 0/0/0    进入0接口配置
ip address 10.0.12.1 255.255.255.0    可简写     ip  add 10.0.12.2 255.255.255.0

初始化界面

 

进入系统视图

system-view

进入接口视图

interface GigabitEthernet 0/0/0

协议视图进入

命令行功能  (跟linux相似)

设置标题信息 

命令等级

配置用户界面命令

设置登录权限

配置接口ip地址

猜你喜欢

转载自blog.csdn.net/qq1373577937/article/details/86490880
今日推荐