首页 > 其他 > 详细

关于eNsp的配置基础

时间:2020-12-07 09:40:02      阅读:45      评论:0      收藏:0      [点我收藏+]

设备命令(华为ensp)

网络搭建步骤

1、拓扑设计
2、IP地址规划--按照拓扑中划分的网络范围,规划网络位不同的IP地址
3、配置
1)配置各个节点的IP地址
2)路由--全网可达
3)测试--ping
4)策略
5)优化
6)排错
4、维护和升级

基础配置

 <Huawei>system-view										//进入系统模式
 <Huawei>save       										//保存配置
 <Huawei>reboot												//重启设备
 <Huawei>clock datetime 20:20:20 2019-11-1  				//修改设备时间
 [Huawei]													[]--系统模式,可以配置
 [Huawei]quit												//退出
 [Huawei]sysname **											//修改设备名称
 [r1]user-interface console 0   							//进入console口
 [r1-ui-console0]set authentication password cipher 123  	//设置密码
 [r1]display ip interface brief   							//查看设备接口摘要信息
 [r1]display ip routing-table    							//查看路由表

命令零碎知识

一、设备命令帮助系统英文显示:
tab键 ---自动补全命令
? ---查看未知的命令和单词
↑ ↓ ---翻找历史命令

? Pre:优先级,范围0-255,默认静态路由的优先级为60,表示一条路径的可信度,数字越小可信度越高。
? Cost:开销(度量值),衡量一条路径的优劣程度,数字越小越优秀

二、接口格式

1、<haha>clock ?				
  datetime              Specify the time and date
  daylight-saving-time  Configure daylight saving time
  timezone              Configure time zone
  命令格式              命令解释
2、[r1]display ip interface brief 
Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              unassigned           down       down      
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down  


Interface:接口    GigabitEthernet    0/0/0
					接口模式           接口编号
Physical:表示接口能否识别电流
Protocol:表示接口能否传递数据
down--不能
up--能

接口模式:
	1)Ethernet--10M
	2)FastEthernet--100M
	3)GigabitEthernet--1000M
	4)Ten-GigabitEthernet--10000M
	5)Forty-GigabitEthernet--40000M
	6)X-GigabitEthernet--100000M
3、<r1>display ip routing-table protocol static      //查看路由表
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Public routing table : Static
         Destinations : 5        Routes : 5        Configured Routes : 5

Static routing table status : <Active>
         Destinations : 5        Routes : 5

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        0.0.0.0/0   Static  60   0          RD   172.16.32.2     GigabitEthernet0/0/1
       10.1.0.0/22  Static  60   0           D   0.0.0.0         NULL0
    172.16.64.0/19  Static  60   0          RD   172.16.32.2     GigabitEthernet0/0/1
    172.16.96.0/19  Static  60   0          RD   172.16.32.2     GigabitEthernet0/0/1
   172.16.128.0/19  Static  60   0          RD   172.16.32.2     GigabitEthernet0/0/1
Static routing table status : <Inactive>
         Destinations : 0        Routes : 0

接口配置

[r1]interface GigabitEthernet 0/0/0  					//进入接口
[r1-GigabitEthernet0/0/0]ip address 192.168.1.1 22   	//配置IP地址
[r1-GigabitEthernet0/0/0]undo ip address   				//删除IP地址

关于eNsp的配置基础

原文:https://www.cnblogs.com/lm13572902276/p/14086702.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!