热搜:
下载CCNA到CCNP命令大全

CCNA到CCNP命令大全

更多
  • 软件大小:13.00KB (13,312 字节)
  • 软件类别:网络工具 -> 网络认证
  • 软件授权:免费软件      软件语言:简体中文
  • 更新时间:2020/04/24
  • 软件厂商:
  • 软件官网:
  • 应用平台:
标签
软件介绍
热度:0
路由器实验: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 配置用户名为rlrouter(config)# #banner welcome# 配置开机话语router# show controllers serial0 查看串口0的物理层信息,主要是查看DTE/DCErouter# 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的接口配置模式

交换机实验:

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并且指定名字叫CISCOswitch# show interfaces 查看端口状态switch(config)# interface e0/10 进入端口e0/10switch(config-if)# vlan-membership static 2将端口放进vlan2里面switch(config)# int f0/26 进入快速以太网端口f0/26switch(config-if)#trunkon 启用trunk,注意:只能在百兆以上端口启用trunkswitch(config-if)# notrunk-vlan 51 52 在主干上关闭VLAN51、52的传输

CCNP命令之switch:

1.在基于IOS 的交换机上设置主机名/系统名:switch(config)# hostname hostname在基于CLI的交换机上设置主机名/系统名:switch(enable) set system name name-string2.在基于IOS 的交换机上设置登录口令:switch(config)# enable password level 1password在基于CLI的交换机上设置登录口令:switch(enable) set passwordswitch(enable) set enalbepass3.在基于IOS 的交换机上设置远程访问:switch(config)# interfacevlan1switch(config-if)# ip address ip-address netmaskswitch(config-if)# ip default-gateway ip-address在基于CLI的交换机上设置远程访问:switch(enable) set interface sc0 ip-address netmask broadcast-addressswitch(enable) set interface sc0 vlanswitch(enable) set ip route default gateway4.在基于IOS 的交换机上启用和浏览CDP信息:switch(config-if)# cdp enableswitch(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|detai5.基于IOS 的交换机的端口描述:switch(config-if)# description description-string基于CLI的交换机的端口描述:switch(enable)set port name module/number description-string6.在基于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 databaseswitch(vlan)# vlan vlan-num name vlaswitch(vlan)# exitswitch# configure teriminalswitch(config)# interface interface module/numberswitch(config-if)# switchport mode access

CCNP命令之BCRAN:

1.Modem自动配置和Modem能力数据库modem autoconfigure [discovery | type modemcap-entry-name]2.显示modemcap数据库项目show modecap3.向modemcap添加项目modemcap edit [new_modem_name]4.专用和交互PPP会话Router(config-if)#async mode [dedicated | interactive]Router(config-if)#ip unnumbered interface-type interface-numberRouter(config-if)#peer default ip address {ip-address |dhcp |pool poolname}Router(config)#ip local pool poolname start-address end-address5.反向回拨客户配置Router(config)#UserName username PassWord password(生成基于用户名的本地认证Router(config-if)#PPP callback request6.反向回拨服务器配置Router(config)#uasername username password password(生成基于用户名的本地认证Router(config-if) PPP callback accept7.选择ISDN交换机类型Router(config)#isdn switch-type switch type 或者在端口模式下Router(config-if)#isdn switch-type switch type8.设置服务原型标识(SPID)Router(C onfig-if)#isdn spid1 spid-number [ldn]9.指定感兴趣的数据流触发ISDNRouter(config)#dialer-list dialer-group-number protocol protocol-name {permit |access-list-number | access-group}Router(config-if)#dialer-group group-number10.定义ISDN目的地相关参数Router(config-if)#dialer map protocol next-hop-address [name hostname] [broadcast] di11.定义ISDN线路被切断之前可以保持空闲时间Router(config-if)#dialer idle-timeout seconds12.定义ISDN切断当前呼叫,给另一条线路空闲保持时间Router(config-if)#dialer fast-idle seconds13.定义发起另一个目的地呼叫接口负载门限(从1-255)Router(config-if)#dialer load-threshold load [outbound | inbound | either]14.多链路PPPRouter(config-if)#ppp multilink

CCNP命令之CIT:

1. 清除接口计数Router# clear counter [Ethernet | Serial | TokenRing| FDDI| ATM] [model/nu2. 查看接口状态和统计信息等等Router# show interface [Ethernet | Serial | TokenRing| FDDI| ATM] [model/n3. 显示直接连接的邻居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 traffic7. 快速交换Route(Config-if)# [no] [protocol] route-cache8. 自主交换Route(Config-if)# [no] [protocol] route-cache cbus9. 硅交换Route(Config-if)# [no] [protocol] route-cache sse10.查看特定接口的协议信息Route# show [protocol] interface type number11.显示radiusRoute#debugradius12.设置cisco服务时间戳Route(Config)# service timestamps type format13.设置控制台记录Route(Config)# logging console number14.显示记录在缓冲区里面的信息Route# show logging15.测试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.x19.显示cisco设备软件、固件、硬件信息Route# show version20.显示内部缓冲器和接口缓冲区的状态Route# show buffer21.显示内存的使用情况Route# show memory

软件截图

  • CCNA到CCNP命令大全第1张

下载地址

CCNA到CCNP命令大全