Juniper EX/QFX交换机平台
SecrureCRT或Putty
LACP :CLIcommands:show interfaces terse | match aeshow interfaces statisticsshow ethernet-switching table | match xx-x/x/xshow lacp interfacesshow lacp statistics interfaces xx-x/x/xshow interface extensiveLogs:/var/log/messagesTraceoptionsset protocols lacp traceoptions file lacp.trset protocols lacp traceoptions file size 5mset protocols lacp traceoptions file files 5set protocols lacp traceoptions flag allQuestions:- What device is connected at the other end?- Is link protection enabled?- What are the troubleshooting steps so far?- Did the issue start after any kind of device or config change?
BFD:CLIcommands:show bfd session briefshow bfd sessionshow bfd session summaryshow bfd session detailshow bfd session discriminator briefshow bfd session discriminator detail addressLogs:/var/log/messagesTraceoptions:set protocols bfd traceoptions file bfd.trset protocols bfd traceoptions file size 5mset protocols bfd traceoptions file files 5set protocols bfd traceoptions flag all
BGP:Showcommands:set cli timestampshow bgp summaryshow bgp groupshow bgp neighborshow route next-hopshow route protocol bgp allshow route receive-protocol bgp < peer address> extensiveshow route advertising-protocol bgp extensiveshow route forwarding-tableshow route resolution unresolvedshow route communityshow route damping [history|decayed|surpressed]show route aspath-regexmonitor traffic interface XX-X/X/X size 4096 detailLogs:/var/log/messagesTraceoptions:Caveatsset protocols bgp traceoptions file bgp.trset protocols bgp traceoptions file size 5mset protocols bgp traceoptions file files 5set protocols bgp traceoptions flag allset routing-instances bgp-ri protocols bgp traceoptions file bgp.trset routing-instances bgp-ri protocols bgp traceoptions file size 5mset routing-instances bgp-ri protocols bgp traceoptions file files 5set routing-instances bgp-ri protocols bgp traceoptions flag all
DHCP:CLIcommands:show configuration | display set | match dhcpshow system services dhcp binding detailshow system services dhcp clientshow system services dhcp pool detailshow interfaces terseshow dhcp snooping binding vlanshow dhcp snooping binding interface xx-x/x/xmonitor traffic interface xx-x/x/xLogs:/var/log/messagesTraceoptions:noneQuestions:- Any troubleshooting steps so far?- Confirm whether the discover packet is reaching the switch?- Is the switch replying with an offer packet?- Any packet captures taken at the interface ends?
Firewall filter:CLIcommands:show interfaces filtersshow firewallshow firewall filtershow firewall logshow policy conditionsLogs:/var/log/messagesTraceoptions:None
High CPU:CLIcommands:set cli timestampshow chassis routing-engine (multiple snapshots, atleast 5)show system processes extensive (multiple snapshots atleast 5)show system usersshow system connectionsshow system statisticsshow task memory detailshow task memory summaryshow task ioshow task historyshow task statisticsshow task jobshow task jobsshow krt queueshow krt stateLogs:/var/log/messagesTraceoptions:user@router# show routing-optionstraceoptions {file routing-trace size 10m files 20 world-readable;flag task;flag state;flag timer;}
ISIS:Showcommands:set cli timestampshow isis adjacencyshow isis adjacency extensiveshow isis interfaceshow isis hostnameshow isis spflogshow isis statisticsshow isis routeshow route protocol isisshow isis databaseshow isis database detailshow bfd sessionshow route forwarding-tableLogs:/var/log/messagesTraceoptions:Caveatsset protocols isis traceoptions file rip.trset protocols isis traceoptions file size 5mset protocols isis traceoptions file files 5set protocols isis traceoptions flag allset routing-instances isis-vr protocols isis traceoptions file isis.trset routing-instances isis-vr protocols isis traceoptions file size 5mset routing-instances isis-vr protocols isis traceoptions file files 5set routing-instances isis-vr protocols isis traceoptions flag all
L3VPN:CLIcommands:show route tableshow route table hiddenshow route forwarding-table vpnping x.x.x.x routing-instancetraceroute x.x.x.x routing-instancetelnet x.x.x.x routing-instanceping mpls l3vpn prefixshow route advertising-protocol bgp x.x.x.xshow route receive-protocol bgp x.x.x.xshow arpOSPF VPN commandsshow ospf interface instanceshow ospf neighbor instanceshow ospf database instanceLogs:/var/log/messagesTraceoptions:None
NTP:CLIcommands:show ntp associationsshow ntp statusshow versionshow system uptimeLogs:/var/log/messagesTraceoptions:none
STP:CLIcommands:show configuration protocolsshow spanning-tree bridge briefshow spanning-tree bridge detailshow spanning-tree statisticsshow spanning-tree interfaceshow ethernet-switching mac-learning-logLogs:/var/log/messagesTraceoptions:set protocols stp traceoptions file stp.trset protocols stp traceoptions file size 5mset protocols stp traceoptions file files 5set protocols stp traceoptions flag allQuestions:- What kind of spanning tree flavour is running?- Is the customer using other vendor device with in the same spanning tree ?- Is the customer using same spanning tree flavour on all the switches?- Any recent configuration changes related to cost, bridge priority, storm control, BPDUblock?- Is there any hub connected to any of the switches?
VLAN:CLIcommands:show configuration vlansshow vlans briefshow vlansshow vlans summaryshow interfaces terse | match inLogs:/var/log/messagesTraceoptions:noneQuestions:Did the issue start after any configuration/ device change?What are the devices connected?
Virtual-chassis:CLIcommands:show versionshow configuration virtual-chassisshow virtual-chassis statusshow virtual-chassis vc-port all-membersshow virtual-chassis modeshow virtual-chassis protocol interfaceshow virtual-chassis protocol statisticsLogs:/var/log/messagesTraceoptions:set virtual-chassis traceoptions file virtual-chassis.trset virtual-chassis traceoptions file size 5mset virtual-chassis traceoptions file files 5set virtual-chassis traceoptions flag allQuestions:- Any troubleshooting steps so far?- Did the issue begin after any device or config change?- Is the issue happening again and again?
根据不同的场景进行命令日志的收集