- 积分
- 125
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 20
- 听众
- 收听
助理工程师
 
|
发表于 2018-5-25 21:15:20
|
显示全部楼层
& @4 V+ e3 A4 M% [7 m: b請問題目是像這樣嗎?
: Y& i0 ^$ \4 U4 k2 k/ H6 n% p1 Y2 v$ x' U& I U
QUESTION 1 i' j# B g, E
The following commands are issued on a Cisco Router: $ A& x" k6 `) Q6 Y& f- v# @
Router(configuration)#access-list 199 permit tcp host 10.1.1.1 host
* f: _8 @/ U- m8 d' O+ x. {) ?+ C172.16.1.1 0 e; N* F+ E0 @& B
Router(configuration)#access-list 199 permit tcp host 172.16.1.1 host 5 }3 i* b4 U9 E5 g D! J+ d
10.1.1.1
$ G8 [3 ^* v QRouter(configuration)#exit
/ S# ?1 d/ J# I3 ^' NRouter#debug ip packet 199 4 @3 q5 }6 I+ k7 P
What will the debug output on the console show? - h+ u: }7 S1 f) \6 u1 M9 y
A. All IP packets passing through the router
# e: R5 _# f$ |' x& V3 g! VB. Only IP packets with the source address of 10.1. 1.1 0 E4 l5 t+ v- I9 w# A
C. All IP packets from 10.1.1.1 to 172.16.1.1 3 J% r: w& R4 V- A
D. All IP Packets between 10.1.1.1 and 172.16.1.1
/ O$ r N( s( n3 W5 VAnswer: D
) f* ^) n( C9 ^' S
- x0 d x g( _' B' h* f. gExplanation:1 D* _4 {% E1 {8 T
In this example, the "debug ip packet" command is tied to access list 199, specifying which IP - a8 f1 v: ^6 r1 S) L9 B# C
packets should be debugged. Access list 199 contains two lines, one going from the host with IP # @* L9 n. d# B. f. Q" b+ [7 D
address 10.1.1.1 to 172.16.1.1 and the other specifying all TCP packets from host 172.16.1.1 to
* x0 C4 b1 x6 f/ X, h10.1.1.1. " m* h1 y# n) d6 j) L8 I, x5 K
& ^* G5 C2 |3 q( g/ T0 |7 f- HQUESTION 2
# m, i; O7 Y0 O* _ SWhat level of logging is enabled on a Router where the following logs are seen? %LINK-3-
" l% i% W2 [( T: V& t( B9 FUPDOWN: - d- b8 v+ z. g8 j* l
Interface FastEthernet0/1, changed state to up % LINEPROTO-5-UPDOWN: 2 D; i9 s9 O7 Q4 }) M( \
Line protocol on Interface FastEthernet0/1, changed state to up
5 w& R0 H! |! R3 T4 XA. alerts 0 V5 Q* n B6 p& ~& k+ U1 i
B. critical 5 d1 A, [2 \* W, b5 W3 x. k. M* Z
C. errors $ o! v# E1 B) G5 q5 J M" v$ l( C/ p
D. notifications
& ]% ]( E1 x, Z: ?4 D+ JAnswer: D Y, b6 Z3 {2 F9 Z4 q2 T
( t0 J0 ~4 M9 a7 \. _, N6 L. v
Explanation:7 H+ D" j, S& C! Y
Cisco routers, switches, PIX and ASA firewalls prioritize log messages into 8 levels (0-7), as & H: u3 R7 u, b
shown below: ( ?* t9 `" O, L
LevelLevel NameDescription ; m& A$ L: \( I* [4 a4 \# k* j
0 Emergencies System is unusable
7 E% t, x3 F) v9 H4 X* s% p1 Alerts Immediate action needed & Q0 g' [# h M
2 Critical Critical conditions
2 M8 S; N' T# u9 f) ^, o+ R& `' S3 Errors Error conditions
9 w6 q( [/ ~" r& A# _' x4 Warnings Warning conditions
5 j8 X" J o' i5 Notifications Informational messages . z- D0 ]4 J) |
6 Informational Normal but significant conditions
/ `. Y7 | [5 o" y2 s. |7 Debugging Debugging messages 0 K; ^5 W8 @+ s+ u) a$ j
When you enable logging for a specific level, all logs of that severity and greater (numerically % q2 ?% U+ v3 j/ b# E
less) will be logged. In this case we can see that logging level of 3 (as seen by the 3 in "LINK-3-
f! M8 Q& s1 Y0 fUPDOWN") and level 5 (as seen by the 5 in "LINEPROTO-5-UPDOWN") are shown, which 6 A; i( o4 E1 Z; X; m
means that logging level 5 must have been configured. As shown by the table, logging level 5 is
, O [3 ?5 ?* s: o0 L( W8 @" Z6 r; s
QUESTION 3 - t5 C; n; l8 R9 M6 ^, k0 C {4 m+ n
You have the followings commands on your Cisco Router: ( o, T6 T$ ?% `% \6 k
ip ftp username admin : u% ^ ^: a% x) F/ V& k4 R
ip ftp password backup
: h# B6 @* r8 B" m1 f6 D& |) NYou have been asked to switch from FTP to HTTP. Which two commands will you use to replace
- j0 [$ h2 }, a5 t r; k: f* [( wthe existing commands?
: M. ?/ }) V- t! b- l$ ~' DA. ip http username admin
9 t( J- I3 P9 y# oB. ip http client username admin
6 |; e$ k3 A# y: b& PC. ip http password backup 2 O7 c; n; o# A. m: i( T2 P! V
D. ip http client password backup ! L Q w) A3 t. W. v% O
E. ip http server username admin
. i( M& l: `+ B9 |8 \( NF. ip http server password backup ( `* V5 k1 z7 G
Answer: BD * f4 |5 Q* O$ s8 _& R6 D
5 f( m* i; v. [+ D5 Z
Explanation:
, R7 n2 j- u! \, I7 HConfiguring the HTTP Client
" L3 D' n t( z4 {& Q0 ^/ ^Perform this task to enable the HTTP client and configure optional client characteristics. The
! b+ ]7 Z+ I* ^( l% [standard HTTP 1.1 client and the secure HTTP client are always enabled. No commands exist to
/ D, j! @9 E0 S3 U! i; p* n/ kdisable the HTTP client. For information about configuring optional characteristics for the HTTPS % c2 `, k K4 p
client, see the HTTPS-HTTP Server and Client with SSL 3.0, Release 12.2(15)T, feature module. |
25#
2018-5-25 21:15:20
回复(0)
收起回复
|