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 |