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.配置一个组播路由器,使之加入某一个特定的组播组:
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
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 span
2008年12月18日
CCNP命令之switch(下)
2008年10月29日
CCNP命令之switch(上)
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
CCNP命令之CIT(上)
1. 清除接口计数
Router# clear counter [Ethernet | Serial | TokenRing| FDDI| ATM] [model/number]
2. 查看接口状态和统计信息等等
Router# show interface [Ethernet | Serial | TokenRing| FDDI| ATM] [model/number]
3. 显示直接连接的邻居
Router# show cdp neighbor [detail]
4. 显示所有路由器控制器上的信息
Router# show controllers [Ethernet |Serial | TokenRing| FDDI| ATM]
5. 显示ARP表
Router# show ip arp [ip-address] [hostname] [mac-address] [type number]
6. 显示关于发送和接收IPX数据包个数
Router# show novell traffic
7. 快速交换
Route(Config-if)# [no] [protocol] route-cache
8. 自主交换
Route(Config-if)# [no] [protocol] route-cache cbus
9. 硅交换
Route(Config-if)# [no] [protocol] route-cache sse
10.查看特定接口的协议信息
Route# show [protocol] interface type number
11.显示radius
Route# debug radius
12.设置cisco服务时间戳
Route(Config)# service timestamps type format
13.设置控制台记录
Route(Config)# logging console number
14.显示记录在缓冲区里面的信息
Route# show logging
15.测试IP地址
Router> ping x.x.x.x(扩展ping 是在Router# ping)
16.测试IPX地址
Router> ping ipx x.x.x.x.x.x(扩展ping是在Router# ping)
17.测试APPLETALK地址
Router> ping appletalk x.x.x.x.
18.测试IP设备之间的路径
Router> traceroute x.x.x.x
19.显示cisco设备软件、固件、硬件信息
Route# show version
20.显示内部缓冲器和接口缓冲区的状态
Route# show buffer
21.显示内存的使用情况
Route# show memory
22.显示处理器的使用情况
Route# show processes [cpu]
23.显示每个进程的内存数
Route# show processes memory
24.显示SP、CxBus控制器和接到该总线的卡的内容和微代码信息
Route# show controllers cxbus
25.显示路由器上运行的进程和中断的堆栈情况
Route# show tracks
26.显示所有的IP路由表
Route# show ip route
27.显示路由上启用的IP协议,并对每种协议有用的信息给出一个汇总
Route# show ip protocols
28.显示IP的统计信息
Route# show ip traffic
29.显示所有的IP 访问列表
Route# show ip access-lists number
30.调试IP ICMP信息
Route# debug ip icmp
31.清除ARP缓存
Route# clear arp-cache
32.显示IP rip路由表
Route# show ip route rip
33.显示IP RIP正在产生的事件
Route# debug ip rip events
34.显示IP RIP所有的信息
Route# debug ip rip
35.显示IP igrp路由表
Route# show ip route igrp
36.调试IP igrp正在产生的事件
Route# debug ip igrp events
37.调试IP igrp详细的传输信息
Route# debug ip igrp transactions
38.显示路由器配置IP ospf接口
Route# show ip ospf interface
39.显示路由器配置IP ospf
Route# show ip ospf
40.显示IP ospf邻居
Route# show ip ospf neighbor
41.显示IP ospf数据库
Route# show ip ospf database
42.显示ospf 虚连接的状态
Route# show ip ospf virtual-links
43.调试与OSPF的邻居信息
Route# debug ip ospf adjacencies
44.显示路由器上接收到的IP OSPF分组
Route# debug ip ospf packet
45.查看启用IP EIGRP接口
Route# show ip eigrp interface
46.显示IP EIGRP邻居
Route# show ip eigrp neighbor
47.显示IP EIGRP拓扑结构
Route# show ip eigrp topology
48.显示IP EIGRP 的流量
Route# show ip eigrp traffic
49.显示IP BGP汇总
Route# show ip bgp summary
50.显示所有IPX 路由
Route# show ipx route
51.显示所有接口IPX信息
Route# show ipx interface
52.显示IPX网络中可用的服务器
Route# show ipx servers
53.显示发送和接受的IPX报文总结
Route# show ipx traffic
54.显示IPX访问列表
Route# show ipx access-list number
55.查看IPX链路状态数据库
Route# show ipx nlsp database
56.查看NLSP邻居列表
Route# show ipx nlsp neighbors
57.显示IPX EIGRP 拓扑
Route# show ipx eigrp topology
58.显示IPX EIGRP邻居
Route# show ipx eigrp neighbor
59.调试IPX路由
Route# debug ipx routing
60.调试IPX NLSP每个进程
Route# show ipx nlsp events
61.调试IPX路由更新
Route# debug ipx routing events
62.调试实际的路由更新
Route# debug ipx routing activity
63.调试SAP事件更新
Route# debug ipx sap events
64.调试SAP事件更新细节
Route# debug ipx sap activity
65.显示appletalk路由
Route# show appletalk route
66.显示appletalk arp 表
Router# show appletalk arp
CCNP命令之CIT(下)
67. 显示appletalk 邻居
Route# show appletalk neighbor
68. 显示appletalk 区域
Route# show appletalk zone
69. 显示appletalk 访问列表
Route# show appletalk access-lists number
70. 显示 运行appletalk接口
Route# show appletalk interface
71. 显示appletalk 流量
Route# show appletalk traffic
72. 显示路由器appletalk配置设置和参数信息
Route# show appletalk globals
73. 显示路由器的本地名称和服务缓存
Route# show appletalk name-cache
74. 显示路由器所注册的NBP服务
Route# show appletalk nbp
75. 显示那些接口运行EIGRP
Route# show appletalk eigrp interface
76. 显示那些由EIGRP发现的邻居
Route# show appletalk eigrp neighbors
77. 显示哪些由EIGRP的拓扑
Route# show appletalk eigrp topology
78. 调试appletalk路由
Route# debug apple routing
79. 调试appletalk NBP协议
Route# debug apple nbp
80. 调试appletalk ZIP 信息
Route# debug apple zip
81. 调试appletalk 数据包
Route# debug apple packet
82. 调试appletalk arp
Route# debug apple arp
83. 调试appletalk错误输出
Route# debug apple error
84. 调试appletalk 事件
Route# debug apple events
85. 显示交换机的启动映像文件
show boot (Cat)
show bootflash (IOS)
86. 显示交换机上说安装的模块类型和状态
show module [mod_num] (Cat)
show module [mod_num | all] (IOS)
87. 显示特定端口的详细信息
show port [mod_num [/port_num] ](Cat)
show interface switchport [module module-number](IOS)
88. 在使用IOS的交换机上显示所有接口的状态或因出错而被禁用的状态
show interface status
89. 在使用IOS的交换机上制定模块上line错误
show interfaces counters errors [module mod_num]
90. 显示温度报警、总线占有率和系统运行事件等等
show system(Cat)
show environment alarm(IOS)
91. 显示交换机引导或模块被重置时每一个线路模块的完整的加电自检结果
show test [mod_num](Cat)
92. 在端口上面启用portfast
set spantree portfast mod_num/port_num [enable | disable](Cat)
spanning-port portfast(IOS)
93. 在端口上面启用uplinkfast
set spantree uplinkfast [enable | disable](Cat)
spaning-tree uplinkfast(IOS)
94. 在端口上面启用bockbonefast
set spantree backbonefast [enable |disable](Cat)
spanning-tree backbonefast(IOS)
95. 显示交换机的VLAN
show trunk [detail](Cat)
show interfaces trunk(IOS)
96. 设置vtp裁减
set vtp pruneligible [vlan-number](Cat)
vtp pruning(IOS)
97. 显示全部端口、IP地址以及启动/关闭的状态信息
show interface (Cat和IOS一样)
98. 显示日至
show log(Cat)
show logging(IOS)
99. 显示VLAN动态CAM
show cam dynamic(Cat)
show mac-address-table vlan(IOS)
100.显示MAC计数器的详细信息
show mac(Cat)
show mac-address-table detail(IOS)
101.显示交换机运行的参数
show Config [all](Cat)
show running-config(IOS)
102.显示镜像端口信息
show span (Cat)
show running-config(IOS)
103.显示指定VLAN或者模块端口的生成树协议信息
show spantree [vlan](Cat)
show spanning-tree [active] [vlan](IOS)
104.查看当前配置VTP域
show vtp domain(Cat)
show vtp status(IOS)
105.查看邻居
show cdp neighbor [detail]
106.查看ARP
show arp
107.查看frame-relay lmi信息
Router# show frame-relay lmi
108.查看frame-relay DLCI 之间的映射
Router# show frame-relay map
109.查看frame-relay PVC之间的信息
Router# show frame-relay pvc
110.调试frame-relay lmi
Router# debug frame-relay lmi
111.调试frame-relay 事件
Router# debug frame-relay events
112.调试frame-relay 包
Router# debug frame-relay packet
113.查看ISDN主接口
Router# show interface bri number
114.参看主接口的子接口
Router# show interface bri number number
115.查看ISDN物理层信息
Router# show controller bri number
116.查看ISDN状态
Router# show isdn status bri number
117.查看拨号
Router# show dialer
118.查看多连接
Router# show ppp multilink
119.调试ISDN 2层信息
Router# debug isdn q921
120.调试拨号
Router# debug dialer
121.调试ISDN 3层信息
Router# debug isdn q931
122.调试主接口
Router# debug BRI
123.调试PPP协议
Router# debug ppp negotiation
124.调试PPP认证
Router# debug ppp authentication
125.调试IP的数据包
Router# debug ip packet
CCNP命令之BCRAN
1.Modem自动配置和Modem能力数据库
modem autoconfigure [discovery | type modemcap-entry-name]
2.显示modemcap数据库项目
show modecap
3.向modemcap添加项目
modemcap edit [new_modem_name]
4.专用和交互PPP会话
Router(config-if)#async mode [dedicated | interactive]
Router(config-if)#ip unnumbered interface-type interface-number
Router(config-if)#peer default ip address {ip-address |dhcp |pool poolname}
Router(config)#ip local pool poolname start-address end-address
5.反向回拨客户配置
Router(config)#UserName username PassWord password(生成基于用户名的本地认证数据库)
Router(config-if)#PPP callback request
6.反向回拨服务器配置
Router(config)#uasername username password password(生成基于用户名的本地认证数据库)
Router(config-if) PPP callback accept
7.选择ISDN交换机类型
Router(config)#isdn switch-type switch type或者在端口模式下
Router(config-if)#isdn switch-type switch type
8.设置服务原型标识(SPID)
Router(Config-if)#isdn spid1 spid-number [ldn]
9.指定感兴趣的数据流触发ISDN
Router(config)#dialer-list dialer-group-number protocol protocol-name {permit |deny | list access-list-number | access-group}
Router(config-if)#dialer-group group-number
10.定义ISDN目的地相关参数
Router(config-if)#dialer map protocol next-hop-address [name hostname] [broadcast] dial-string
11.定义ISDN线路被切断之前可以保持空闲时间
Router(config-if)#dialer idle-timeout seconds
12.定义ISDN切断当前呼叫,给另一条线路空闲保持时间
Router(config-if)#dialer fast-idle seconds
13.定义发起另一个目的地呼叫接口负载门限(从1-255)
Router(config-if)#dialer load-threshold load [outbound | inbound | either]
14.多链路PPP
Router(config-if)#ppp multilink
15.ISDN拨号循环组配置
Router(config)#interface dialer group-number
Router(config-if)#dialer rotary-group group-number
16.ISDN拨号池配置文件
Router(config)#interface interface-number
Router(config-if)#dialer pool-member number
Router(config)#interface dialer number
Router(config-if)#dialer pool number
ISDN拨号循环组与ISDN拨号池相识,不过一个主要的区别在拨号循环组没有映射类的能力
17.拨号备份
back delay number-seconds(失败系统等待) number-seconds(恢复系统等待)
back load number-percent(主负载 激活) number-percent(主负载 停止)
18.为ISDN配置PRI
Router(config)isdn switch-type primary-ni
Router(config)controller [t1|e1] 0/0
Router(config-controller)#pri-group timeslot [1-24 | 1-30]
Router(config-controller)#framing esf
Router(config-controller)#linecode b8zs
Router(config-controller)#clock source line primary
Router(config)#interface serial 0/0:[23 | 15]
Router(config-if)#ip address x.x.x. x.x.x.x
Router(config-if)#isdn incoming-voice modem
19.700系列配置命令
Rem700>set switch [dms100 | 5ess | nt1] 设定700系列所用的交换类型
Rem700>set encapsulation[ppp| cppp] 定义700BRI的封装方式
Rem700>set ppp authentication incoming [chap | pap | none]进入呼叫的认证类型
Rem700>set ppp authentication outgoing [chap | pap | none]出去呼叫的认证类型
Rem700>set ppp secret 路由器发出呼叫所用的口令
Rem700>set active profile-name激活配置文件
20.700用户配置文件命令
Rem700> set user profile-name设置用户配置文件
Rem700:profile-name>set birdging [off | on] 设置桥接命令
Rem700:profile-name> set ip x.x.x.x设置IP地址
Rem700:profile-name>set ip netmask x.x.x.x设置子网掩码
Rem700:profile-name>set ip routing [on |off]设置IP路由
Rem700:profile-name>set number xxxxxx 设置呼叫的电话号码
21.700系列实现DHCP服务器
Rem700>set dhcp server启动dhcp服务
Rem700>set adderss x.x.x.x number设置dhcp分配IP地址和范围
Rem700>set dhcp netmask x.x.x.x设置dhcp分配IP地址的子网掩码
Rem700>set dhcp gateway primary x.x.x.x 设置网关的IP地址
Rem700>set dhcp dns primary x.x.x.x 设置DNS的IP地址
Rem700>set wins primary x.x.x.x 设置WINS的IP地址
Rem700>set dhcp domain domain-name 设置DHCP服务的域名
22.配置x.25
Router(config-if)#encapsulation x25 [dte |dce] 设置接口封装类型
Router(config-if)#x25 address x.121-address 配置x.121地址
Router(config-if)#x25 map [ip | ipx | appletalk] x.x.x.x x.121-address broadcast
23.配置x.25 PVC
Router(config-if)#x25 pvc circuit-number [ip | ipx | appletalk] x.x.x.x x.121-address broadcast
24.配置x.25附加选项
Router(config-if)#x25 ips size进入包大小
Router(config-if)#x25 ops size出去包大小
Router(config-if)#x25 win packets进入窗口大小
Router(config-if)#x25 wout packets出去窗口大小
Router(config-if)#x25 modulo modulus配置窗口的模
25.配置frame-realy
Router(config)#interface serial number设置frame-relay端口
Router(config-if)#encapsulation frame-relay [cisco | ietf] 设置frame-relay封装模式
Router(config-if)#frame-relay lmi-type [ansi | cisco | q933i]设置frame-relay lmi类型
Router(config-if)#frame-relay map [appletalk | clns | ip] x.x.x.x dlci [broadcast] [ietf] [cisco]设置静态地址映射