Huawei-R&S-网络工程师实验笔记20190615-IP基础(AR201上配置IP)
》Huawei-R&S-网络工程师实验笔记20190615-IP基础(AR201上配置IP)
》》实验开始,先上拓扑图参考:

》》》一般正常配置IP操作如下,问题在于无法继续:
[AR1]int e0//
[AR1-Ethernet0//]ip address 192.168.1.1
^
Error: Unrecognized command found at '^' position.
[AR1-Ethernet0//]
》》》》这是怎么回事呢?原来eNSP上对AR201这款路由器只设定了Ethernet接口,而且本来eNSP就对Ethernet接口定义了二层接口功能,故而无法配置IP。解决办法也是有的,两种方案可以成功:
1、在eNSP中直接换个型号,除了AR201其他型号都有GE口,都可以配置IP地址。
2、坚持AR201的话,可采用vlan方案,该方案又有两种模式,具体如下:
[AR1]vlan
[AR1-vlan10]int vlan //务必进入vlanif配置
[AR1-Vlanif10]ip address 1.1.1.1 255.255.255.0
[AR1-Vlanif10]quit
[AR1]
[AR1]interface Ethernet0// //先试试Access方案 [Huawei-Ethernet0//]port ?
default Specify current port's PVID VLAN characteristics
link-type Switch port link type
priority Specify current port's priority [AR1-Ethernet0//]port link-type access //配置为Access模式
[AR1-Ethernet0//]port default vlan //Access下可以通过vlan10 [AR1]dis ip int bri
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is
The number of interface that is DOWN in Physical is
The number of interface that is UP in Protocol is
The number of interface that is DOWN in Protocol is Interface IP Address/Mask Physical Protocol
Ethernet0// unassigned down down
NULL0 unassigned up up(s)
Vlanif10 192.168.1.1/ up up //IP配置成功了
[AR1]
[AR1]int e0//0 //其实,不管是Access还是Trunk都是为了E0/0/0接口可以连通其他设备,纯粹配置IP是没有意义的。现在我们开始Trunk方案。 [AR1-Ethernet0//]port link-type trunk //前面不是设置成Access了嘛,想直接改是不行的
Error: Please renew the default configurations. [AR1-Ethernet0//]undo port default vlan //得先取消vlan配置(如果在trunk前提下改Access,怎么改?命令是什么?)
Jun ::-: AR1 %%01IFNET//IF_STATE(l)[]:Interface Vlanif10 has
turned into DOWN state. [AR1-Ethernet0//]port link-type trunk //现在设置trunk就没问题了
[AR1-Ethernet0//]port ?
link-type Switch port link type
priority Specify current port's priority
trunk Trunk port
[AR1-Ethernet0//]port trunk ? //这两种都试一下,先试试PVID
allow-pass Allowed vlan
pvid Specify current port's PVID VLAN characteristics [AR1-Ethernet0//]port trunk pvid vlan
[AR1-Ethernet0//]dis ip int bri
[AR1-Ethernet0//]q
[AR1]q
<AR1>ping 192.168.1.2
PING 192.168.1.2: data bytes, press CTRL_C to break
Request time out
--- 192.168.1.2 ping statistics ---
packet(s) transmitted
packet(s) received
100.00% packet loss //PVID不通,再试试allow-pass [AR1]int e0//
[AR1-Ethernet0//]port trunk allow-pass vlan
Jun ::-: AR1 %%01IFNET//IF_STATE(l)[]:Interface Vlanif10 has
turned into UP state.
[AR1-Ethernet0//]q
[AR1]dis ip int bri
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is
The number of interface that is DOWN in Physical is
The number of interface that is UP in Protocol is
The number of interface that is DOWN in Protocol is Interface IP Address/Mask Physical Protocol
Ethernet0// unassigned down down
NULL0 unassigned up up(s)
Vlanif10 192.168.1.1/ up up
[AR1]q <AR1>ping 192.168.1.2
PING 192.168.1.2: data bytes, press CTRL_C to break
Reply from 192.168.1.2: bytes= Sequence= ttl= time= ms
Reply from 192.168.1.2: bytes= Sequence= ttl= time= ms
Reply from 192.168.1.2: bytes= Sequence= ttl= time= ms
Reply from 192.168.1.2: bytes= Sequence= ttl= time= ms
Reply from 192.168.1.2: bytes= Sequence= ttl= time= ms --- 192.168.1.2 ping statistics ---
packet(s) transmitted
packet(s) received
0.00% packet loss
round-trip min/avg/max = // ms //这时候就能ping通了
<AR1>
未完待续。。。
Huawei-R&S-网络工程师实验笔记20190615-IP基础(AR201上配置IP)的更多相关文章
- Huawei-R&S-网络工程师实验笔记20190607-STP生成树协议(基本配置、桥优先级、根桥选举、根端口、路径开销、边缘端口)
>Huawei-R&S-网络工程师实验笔记20190607-STP生成树协议(基本配置.桥优先级.根桥选举.根端口.路径开销.边缘端口) >>实验开始,先上拓扑图参考: &l ...
- Huawei-R&S-网络工程师实验笔记20190608-VLAN划分基础(基于端口、MAC地址、子网地址、协议)
>Huawei-R&S-网络工程师实验笔记20190608-VLAN划分基础(基于端口.MAC地址.子网地址.协议) >>实验开始,先上拓扑图参考: 一.基于端口划分VLAN ...
- Huawei-R&S-网络工程师实验笔记20190525-设备登录、VRP基本配置、文件系统
>Huawei-R&S-网络工程师实验笔记20190525-设备登录.VRP基本配置.文件系统(环回接口.telnet远程.AAA登录.命令行.时钟.banner.文件目录) >& ...
- Huawei-R&S-网络工程师实验笔记20190524-VRP的系统、接口视图下基本操作
>Huawei-R&S-网络工程师实验笔记20190524-VRP的系统.接口视图下基本操作(重命名.配置IP.VLAN接口.双工模式.console口) >>实验开始,先上 ...
- Huawei-R&S-网络工程师实验笔记20190530-FTP上传下载、STelnet登录、SFTP登录
>Huawei-R&S-网络工程师实验笔记20190530-FTP上传下载.STelnet登录.SFTP登录 >>实验开始,参考<Huawei-R&S-网络工程 ...
- Huawei-R&S-网络工程师实验笔记20190527-华为设备密码重置、设置web管理
>Huawei-R&S-网络工程师实验笔记20190527-华为设备密码重置.设置web管理 >>实验开始(使用SecureCRT 等工具软件): 一.华为设备密码重置,通过 ...
- Huawei-R&S-网络工程师实验笔记20190609-VLAN划分综合(Hybrid端口)
>Huawei-R&S-网络工程师实验笔记20190609-VLAN划分综合(Hybrid端口) >>实验开始,先上拓扑图参考: >>>实验目标:分别实现主 ...
- Huawei-R&S-网络工程师实验笔记20190609-VLAN划分综合(Access和Trunk端口)
>Huawei-R&S-网络工程师实验笔记20190609-VLAN划分综合(Access和Trunk端口) >>实验开始,先上拓扑图参考: >>>实验目标 ...
- 20155328 网络攻防 实验五:MSF基础应用
20155328 网络攻防 实验五:MSF基础应用 实践内容及过程记录 一.Windows服务渗透攻击----ms08_067 攻击机:kali 靶机:WindowsXP(英文版) 第一步,分别查看攻 ...
随机推荐
- Windows API函数大全
WindowsAPI函数大全(精心总结) 目录 1. API之网络函数... 1 2. API之消息函数... 1 3. API之文件处理函数... 2 4. API之打印函数... 5 5. API ...
- linux知识目录
linux 知识目录 linux 前台后台程序切换命令总结 shell脚本从入门到精通 Ubuntu下如何用命令运行deb安装包 <linux就该这么学>学习笔记
- 题解报告:poj 2533 Longest Ordered Subsequence(最长上升子序列LIS)
Description A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence ...
- Service官方教程(9)绑定服务时的注意事项
Binding to a Service Application components (clients) can bind to a service by calling bindService() ...
- Activity状态图、生命周期图(超详细),onSaveInstanceState只保存、恢复基本ui数据,持久数据不在这里保存。
1.Activity状态图 2.Activity生命周期简图 启动Activity: onCreate()—>onStart()—>onResume(),Activity进入running ...
- 3、InputStream
package com.io.file; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoun ...
- iOS9 关于明文HTTP报错的修复方法
报错:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. ...
- Sping Boot返回Json格式自定义
转载请注明http://www.cnblogs.com/majianming/p/8491020.html 在写项目过程中,遇到了需要定义返回的json字段格式的问题 例如在实体属性中,我有一个字段是 ...
- [转]C#委托Action、Action<T>、Func<T>、Predicate<T>
CLR环境中给我们内置了几个常用委托Action. Action<T>.Func<T>.Predicate<T>,一般我们要用到委托的时候,尽量不要自己再定义一 个 ...
- scala如何在任意方法中打印当前线程栈信息(StackTrace)
1.以wordcount为例 package org.apache.spark.examples import org.apache.spark.{SparkConf, SparkContext} / ...