eNSP交换路由基础

Posted leisurelyrd

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了eNSP交换路由基础相关的知识,希望对你有一定的参考价值。

技术分享图片

  1 要求:
  2 
  3   1.保证各节点正常通信(可ping通)
  4 
  5   2.可以telnet到AR1
  6 
  7 步骤:
  8 
  9 PC1:
 10 
 11   IP address:10.0.0.3
 12 
 13   Mask:255.255.255.0
 14 
 15   gateway:10.0.0.1
 16 
 17 PC2:
 18 
 19   IP address:20.0.0.3
 20 
 21   Mask:255.255.255.0
 22 
 23   gateway:20.0.0.1
 24 
 25 SW1:
 26 
 27   <Huawei>system-view
 28 
 29   [Huawei]sysname SW1
 30 
 31   [SW1]interface Vlanif 1
 32 
 33   [SW1-Vlanif1]ip address 10.0.0.2 24
 34 
 35   [SW1]ip route-static 0.0.0.0 0 10.0.0.1
 36 
 37 SW2:
 38 
 39   <Huawei>system-view
 40 
 41   [Huawei]sysname SW2
 42 
 43   [SW2]interface Vlanif 1
 44 
 45   [SW2-Vlanif1]ip address 20.0.0.2 24
 46 
 47   [SW2]ip route-static 0.0.0.0 0 20.0.0.1
 48 
 49 R1:
 50 
 51   <Huawei>system-view
 52   Enter system view, return user view with Ctrl+Z.
 53   [Huawei]sysname R1
 54   [R1]display ip interface brief
 55   *down: administratively down
 56   ^down: standby
 57   (l): loopback
 58   (s): spoofing
 59   The number of interface that is UP in Physical is 3
 60   The number of interface that is DOWN in Physical is 0
 61   The number of interface that is UP in Protocol is 1
 62   The number of interface that is DOWN in Protocol is 2
 63   
 64   Interface                         IP Address/Mask      Physical   Protocol  
 65   GigabitEthernet0/0/0              unassigned           up         down      
 66   GigabitEthernet0/0/1              unassigned           up         down      
 67   NULL0                             unassigned           up         up(s)    
 68 
 69   [R1]interface GigabitEthernet 0/0/0
 70   [R1-GigabitEthernet0/0/0]ip address 10.0.0.1 24
 71 
 72   [R1-GigabitEthernet0/0/0]q
 73   [R1]interface GigabitEthernet 0/0/1
 74   [R1-GigabitEthernet0/0/1]ip address 20.0.0.1 24
 75 
 76 至此要求1解决。
 77 
 78 此时在SW1 telnet R1有如下报错信息。
 79 
 80 SW1:
 81 
 82   <SW1>telnet 10.0.0.1
 83   Trying 10.0.0.1 ...
 84   Press CTRL+K to abort
 85   Connected to 10.0.0.1 ...
 86 
 87   Dont support null authentication-mode.
 88   Info: The connection was closed by the remote host.
 89 
 90 解决:
 91 
 92 R1:
 93 
 94   [R1]user-interface vty 0 4
 95 
 96   [R1-ui-vty0-4]set authentication password cipher password
 97 
 98 此时,可以登录。
 99 
100 SW1:
101 
102   <SW1>telnet 10.0.0.1
103   Trying 10.0.0.1 ...
104   Press CTRL+K to abort
105   Connected to 10.0.0.1 ...
106   
107   Login authentication
108   
109   
110   Password:
111   <R1>sys
112       ^
113   Error: Unrecognized command found at ^ position.
114 
115 此时虽然可以登录,但不能切换到系统视图
116 
117 R1:
118 
119   [R1-ui-vty0-4]user privilege level 15
120 
121 SW1:
122 
123   <SW1>telnet 10.0.0.1
124   Trying 10.0.0.1 ...
125   Press CTRL+K to abort
126   Connected to 10.0.0.1 ...
127 
128   Login authentication
129 
130 
131   Password:
132   <R1>sys
133   Enter system view, return user view with Ctrl+Z.

 

以上是关于eNSP交换路由基础的主要内容,如果未能解决你的问题,请参考以下文章

ensp可以打开交换机打开不了路由设备

【网络工程师配置篇】——BGP路由基础配置(eNSP)

ensp路由器怎么配置静态路由

ensp中一台路由器一台交换机,两台pc怎么配置ospf

网络起源及架构 设备介绍 ENSP安装

网络起源及架构 设备介绍 ENSP安装