当前位置:首页 > 内存 > 正文

思科查看内存使用率命令

  • 内存
  • 2024-05-24 19:54:22
  • 2234

一、思科路由器释放内存命令Router#cleararp-cache
showprocessescpu可以看到CPU使用情况showprocessesmemory可以看到内存使用情况
switch>用户模式
1:进入特权模式enable
switch>enable
switch#
2:进入全局配置模式configureterminal
switch>enable
switch#configureterminal
switch(conf)#
3:交换机hostnameaptech2950以aptech2950为例
switch>enable
switch#configureterminal
switch(conf)#hostnameaptch-2950
aptech2950(conf)#
4:配置密码enableenpasswordcisco,以Cisco为例
switch>enable
switch#configureterminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#enablepasswordcisco
5:配置Enablesecretciscolab密码,以cicsolab为例
switch>enable
switch#configureterminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#enablesecretciscolab
6:VLAN设置vlan1interfacevlan1
switch>enable
switch#configureterminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#interfacevlan1
aptech2950(conf-if)#ipaddress192.168.1.1255.255.255.0交换机端口IP配置和子网掩码
aptech2950(conf-if)#noshut配置正在运行
aptech2950(conf-if)#exit
aptech2950(conf)#ipdefault-gateway192.168.254设置网关地址
7:输入交换机接口fastehernet0/17的具体端口,以17端口为例
switch>启用
switch#configureterminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#interfacefastehernet0/17
aptech2950(conf-if))#
8:show命令show
switch>enable
switch#showversion显示系统所有版本信息
showinterfacevlan1显示交换机IP协议配置信息
showrunning-configure显示交换机当前配置功能配置信息
showinterfacefastethernet0/1显示交换机接口1的具体配置和统计信息
showmac-address-table显示Mac地址表
showmac-address-tableaging-time显示Mac地址表自动老化时间9:将交换机恢复到出厂默认恢复命令
switch>enable
switch#erasestartup-configure
switch#reload
10:设置双模式
switch>enable
switch#configureterminal
switch2950(conf)#hostnameaptch-2950
aptech2950(conf)#interfacefastehernet0/17以17端口为例
aptech2950(conf-if)#duplexfull/half/auto有full、half、auto三个选项
11:cdp-相关命令
switch>enable
switch#showcdp显示信息设备的常规cdp配置
showcdpinterfacefastethernet0/17显示端口17的cdp配置信息
showcdptraffic显示有关cdp数据包的统计信息
showcdpnerghbors列出连接到该设备的cisco设备


二、怎么检查思科设备日志,端口流量信息,以及CPU使用率showlogging检查日志
showinterfacef0/x检查端口信息
showprocess检查CPU使用情况
或使用showprocesscpuhistory
三、Cisco交换机查看CPU和内存使用情况Package
Tracer
5.3只是一个
模拟器
cisco你的问题
是模拟器的问题
真机然后真机机器。