CISCO½»»»»úÅäÖÃÃüÁî´óÈ«
1.ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÉèÖÃÖ÷»úÃû/ϵͳÃû:
switch(config)# hostname hostname
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÉèÖÃÖ÷»úÃû/ϵͳÃû:
switch(enable) set system name name-string
2.ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÉèÖõǼ¿ÚÁî:
switch(config)# enable password level 1 password
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÉèÖõǼ¿ÚÁî:
switch(enable) set password
switch(enable) set enalbepass
3.ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÉèÖÃÔ¶³Ì·ÃÎÊ:
switch(config)# interface vlan 1
switch(config-if)# ip address ip-address netmask
switch(config-if)# ip default-gateway ip-address
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÉèÖÃÔ¶³Ì·ÃÎÊ:
switch(enable) set interface sc0 ip-address netmask broadcast-address
switch(enable) set interface sc0 vlan
switch(enable) set ip route default gateway
4.ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÆôÓúÍä¯ÀÀCDPÐÅÏ¢:
switch(config-if)# cdp enable
switch(config-if)# no cdp enable
ΪÁ˲鿴CiscoÁÚ½ÓÉ豸µÄCDPͨ¸æÐÅÏ¢:
switch# show cdp interface [type modle/port]
switch# show cdp neighbors [type module/port] [detail]
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÆôÓúÍä¯ÀÀCDPÐÅÏ¢:
switch(enable) set cdp {enable|disable} module/port
ΪÁ˲鿴CiscoÁÚ½ÓÉ豸µÄCDPͨ¸æÐÅÏ¢:
switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail]
5.»ùÓÚIOSµÄ½»»»»úµÄ¶Ë¿ÚÃèÊö:
switch(config-if)# description description-string
»ùÓÚCLIµÄ½»»»»úµÄ¶Ë¿ÚÃèÊö:
switch(enable)set port name module/number description-string
6.ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÉèÖö˿ÚËÙ¶È:
switch(config-if)# speed{10|100|auto}
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÉèÖö˿ÚËÙ¶È:
switch(enable) set port speed moudle/number {10|100|auto}
switch(enable) set port speed moudle/number {4|16|auto}
7.ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÉèÖÃÒÔÌ«ÍøµÄÁ´Â·Ä£Ê½:
switch(config-if)# duplex {auto|full|half}
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÉèÖÃÒÔÌ«ÍøµÄÁ´Â·Ä£Ê½:
switch(enable) set port duplex module/number {full|half}
8.ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÅäÖþ²Ì¬VLAN:
switch# vlan database
switch(vlan)# vlan vlan-num name vla
switch(vlan)# exit
switch# configure teriminal
switch(config)# interface interface module/number
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan vlan-num
switch(config-if)# end
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÅäÖþ²Ì¬VLAN:
switch(enable) set vlan vlan-num [name name]
switch(enable) set vlan vlan-num mod-num/port-list
9. ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÅäÖÃVLANÖмÌÏß:
switch(config)# interface interface mod/port
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk encapsulation {isl|dotlq}
switch(config-if)# switchport trunk allowed vlan remove vlan-list
switch(config-if)# switchport trunk allowed vlan add vlan-list
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÅäÖÃVLANÖмÌÏß:
switch(enable) set trunk module/port [on|off|desirable|auto|nonegotiate]
Vlan-range [isl|dotlq|dotl0|lane|negotiate]
10.ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÅäÖÃVTP¹ÜÀíÓò:
switch# vlan database
switch(vlan)# vtp domain domain-name
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÅäÖÃVTP¹ÜÀíÓò:
switch(enable) set vtp [domain domain-name]
11.ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÅäÖÃVTP ģʽ:
switch# vlan database
switch(vlan)# vtp domain domain-name
switch(vlan)# vtp {sever|cilent|transparent}
switch(vlan)# vtp password password
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÅäÖÃVTP ģʽ:
switch(enable) set vtp [domain domain-name] [mode{ sever|cilent|transparent }][password password]
12. ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÅäÖÃVTP°æ±¾:
switch# vlan database
switch(vlan)# vtp v2-mode
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÅäÖÃVTP°æ±¾:
switch(enable) set vtp v2 enable
13. ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÆô¶¯VTP¼ô²Ã:
switch# vlan database
switch(vlan)# vtp pruning
ÔÚ»ùÓÚCL I µÄ½»»»»úÉÏÆô¶¯VTP¼ô²Ã:
switch(enable) set vtp pruning enable
14.ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÅäÖÃÒÔÌ«ÐŵÀ:
switch(config-if)# port group group-number [distribution {source|destination}]
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÅäÖÃÒÔÌ«ÐŵÀ:
switch(enable) set port channel moudle/port-range mode{on|off|desirable|auto}
15.ÔÚ»ùÓÚIOSµÄ½»»»»úÉϵ÷Õû¸ù·¾¶³É±¾:
switch(config-if)# spanning-tree [vlan vlan-list] cost cost
ÔÚ»ùÓÚCLIµÄ½»»»»úÉϵ÷Õû¸ù·¾¶³É±¾:
switch(enable) set spantree portcost moudle/port cost
switch(enable) set spantree portvlancost moudle/port [cost cost][vlan-list]
16.ÔÚ»ùÓÚIOSµÄ½»»»»úÉϵ÷Õû¶Ë¿ÚID:
switch(config-if)# spanning-tree[vlan vlan-list]port-priority port-priority
ÔÚ»ùÓÚCLIµÄ½»»»»úÉϵ÷Õû¶Ë¿ÚID:
switch(enable) set spantree portpri {mldule/port}priority
switch(enable) set spantree portvlanpri {module/port}priority [vlans]
17. ÔÚ»ùÓÚIOSµÄ½»»»»úÉÏÐÞ¸ÄSTPʱÖÓ:
switch(config)# spanning-tree [vlan vlan-list] hello-time seconds
switch(config)# spanning-tree [vlan vlan-list] forward-time seconds
` switch(config)# spanning-tree [vlan vlan-list] max-age seconds
ÔÚ»ùÓÚCLIµÄ½»»»»úÉÏÐÞ¸ÄSTPʱÖÓ:
switch(enable) set spantree hello interval[vlan]
switch(enable) set spantree fwddelay delay [vlan]
switch(enable) set spantree maxage agingtiame[vlan]
18. ÔÚ»ùÓÚIOSµÄ½»»»»ú¶Ë¿ÚÉÏÆôÓûò½ûÓÃPort Fast ÌØÕ÷:
switch(config-if)#spanning-tree portfast
ÔÚ»ùÓÚCLIµÄ½»»»»ú¶Ë¿ÚÉÏÆôÓûò½ûÓÃPort Fast ÌØÕ÷:
switch(enable) set spantree portfast {module/port}{enable|disable}
19. ÔÚ»ùÓÚIOSµÄ½»»»»ú¶Ë¿ÚÉÏÆôÓûò½ûÓÃUplinkFast ÌØÕ÷:
switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second]
ÔÚ»ùÓÚCLIµÄ½»»»»ú¶Ë¿ÚÉÏÆôÓûò½ûÓÃUplinkFast ÌØÕ÷:
switch(enable) set spantree uplinkfast {enable|disable}[rate update-rate] [all-protocols off|on]
20. ΪÁ˽«½»»»»úÅäÖóÉÒ»¸ö¼¯ÈºµÄÃüÁî½»»»»ú,Ê×ÏÈÒª¸ø¹ÜÀí½Ó¿Ú·ÖÅäÒ»¸öIPµØÖ·,È»ºóʹÓÃÏÂÁÐÃüÁî: switch(config)# cluster enable cluster-name
21. ΪÁË´ÓÒ»ÌõÖмÌÁ´Â·ÉÏɾ³ýVLAN,¿ÉʹÓÃÏÂÁÐÃüÁî:
switch(enable) clear trunk module/port vlan-range
22. ÓÃshow vtp domain ÏÔʾ¹ÜÀíÓòµÄVTP²ÎÊý.
23. ÓÃshow vtp statisticsÏÔʾ¹ÜÀíÓòµÄVTP²ÎÊý.
24. ÔÚCatalyst½»»»»úÉ϶¨ÒåTrBRFµÄÃüÁîÈçÏÂ:
switch(enable) set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}]
25. ÔÚCatalyst½»»»»úÉ϶¨ÒåTrCRFµÄÃüÁîÈçÏÂ:
switch (enable) set vlan vlan-num [name name] type trcrf
{ring hex-ring-num|decring decimal-ring-num} parent vlan-num
26. ÔÚ´´½¨ºÃTrBRF VLANÖ®ºó,¾Í¿ÉÒÔ¸øËü·ÖÅä½»»»»ú¶Ë¿Ú.¶ÔÓÚÒÔÌ«Íø½»»»,¿ÉÒÔ²ÉÓÃÈçÏÂÃüÁî¸øVLAN·ÖÅä¶Ë¿Ú:
switch(enable) set vlan vlan-num mod-num/port-num
27. ÃüÁîshow spantreeÏÔʾһ¸ö½»»»»ú¶Ë¿ÚµÄSTP״̬.
28. ÅäÖÃÒ»¸öELANµÄLESºÍBUS,¿ÉÒÔʹÓÃÏÂÁÐÃüÁî:
ATM (config)# interface atm number.subint multioint
ATM(config-subif)# lane serber-bus ethernet elan-name
29. ÅäÖÃLECS:
ATM(config)# lane database database-name
ATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-address
ATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-address
ATM(lane-config-databade)# name ¡
30. ´´½¨ÍêÊý¾Ý¿âºó,±ØÐëÔÚÖ÷½Ó¿ÚÉÏÆô¶¯LECS.ÃüÁîÈçÏÂ:
ATM(config)# interface atm number
ATM(config-if)# lane config database database-name
ATM(config-if)# lane config auto-config-atm-address
31. ½«Ã¿¸öLECÅäÖõ½Ò»¸ö²»Í¬µÄATM×Ó½Ó¿ÚÉÏ.ÃüÁîÈçÏÂ:
ATM(config)# interface atm number.subint multipoint
ATM(config)# lane client ethernet vlan-num elan-num
32. ÓÃshow lane server ÏÔʾLESµÄ״̬.
33. ÓÃshow lane busÏÔʾbusµÄ״̬.
34. ÓÃshow lane databaseÏÔʾLECSÊý¾Ý¿â¿ÉÄÚÈÝ.
35. ÓÃshow lane clientÏÔʾLECµÄ״̬.
36. ÓÃshow moduleÏÔʾÒѰ²×°µÄÄ£¿éÁбí.
37. ÓÃÎïÀí½Ó¿Ú½¨Á¢ÓëVLANµÄÁ¬½Ó:
router# configure terminal
router(config)# interface media module/port
router(config-if)# description description-string
router(config-if)# ip address ip-addr subnet-mask
router(config-if)# no shutdown
38. ÓÃÖмÌÁ´Â·À´½¨Á¢ÓëVLANµÄÁ¬½Ó:
router(config)# interface module/port.subinterface
router(config-ig)# encapsulation[isl|dotlq] vlan-number
router(config-if)# ip address ip-address subnet-mask
39. ÓÃLANE À´½¨Á¢ÓëVLANµÄÁ¬½Ó:
router(config)# interface atm module/port
router(config-if)# no ip address
router(config-if)# atm pvc 1 0 5 qsaal
router(config-if)# atm pvc 2 0 16 ilni
router(config-if)# interface atm module/port.subinterface multipoint
router(config-if)# ip address ip-address subnet-mask
router(config-if)# lane client ethernet elan-num
router(config-if)# interface atm module/port.subinterface multipoint
router(config-if)# ip address ip-address subnet-name
router(config-if)# lane client ethernet elan-name
router(config-if)# ¡
40. ΪÁËÔÚ·ÓÉ´¦ÀíÆ÷ÉϽøÐж¯Ì¬Â·ÓÉÅäÖÃ,¿ÉÒÔÓÃÏÂÁÐIOSÃüÁîÀ´½øÐÐ:
router(config)# ip routing
router(config)# router ip-routing-protocol
router(config-router)# network ip-network-number
router(config-router)# network ip-network-number
41. ÅäÖÃĬÈÏ·ÓÉ:
switch(enable) set ip route default gateway
42. Ϊһ¸ö·ÓÉ´¦ÀíÆ÷·ÖÅäVLANID,¿ÉÔÚ½Ó¿ÚģʽÏÂʹÓÃÏÂÁÐÃüÁî:
router(config)# interface interface number
router(config-if)# mls rp vlan-id vlan-id-num
43. ÔÚ·ÓÉ´¦ÀíÆ÷ÆôÓÃMLSP:
router(config)# mls rp ip
44. ΪÁ˰ÑÒ»¸öÍâÖõÄ·ÓÉ´¦ÀíÆ÷½Ó¿ÚºÍ½»»»»ú°²ÖÃÔÚͬһ¸öVTPÓòÖÐ:
router(config)# interface interface number
router(config-if)# mls rp vtp-domain domain-name
45. ²é¿´Ö¸¶¨µÄVTPÓòµÄÐÅÏ¢:
router# show mls rp vtp-domain vtp domain name
46. Ҫȷ¶¨RSM»ò·ÓÉÆ÷ÉϵĹÜÀí½Ó¿Ú,¿ÉÒÔÔÚ½Ó¿ÚģʽÏÂÊäÈëÏÂÁÐÃüÁî:
router(config-if)#mls rp management-interface
47. Òª¼ìÑéMLS-RPµÄÅäÖÃÇé¿ö£º
router# show mls rp
48. ¼ìÑéÌØ¶¨½Ó¿ÚÉϵÄMLSÅäÖãº
router# show mls rp interface interface number
49. ΪÁËÔÚMLS-SEÉÏÉèÖÃÁ÷ÑÚÂë¶øÓÖ²»ÏëÔÚÈÎÒ»¸ö·ÓÉ´¦ÀíÆ÷½Ó¿ÚÉÏÉèÖ÷ÃÎÊÁÐ±í£º
set mls flow [destination|destination-source|full]
50. ΪʹMLSºÍÊäÈë·ÃÎÊÁбí¿ÉÒÔ¼æÈÝ£¬¿ÉÒÔÔÚÈ«¾ÖģʽÏÂʹÓÃÏÂÁÐÃüÁ
router(config)# mls rp ip input-acl
51. µ±Ä³¸ö½»»»»úµÄµÚ3²ã½»»»Ê§Ð§Ê±£¬¿ÉÔÚ½»»»»úµÄÌØÈ¨Ä£Ê½ÏÂÊäÈëÏÂÁÐÃüÁ
switch(enable) set mls enable
52. ÈôÏë¸Ä±äÀÏ»¯Ê±¼äµÄÖµ£¬¿ÉÔÚÌØÈ¨Ä£Ê½ÏÂÊäÈëÒÔÏÂÃüÁ
switch(enable) set mls agingtime agingtime
53. ÉèÖÿìËÙÀÏ»¯£º
switch(enable) set mls agingtime fast fastagingtime pkt_threshold
54. È·¶¨ÄÇЩMLS-RPºÍMLS-SE²ÎÓëÁËMLS£¬¿ÉÏÈÏÔʾ½»»»»úÒýÓÃÁбíÖеÄÄÚÈÝÔÙÈ·¶¨£º
switch(enable) show mls include
55. ÏÔʾMLS¸ßËÙ»º´æ¼Ç¼£º
switch(enable) show mls entry
56. ÓÃÃüÁîshow in arpÏÔʾARP¸ßËÙ»º´æÇøµÄÄÚÈÝ¡£
57. Òª°Ñ·ÓÉÆ÷ÅäÖÃΪHSRP±¸·Ý×éµÄ³ÉÔ±£¬¿ÉÒÔÔÚ½Ó¿ÚÅäÖÃģʽÏÂʹÓÃÏÂÃæµÄÃüÁ
router(config-if)# standby group-number ip ip-address
58. ΪÁËʹһ¸ö·ÓÉÆ÷ÖØÐ»ָ´×ª·¢Â·ÓÉÆ÷µÄ½ÇÉ«£¬ÔÚ½Ó¿ÚÅäÖÃģʽÏ£º
router(config-if)# standy group-number preempt
59. ·ÃÎÊʱ¼äºÍ±£³Öʱ¼ä²ÎÊýÊÇ¿ÉÅäÖõģº
router(config-if)# standy group-number timers hellotime holdtime
60. ÅäÖÃHSRP¸ú×Ù£º
router(config-if)# standy group-number track type-number interface-priority
61. ÒªÏÔʾHSRP·ÓÉÆ÷µÄ״̬£º
router# show standby type-number group brief
62. ÓÃÃüÁîshow ip igmpÈ·¶¨µ±Ñ¡µÄ²éѯÆ÷¡£
63. Æô¶¯IP×鲥·ÓÉÑ¡Ôñ£º
router(config)# ip muticast-routing
64. Æô¶¯½Ó¿ÚÉϵÄPIM£º
dalllasr1>(config-if)# ip pim {dense-mode|sparse-mode|sparse-dense-mode}
65. Æô¶¯Ï¡Êè-³íÃÜģʽϵÄPIM£º
router# ip multicast-routing
router# interface type number
router# ip pim sparse-dense-mode
66. ºËʵPIMµÄÅäÖãº
dallasr1># show ip pim interface[type number] [count]
67. ÏÔʾPIMÁÚ¾Ó£º
dallasr1># show ip neighbor type number
68. ΪÁËÅäÖÃRPµÄµØÖ·£¬ÃüÁîÈçÏ£º
dallasr1># ip pim rp-address ip-address [group-access-list-number][override]
69. Ñ¡ÔñÒ»¸öĬÈϵÄRP£º
dallasr1># ip pim rp-address
ͨ¸æRPºÍËüËù·þÎñµÄ×鷶Χ£º
dallasr1># ip pim send-rp-announce type number scope ttl group-list access-list-number
Ϊ¹ÜÀí·¶Î§×éͨ¸æRPµÄµØÖ·£º
dallasr1># ip pim send-rp-announce ethernet0 scope 16 group-list1
dallasr1># access-list 1 permit 266.0.0.0 0.255.255.255
É趨һ¸öRPÓ³Ïñ´úÀí£º
dallasr1># ip pim send-rp-discovery scope ttl
ºËʵ×éµ½RPµÄÓ³Ïñ£º
dallasr1># show ip pim rp mapping
dallasr1># show ip pim rp [group-name|group-address] [mapping]
70. ÔÚ·ÓÉÆ÷½Ó¿ÚÉÏÓÃÃüÁîip multicast ttl-threshold ttl-valueÉ趨TTL·§Öµ£º
dallasr1>(config-if)# ip multicast ttl-threshold ttl-value
71. ÓÃshow ip pim neighborÏÔʾPIMÁÚ¾Ó±í¡£
72. ÏÔʾ×鲥ͨÐÅ·ÓɱíÖеĸ÷Ìõ¼Ç¼£º
dallasr1>show ip mroute [group-name|group-address][scoure][summary][count][active kbps]
73. Òª¼Ç¼һ¸ö·ÓÉÆ÷½ÓÊܺͷ¢Ë͵ÄÈ«²¿IP×é²¥°ü£º
dallasr1> #debug ip mpacket [detail] [access-list][group]
74. ÒªÔÚCISCO·ÓÉÆ÷ÉÏÅäÖÃCGMP£º
dallasr1>(config-if)# ip cgmp
75.ÅäÖÃÒ»¸ö×鲥·ÓÉÆ÷£¬Ê¹Ö®¼ÓÈëijһ¸öÌØ¶¨µÄ×é²¥×飺
dallasr1>(config-if)# ip igmp join-group group-address
76. ¹Ø±Õ CGMP£º
dallasr1>(config-if)# no ip cgmp
77. Æô¶¯½»»»»úÉϵÄCGMP£º
dallasr1>(enable) set cgmp enable
78. ºËʵCatalyst½»»»»úÉÏCGMPµÄÅäÖÃÇé¿ö£º
catalystla1>(enable) show config
set prompt catalystla1>
set interface sc0 192.168.1.1 255.255.255.0
set cgmp enable
79. CGMPÀ뿪µÄÉèÖãº
Dallas_SW(enable) set cgmp leave
80. ÔÚCiscoÉ豸ÉÏÐ޸ĿØÖƶ˿ÚÃÜÂ룺
R1(config)# line console 0
R1(config-line)# login
R1(config-line)# password Lisbon
R1(config)# enable password Lilbao
R1(config)# login local
R1(config)# username student password cisco
81. ÔÚCiscoÉ豸ÉÏÉèÖÿØÖÆÌ¨¼°vty¶Ë¿ÚµÄ»á»°³¬Ê±£º
R1(config)# line console 0
R1(config-line)# exec-timeout 5 10
R1(config)# line vty 0 4
R1(config-line)# exec-timeout 5 2
82. ÔÚCiscoÉ豸ÉÏÉè¶¨ÌØÈ¨¼¶£º
R1(config)# privilege configure level 3 username
R1(config)# privilege configure level 3 copy run start
R1(config)# privilege configure level 3 ping
R1(config)# privilege configure level 3 show run
R1(config)# enable secret level 3 cisco
83. ʹÓÃÃüÁîprivilege ¿É¶¨ÒåÔÚ¸ÃÌØÈ¨¼¶ÏÂʹÓõÄÃüÁ
router(config)# privilege mode level level command
84. É趨Óû§ÌØÈ¨¼¶£º
router(config)# enable secret level 3 dallas
router(config)# enable secret san-fran
router(config)# username student password cisco
85. ±êÖ¾ÉèÖÃÓëÏÔʾ£º
R1(config)# banner motd ¡®unauthorized access will be prosecuted!¡¯
86. ÉèÖÃvty·ÃÎÊ£º
R1(config)# access-list 1 permit 192.168.2.5
R1(config)# line vty 0 4
R1(config)# access-class 1 in
87. ÅäÖÃHTTP·ÃÎÊ£º
Router3(config)# access-list 1 permit 192.168.10.7
Router3(config)# ip http sever
Router3(config)# ip http access-class 1
Router3(config)# ip http authentication local
Router3(config)# username student password cisco
88. ÒªÆôÓÃHTTP·ÃÎÊ£¬Çë¼üÈëÒÔÏÂÃüÁ
switch(config)# ip http sever
89. ÔÚ»ùÓÚsetÃüÁîµÄ½»»»»úÉÏÓÃsetCL1Æô¶¯ºÍºËʵ¶Ë¿Ú°²È«£º
switch(enable) set port security mod_num/port_num¡enable mac address
switch(enable) show port mod_num/port_num
ÔÚ»ùÓÚCiscoIOSÃüÁîµÄ½»»»»úÉÏÆô¶¯ºÍºËʵ¶Ë¿Ú°²È«£º
switch(config-if)# port secure [mac-mac-count maximum-MAC-count]
switch# show mac-address-table security [type module/port]
90. ÓÃÃüÁîaccess-listÔÚ±ê׼ͨÐÅÁ¿¹ýÂ˱íÖд´½¨Ò»Ìõ¼Ç¼£º
Router(config)# access-list access-list-number {permit|deny} source-address [source-address]
91. ÓÃÃüÁîaccess-listÔÚÀ©Õ¹Í¨ÐÅÁ¿¹ýÂ˱íÖд´½¨Ò»Ìõ¼Ç¼£º
Router(config)# access-list access-list-number {permit|deny{protocol|protocol-keyword}}{source source-wildcard|any}{destination destination-wildcard|any}[protocol-specific options][log]
92. ¶ÔÓÚ´øÄÚ·ÓɸüУ¬ÅäÖ÷ÓɸüеÄ×î»ù±¾µÄÃüÁî¸ñʽÊÇ£º
R1(config-router)#distribute-list access-list-number|name in [type number]
93. ¶ÔÓÚ´øÍâ·ÓɸüУ¬ÅäÖ÷ÓɸüеÄ×î»ù±¾µÄÃüÁî¸ñʽÊÇ£º
R1(config-router)#distribute-list access-list-number|name out [interface-name] routing-process| autonomous-system-number
94. set snmpÃüÁîÑ¡Ï
set snmp community {read-only|ready-write|read-write-all}[community_string]
95. set snmp trap ÃüÁî¸ñʽÈçÏ£º
set snmp trap {enable|disable}
[all|moudle|classis|bridge|repeater| auth|vtp|ippermit|vmps|config|entity|stpx]
set snmp trap rvcr_addr rcvr_community
96. ÆôÓÃSNMP chassis ÏÝÚå:
Console>(enable) set snmp trap enable chassis
97. ÆôÓÃËùÓÐSNMP chassis ÏÝÚå:
Console>(enable) set snmp trap enable
¡¡¡¡ÒÔÏÂÓÉaboutÓÚ2002Äê12ÔÂ6ÈÕÔö¼Ó¡¡¡¡
98. ½ûÓÃSNMP chassis ÏÝÚå:
Console>(enable) set snmp trap disable chassis
99. ¸øSNMPÏÝÚå½ÓÊÕ±í¼ÓÒ»Ìõ¼Ç¼£º
Console>(enable) set snmp trap 192.122.173.42 public
100. show snmp Êä³ö½á¹û¡£
101. ÃüÁîset snmp rmon enable µÄÊä³ö½á¹û¡£
102. ÏÔʾSPANÐÅÏ¢£º
Consile> show spanCISCO½»»»»úÅäÖÃÃüÁî´óÈ« |