》Huawei-R&S-网络工程师实验笔记20190615-IP基础(AR201上配置IP)
》》实验开始,先上拓扑图参考:
》》》一般正常配置IP操作如下,问题在于无法继续:
[AR1]int e0/0/0 [AR1-Ethernet0/0/0]ip address 192.168.1.1 24 ^ Error: Unrecognized command found at '^' position. [AR1-Ethernet0/0/0]
》》》》这是怎么回事呢?原来eNSP上对AR201这款路由器只设定了Ethernet接口,而且本来eNSP就对Ethernet接口定义了二层接口功能,故而无法配置IP。解决办法也是有的,两种方案可以成功:
1、在eNSP中直接换个型号,除了AR201其他型号都有GE口,都可以配置IP地址。
2、坚持AR201的话,可采用vlan方案,该方案又有两种模式,具体如下:
[AR1]vlan 10 [AR1-vlan10]int vlan 10 //务必进入vlanif配置 [AR1-Vlanif10]ip address 1.1.1.1 255.255.255.0 [AR1-Vlanif10]quit [AR1]
[AR1]interface Ethernet0/0/0 //先试试Access方案 [Huawei-Ethernet0/0/0]port ? default Specify current port's PVID VLAN characteristics link-type Switch port link type priority Specify current port's priority [AR1-Ethernet0/0/0]port link-type access //配置为Access模式 [AR1-E