( u& Q* x$ E# x& T. [: U关闭报错 提示9 C+ |7 P. ^# Q* S! _" P
undo terminal monitor
2 |& X3 a$ p7 \2 w6 {% t, F6 `- s; n! ] j* P
dis wlan ap all
# ^5 _ V1 E! M4 `
8 |. m6 Z: ~; d+ M4 u! R4 s7 P6 n4 c6 u# b1 A
display stp brief
& [5 |9 T; M z$ u; g, G- H
6 _& ]! E3 k# X7 m; R9 ~
: j( [; S. ~5 E9 B' c' r& ~$ j! {7 }+ j0 S" Uping -c 1000 172.15.100.253
( |- g Z+ `5 U5 L' x
( f) p8 \: j. W$ f1 ^$ S
. {% }9 M' |) _' Ztelnet server enable
; I- H0 y( ` P' R8 E0 i. {5 }, P8 R. b- i5 e0 n- R! K
二层转换三层
6 @- j+ Y8 s1 i8 Sundo portswitch: l1 x# u4 H0 y7 T2 y8 K; I, W
5 B, e+ c6 M: b& vdis this
0 m. H$ i1 L) L5 M
3 {/ \4 s6 Y) V" y% b7 B. L$ X
6 ~# h7 N1 g+ b/ V$ p/ A; w+ N' r
: @9 h4 q2 E! ], z- U, p, r) ?<H3C>display int g; l, [ ~ A- G1 Z+ ]: n1 H/ [4 w! S
( s1 T% o5 |4 e& a0 p<H3C>dis int range g 1/0/1 to g1/0/24' ?# S4 V9 H& d+ u4 E+ G" x
/ O: Q" n" K/ y+ _) r( o: |
, s7 s. U) h/ d: O老设备:dis br int ' t; w, D! ?% T7 o: T; d
: H+ j- X2 r7 a" k
' e- @+ {+ X, E# b/ W
查看剩余IP:dis ip pool5 K& {% p" B0 l8 k3 l+ c/ A
1 K4 E* {6 n0 D6 q" \
0 r/ w( G3 a8 Q批量配置. p8 Z7 h! r& E
interface range GigabitEthernet 1/0/25 to GigabitEthernet 1/0/28) }2 _8 V7 p' _. y b4 }
) c% G/ r( |" |' M n
1 T J( J+ X5 J) t0 L6 | A4 j. ddis int br
: Q6 X1 g/ \+ U' t* l8 q4 N
3 ]* w1 I* Z# e2 x5 T2 j$ v/ U+ A) e5 L! L0 w; i1 m0 N# a) o. M. z5 o
3 q9 O7 \4 x8 I( E8 U' L" w5 X" V
% h h2 ?! z+ A
- N* \6 R! x6 e$ F' nuser-interface aux 0
8 j* e4 w, y4 c, U9 v. X) M4 `authentication-mode password
L# I9 B( V- {/ A8 iset authentication password simple admin12345. U8 o; H0 O2 h$ l
* \2 N" N* b' b5 L/ a7 k8 Q
- ^$ L T. [& ~% _& f( i: w) K6 V* S& a8 W y2 x$ u
& D& d+ x1 ?, g% n) R! {' O" Kip route-static 0.0.0.0 0.0.0.0 192.168.17.1
+ m! r0 z7 ^9 \9 k- M: f7 c9 T9 F/ M2 S y. V- }7 K6 D. F9 o
华为查看交换机dhcp已经分配+ Q; f: w: h) }. k7 [2 X
dis ip pool interface Vlanif99' J' A3 s" @. a) k+ P9 O: } x
0 z! @+ O9 O8 E! O9 q; s; s" k7 `0 T% e$ [
user-interface aux 04 n# ~4 G) N" V+ W) `5 l; X
authentication-mode password
. C1 S( ?4 S8 a2 ` set authentication password simple admin12345' \' w7 k2 s, ^' r
user-interface vty 0 14
7 H2 B$ G# e3 l/ V' o$ u8 } user privilege level 3
a0 U6 w% s; [7 T1 d, v0 P" q set authentication password simple admin12345
v# C- p4 _" F% Fuser-interface vty 15
8 \+ s) t8 N& {. o0 m: `% U, g# A- f% o9 y8 {
% a5 L" \2 l7 V8 Q
, |, _* f* L& Q3 g9 ^6 q. t! N
! e9 J7 I& Z L1 A: I
! Q( ~7 Q6 u; c" H' Dinterface Vlanif22
. s( d, g7 z" a* f+ j& m description ==jiankongjieru20#1f2: S" _/ e# s8 _* `
ip address 192.168.17.5 255.255.255.0' i4 c; M* {! v6 k2 A0 K, E
& I4 U- H1 p5 w8 |5 E$ x% |( N+ U B$ E3 j. d' n$ z/ B! m: y
华为:Telnet 192.168.0.2
0 } h8 H" R) R8 G一,password模式:
* V9 I! A2 W H5 R2 Y: Buser-interface vty 0 4
- a1 c/ ]3 D. [" ?1 u. @ authentication-mode password: k8 k9 h; P6 k
set authentication password simple admin123451 r8 T% B! m5 e; l! y
user privilege level 2
* H: k0 V4 v2 p9 |9 rprotocol inbound telnet. k/ \9 @' u6 _9 E) d9 J
7 N& t: N$ H% B) n* m7 d7 [
4 H2 v$ Q2 q; G, M6 _& |3 G4 M二,aaa模式
9 u p8 x& y- ^% y/ l6 |# ~1 u- Puser-interface vty 0 4
2 E, P6 E3 p' N, K! s9 v/ Eauthentication-mode aaa; r7 s- X& O& M$ e7 r) w1 w
aaa! {5 k, F4 N# t% ]6 E2 s
local-user admin password cipher huawei
+ q0 P& ^; ~% g' g/ q7 @local-user admin privilege level 155 f2 F; ^) q% ^! K6 w
local-user admin service-type telnet7 v- A% D' F6 P; u8 s: Y( K5 Z
& M' a9 n ?. A' h4 X' F6 f
, N7 l2 n& }7 i2 }' A, b. M0 m |