交换机debug信息开关.docx

上传人:小飞机 文档编号:3076749 上传时间:2023-03-10 格式:DOCX 页数:5 大小:37.96KB
返回 下载 相关 举报
交换机debug信息开关.docx_第1页
第1页 / 共5页
交换机debug信息开关.docx_第2页
第2页 / 共5页
交换机debug信息开关.docx_第3页
第3页 / 共5页
交换机debug信息开关.docx_第4页
第4页 / 共5页
交换机debug信息开关.docx_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《交换机debug信息开关.docx》由会员分享,可在线阅读,更多相关《交换机debug信息开关.docx(5页珍藏版)》请在三一办公上搜索。

1、交换机debug信息开关交换机debug信息开关 1 功能需求及组网说明 交换机debug信息开关 配置环境参数 1. PC连接在SwitchA的端口E0/1,IP地址192.168.0.2/24 2. SwitchA管理vlan10,IP地址192.168.0.1/24 组网需求 1. 在超级终端上可以打出debug信息 2. 在远程telnet终端上可以看到debug信息 2 数据配置步骤 debug信息使用流程 在实际使用中,debug信息主要用来进行数据调测或者故障定位。如果交换机在运行中并且有很重要的业务,请慎重使用这些命令,因为这些命令一旦开启将会占用很多系统资源,在调测完毕一定要

2、关闭debug信息,恢复其它参数到初始状态,以便于其他人员后期维护。 1. 创建vlan10 SwitchAvlan 10 2. 将E0/1加入到vlan10 SwitchA-vlan10port Ethernet 0/1 3. 创建vlan10的虚接口 SwitchAinterface Vlan-interface 10 4. 给vlan10的虚接口配置IP地址 SwitchA-Vlan-interface10ip address 192.168.0.1 255.255.255.0 1. 进入用户界面视图 SwitchAuser-interface vty 0 4 2. 设置认证方式为密码验

3、证方式 SwitchA-ui-vty0-4authentication-mode password 3. 设置明文密码 SwitchA-ui-vty0-4set authentication password simple Huawei 4. 缺省情况下,从VTY用户界面登录后可以访问的命令级别为0级。需要将用户的权限设置为3,这用户可以进入系统视图进行操作,否则只有0级用户的权限 SwitchA-ui-vty0-4user privilege level 3 为方便我们日常维护和故障定位,交换机提供了丰富而详细的调试信息功能。在用户视图下面打开调试开关,选择所需要进行调试的模块参数。 deb

4、ugging ? all All debugging functions arp ARP module bgp BGP module cluster Cluster module device Device manage dhcp-relay DHCP relay module dot1x Specify 802.1x configuration information ethernet Ethernet module fib FIB module ftp-server FTP server information garp GARP module gmrp GMRP module gvrp

5、GVRP module habp HABP module hgmpserver HGMP server module igmp IGMP module ip IP module local-server Local authentication server information mac-address MAC address table information modem Modem module multicast Multicast module ndp NDP module ni NI module: NI Debuging information ntdp NTDP module

6、ntp-service NTP module ospf OSPF module pim PIM module radius Radius module rip RIP module rmon RMON debugging switch snmp-agent SNMP module stp STP infomation tcp TCP module telnet TELNET module udp UDP module vfs Filesystem module vrrp VRRP module vtp VTP module vty VTY module 1. 例如打开ip报文的调试开关 deb

7、ugging ip packet 2. 在用户视图模式下打开屏幕输出开关。 terminal monitor % Current terminal monitor is on 3. 在用户视图模式下打开调试输出开关。 terminal debugging % Current terminal debugging is on 1. 例如打开IP报文的调试开关,需要注意的是终端telnet交换机使用的也是IP报文,所以这部分信息也会打到telnet终端上 debugging ip packet 2. 在用户视图模式下打开屏幕输出开关。 terminal monitor % Current term

8、inal monitor is on 3. 在用户视图模式下打开调试输出开关。 terminal debugging % Current terminal debugging is on 4. 缺省情况下debug信息只向console口终端输成信息,允许信息向telnet终端输出 SwitchAinfo-center monitor channel 0 1. 关闭相应报文或者全部debug信息 undo debugging ip packet undo debugging all Debugging for all modules has been switched off 2. 关闭调试输出开关 undo terminal debugging % Current terminal debugging is off 3. 关闭屏幕输出开关 undo terminal monitor % Current terminal monitor is off 4. 如果是关闭telnet终端输出信息,还要恢复原来设置 SwitchAundo info-center monitor channel 3 测试验证 1. 可以在PC的超级终端或者telnet终端上看到debug信息 2. 能够正确关闭debug信息

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号