eNSP的安装和配置
一、 eNSP的安装
安装eNSP需要下载以下三个软件环境
正常安装即可

二、 eNSP的配置
将路由拖到空白处,右键设置

插槽可扩容,认识接口

右键路由ctl,进入命令行

右键路由点击数据抓包并选择线路可进行抓包

想要抓包首先要ping通
sy
int g0/0/0 # 线路
ip add 12.1.1.1 24 # 添加IP
dis cur # 查看配置
ping 12.1.1.1 24 # ping命令
两个路由器ping通之后可以开始抓包
配置用户登录显示的标题步骤:
[AR01]header login information “wellcom to BJ”
[AR01]user-interface console 0 给console口设置密码
[AR01-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):123.com
配置用户登录后显示的标题信息:
[AR01]header shell information “don’t reboot the device!!!”
#输入q退出去,或者CTRL+]直接断开连接
计时从没有命令输入开始,有输入从新计时,锁屏后需要重新进入console口再次设置:
[AR01]user-interface console 0 # 进入console口
[AR01-ui-console0]idle-timeout 30 10 #设置30分10秒后锁屏
[AR01-ui-console0]idle-timeout 1 # 设置1分钟后锁屏
[AR01-ui-console0]idle-timeout 0 5 # 设置1分钟后锁屏
#存在隐患的配置命令idle-timeout 0 0永不锁屏,生产环境不要配
[AR01-ui-console0]history-command max-size 5 # 设置历史命令缓冲区大小
[AR01-ui-console0]dis history-command # 查看能存储的所有历史命令,或者使用快捷键上下翻找
AR01上配置远程用户界面:
sy
[huawei]user-interface vty 0 4
[huawei-ui-vty0-4]dis th # 查看配置情况,如果没有密码,需要添加
[huawei-ui-vty0-4]authentication-mode password # 设置密码
[huawei-ui-vty0-4]user privilege level 15 # 设置安全级别,最高15
[huawei-ui-vty0-4]protocol inbound telnet # 允许远程配置,默认配置可跳过这一步
[huawei-ui-vty0-4]dis th
[huawei-ui-vty0-4]q
[huawei]telnet server enable #默认配置可跳过这一步,一般都开着,返回如下信息
Error: TELNET server has been enabled
AR02上连接AR01,进入用户模式,即尖括号包裹
telnet 12.1.1.2
然后输入设置的密码即可连接
ctrl+] 返回