您的位置:首页 > 其它

CCNA-CCP考试命令总结

2009-01-03 14:46 411 查看
CCNA试验考试命令总结
路由器实验:
router> enable 从用户模式进入特权模式
router# disable or exit 从特权模式退出到用户模式
router# show sessions 查看本机上的TELNET 会话
router# disconnect 关闭所有的TELNET 会话
router# show users 查看本机上的用户
router# erase startup-config 删除NVRAM 中的配置
router# reload 重启路由器
router# config terminal 从用户模式进入特权模式
router(config)# hostname rl 配置用户名为rl
router(config)# #banner welcome# 配置开机话语
router# show controllers serial0 查看串口0 的物理层信息,主要是查看DTE/DCE
router# show ip interface 查看端口的IP 配置信息
router# show hosts 查看主机表
end or ctrl+z 从各种配置模式退到特权模式
rl(config)# no ip domain-lookup 关闭动态域名解析
rl(config)# ip domain-lookup 打开动态域名解析
rl(config)# ip name-server 202.106.0.20 打开动态域名解析之后便可以指定DNS 服务
rl(config)# interface serial 0 进入serial 0 的接口配置模式
---------------------------------------------------------------------------------
rl(config-if)# no shutdown 路由器出厂默认所有端口关闭,使用此命令使它们打开
rl(config-if)# encapsulation ppp 封装ppp
rl(config-if)# clockrate 64000 如果是DCE 使需要设置时钟速率
' 如果是DTE 就不必设置
rl(config-if)# bandwidth 64 设置端口带宽为64K
rl(config-if)# ctrl+c 或者ctrl+z 快捷键退出到特权模式
rl# show interface serial 0 查看s0 信息,如果看到serial 和line protocol 都显示up,说明链路两端都设置成功
' 注意:如果出现serial down, line down 可能对方的端口没有打开;no shutdown ; 或者电缆没有插好;
如果出现serial up, line down 可能是DCE 端没有设置clock rate, 也可能是封装格式不对.
rl# show cdp neighbors 查看CDP 邻居信息
rl(config-if)# ip add 10.0.0.1 255.0.0.0 进入相应的接口,配置相应的IP 地址
rl# ping 10.0.0.2 使用ping 命令查看邻居的连通性
rl# show ip route 查看路由表,可以看到以C 打头的路由信息,这是直连的路由信息;
' 可以看到R 开头的路由信息,是从rip 学来的路由信息;可看到以I
' 开头的路由信息取代了以R 开头的路由信息,这是因为igrp 的管理距离是100,小于rip 的120
rl(config-if)# router rip 启动RIP 路由协议
rl(config-router)# network 10.0.0.0
' 发布网段。注意network 后面是接的网络号,而不是IP 地址
rl# show ip protocol 查看配置的路由协议
rl(config)# router igrp 300
一定要注意在IGRP 后面加自治系统号考试的时候题目会告诉你AS NUMBER,照敲就是
rl(config-router)# network 10.0.0.0
rl(config)# line vty0 4 进入虚拟线程配置模式,在这个模式里可对telnet 功能进行配置
rl(config-line)# login
rl(config-line)# password cisco ' 配置telnet 密码,默认的网络设备telnet 的功能是关闭的,
' 配了密码之后会自 动打开

---------------------------------------------------------------------------------
rl(config)# enable password cisco 配置进入enable 模式的密码,区分大小写
rl(config)# enable secret ciscocisco 配置进入enable 模式的密码,是加密的密码,show run是看不见的
rl(config)# line console 0
rl(config-line)# login
rl(config-line)# password cisco 配置进入用户模式的密码
rl(config-line)# logging synchronous 输入同步
rl(config-line)# exec-timeout 0 0 禁止因为一段时间没有输入而跳出
rl# copy running-config startup-config ' 保存配置,考试的时候注意题目的要求,如果题目里
' 要求你保存配置就一定不能少了这一项
r1# copy tftp startup-config
r1# copy running-config tftp
r1# copy tftp flash
交换机实验:
switch(config)# ip address 192.168.0.177 255.255.255.0 ' 与路由器在接口上的配置IP 不同,交
' 换机是在全局配置模式配置
switch(config)# ip default-gateway 192.158.0.1 给交换机配置一个缺省网关,请注意,不用写掩码
switch(config)# vlan2 name cisco 配置一个vlan2 并且指定名字叫CISCO
switch# show interfaces 查看端口状态
switch(config)# interface e0/10 进入端口e0/10
switch(config-if)# vlan-membership static 2 将端口放进vlan2 里面
switch(config)# int f0/26 进入快速以太网端口f0/26
switch(config-if)# trunk on 启用trunk,注意:只能在百兆以上端口启用trunk
switch(config-if)# notrunk-vlan 51 52 在主干上关闭VLAN51、52 的传输

---------------------------------------------------------------------------------

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

---------------------------------------------------------------------------------

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(C onfig-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] 设置静态地址映射

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
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: