a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 141|回复: 1

[CCNP] Cisco认证考试辅导:Switch命令(三)

[复制链接]
发表于 2012-8-3 20:20:19 | 显示全部楼层 |阅读模式
41. 配置默认路由:   switch(enable) set ip route default gateway/ C4 l$ e4 v0 ]+ ]  Q1 G$ [
  42. 为一个路由处理器分配VLANID,可在接口模式下使用下列命令:! o& {) y) @8 b1 \
  router(config)# interface interface number
0 r" u2 F/ \% Y# A1 J; ?( d  router(config-if)# mls rp vlan-id vlan-id-num
! i$ F: K: V5 M  43. 在路由处理器启用MLSP:
- b/ d9 c5 Q8 [7 I6 g. v4 [  router(config)# mls rp ip0 {" H5 Q/ o9 L9 P, N
  44. 为了把一个外置的路由处理器接口和交换机安置在同一个VTP域中:+ r* @0 X6 F7 U
  router(config)# interface interface number# z) W- v0 d2 s  q4 e
  router(config-if)# mls rp vtp-domain domain-name
1 o. H& w( `2 w& c  45. 查看指定的VTP域的信息:
- g( Q* ]& ?% D0 |  router# show mls rp vtp-domain vtp domain name
4 _  T" S- [7 h7 H, R  46. 要确定RSM或路由器上的管理接口,可以在接口模式下输入下列命令:
/ m0 u6 }1 l4 U9 D6 J' {9 @  router(config-if)#mls rp management-interface: ~& ^% P$ ?  ?  k- O3 |
  47. 要检验MLS-RP的配置情况:  y4 _% x! z1 e, v# r
  router# show mls rp" @. Y0 V# p! H3 k
  48. 检验特定接口上的MLS配置:
# b: b1 R' D& s7 }" [  router# show mls rp interface interface number% M$ u: Y) D% }
  49. 为了在MLS-SE上设置流掩码而又不想在任一个路由处理器接口上设置访问列表:& c) I2 S/ Q% I' ?2 u: `" S% w6 m
  set mls flow [destination|destination-source|full]! W7 b( q* u$ k) i! V
  50. 为使MLS和输入访问列表可以兼容,可以在全局模式下使用下列命令:
3 p9 g: K+ Y3 p0 A  router(config)# mls rp ip input-acl
% L) c3 w7 y7 c1 V% f  51. 当某个交换机的第3层交换失效时,可在交换机的特权模式下输入下列命令:
4 [  Z( |& Y+ [+ S- n- \/ s, I  switch(enable) set mls enable8 F  X" _; L3 J2 ^5 W
  52. 若想改变老化时间的值,可在特权模式下输入以下命令:
( c7 _. y/ k9 d. h3 D  switch(enable) set mls agingtime agingtime$ I9 o/ u& h- {. Y" [, c! _
  53. 设置快速老化:0 i  I1 e& a9 f7 K! l- q8 L5 V
  switch(enable) set mls agingtime fast fastagingtime pkt_threshold9 g/ P# J2 b; a2 I
  54. 确定那些MLS-RP和MLS-SE参与了MLS,可先显示交换机引用列表中的内容再确定:
8 Z& E# X5 E. C, ]  switch(enable) show mls include
+ j/ t1 R  f$ }) j  55. 显示MLS高速缓存记录:
1 n$ A7 w" P: N4 u, J6 v  switch(enable) show mls entry
; ?' @0 s0 I: S( w, v  56. 用命令show in arp显示ARP高速缓存区的内容。( W3 k; o4 U' g# ~* ~$ n' G
  57. 要把路由器配置为HSRP备份组的成员,可以在接口配置模式下使用下面的命令:( b( Z5 X, |# f# Q/ ?9 ^2 W
  router(config-if)# standby group-number ip ip-address# T0 r; a+ `; }$ }# P
  58. 为了使一个路由器重新恢复转发路由器的角色,在接口配置模式下:0 [$ O2 ~6 L, m* n6 G8 X
  router(config-if)# standy group-number preempt
回复

使用道具 举报

 楼主| 发表于 2012-8-3 20:20:20 | 显示全部楼层

Cisco认证考试辅导:Switch命令(三)

</p>  59. 访问时间和保持时间参数是可配置的:/ b# Z* m3 ^4 r6 D) }
  router(config-if)# standy group-number timers hellotime holdtime2 H( A1 x: {$ e, A5 I
60. 配置HSRP跟踪:5 L) ^8 M/ y6 v. j' O
  router(config-if)# standy group-number track type-number interface-priority. \( ~0 l- {1 s" r- r
  61. 要显示HSRP路由器的状态:; M' {, p! B" Q6 P$ {3 f
  router# show standby type-number group brief5 B2 x/ d) p/ \( L6 V  Q
  62. 用命令show ip igmp确定当选的查询器。' P% F5 K7 X6 I2 l& U1 z& C
  63. 启动IP组播路由选择:
5 c8 M% o" H/ E# c; R9 N. T  router(config)# ip muticast-routing
1 p; h7 r4 W* U6 ]) W  64. 启动接口上的PIM:
  h- c1 o7 A. |2 Z4 ~' c* @  _4 l  dalllasr1>(config-if)# ip pim {dense-mode|sparse-mode|sparse-dense-mode}& |- H( N: e, p
  65. 启动稀疏-稠密模式下的PIM:6 q; G- C6 v  a) L; d" z
  router# ip multicast-routing1 J: l9 [' {# ^# Y- Q, v
  router# interface type number" ]6 {# X  L; W
  router# ip pim sparse-dense-mode
+ @. h. l: c( P* j1 l0 O4 t  66. 核实PIM的配置:7 Y1 A% j0 @# v
  dallasr1># show ip pim interface[type number] [count]6 O8 Z  y6 H  l: r* B$ I1 b
  67. 显示PIM邻居:3 R0 P* s4 C; H0 G
  dallasr1># show ip neighbor type number$ [8 I5 d! Y8 j% y0 q8 t5 V
  68. 为了配置RP的地址,命令如下:
. R9 i% C! g1 l  [$ q  c  dallasr1># ip pim rp-address ip-address [group-access-list-number][override]
) \/ V4 w9 P/ Q) y* y' _  69. 选择一个默认的RP:
- `+ O5 j# r- Y  dallasr1># ip pim rp-address
0 s  N# s: o8 d7 H- q  I, T$ e  通告RP和它所服务的组范围:/ Q' n  \" [; x9 @9 f
  dallasr1># ip pim send-rp-announce type number scope ttl group-list access-list-number
/ o/ ~% @1 h2 {7 ~/ w8 C* _  为管理范围组通告RP的地址:
. |9 O: H* C! W4 v" F0 p8 v0 H  dallasr1># ip pim send-rp-announce ethernet0 scope 16 group-list1* p: s4 V) o% T5 ]2 b. U$ C) X0 j
  dallasr1># access-list 1 permit 266.0.0.0 0.255.255.2554 Z2 y. W1 p! e6 L; R' r0 i8 K; K8 H
  设定一个RP映像代理:9 g# g7 P( a: c" S* l, V. S
  dallasr1># ip pim send-rp-discovery scope ttl
1 S. @( h2 s4 S" i/ C1 Z  核实组到RP的映像:
3 [  h+ H. T1 W! @, q+ h3 o  dallasr1># show ip pim rp mapping# ]1 q" |' Z) R$ J1 {
  dallasr1># show ip pim rp [group-name|group-address] [mapping]
. i' t' j$ o  p# @$ s& |& ]  70. 在路由器接口上用命令ip multicast ttl-threshold ttl-value设定TTL阀值:* y$ e6 t/ l2 o0 ?% {  K; Q% J7 f
  dallasr1>(config-if)# ip multicast ttl-threshold ttl-value
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-1 22:39 , Processed in 0.188581 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表