Friday, November 22, 2013

Juniper Hardware/Software diagnostics commands for troubleshooting Part 1

Juniper hardware/Software diagnostics commands

show version | savefilename

show chassishardware | savefilename
show chassisenvironment | savefilename
show systemboot-messages | savefilename
show configuration | savefilename
show chassis hardware
show chassis temperature-thresholds
show chassis hardware detail | display xml | no-more
show version
show system snapshot media internal

To view the configuration file


show | display set | no-more

show | no-more
show interface terse
show route
show interfaces terse | savefilename
show system processes
show interfaces <interface-name> extensive
show log messages


BGP commands 


show bgp neighbor | no-more

show route advertising-protocol bgp 10.200.7.2
show route receive-protocol bgp 10.200.7.2
show bgp summary




Routing protocol commands OSPF/ISIS


show isisadjacencybrief

show ospfneighborbrief | savefilename
show systemstorage | savefilename

STP /switching commands 


show spanning-tree bridge

show spanning-tree bridge detail
show spanning-tree interface
show spanning-tree interface detail
show spanning-tree statistics interface <int>
show spanning-tree statistics interface <int> detail

Switching commands  T&B


show ethernet-switching interfaces

show ethernet-switching table
show interface
show interface extensive

Like show tech support command in cisco


request support information all-member | no-more



Log commands 


show log jsrpd

show log messages
show log chassisd   (will report hardware chassis failures)
show log dcd

show module command in cisco same like it, It will show the module is online or not 


Show chassis fpc 7

Show chassis fpc 8(module in Srx or Mx router module)

L2 Verification & Troubleshooting  


The following commands are helpful for verifying and troubleshooting ethernet switching and VLANs:


user@host> show ethernet-switching mac-learning-log        

(Technical documentation reference:   show ethernet-switching mac-learning-log)

user@host> show ethernet-switching table            

(Technical documentation reference:   show ethernet-switching table)

user@host> show vlans

user@host> show vlans <vlan> extensive

user@host> show ethernet-switching table interface <interface>


user@host> monitor interface <vlan interface>


show interfaces vlan                   /to see the vlan in SRX

show system users                      /to see the user in Mx480

monitor interface traffic

====================================================================
user@host> monitor interface traffic
>monitor interface so-1/0/0.0

====================================================================

show route resolution unresolved

user@host> show route resolution unresolved


Syslog

--------------
set system syslog host 172.19.110.10 any notice

Sources ping commands 


SRXA# run ping 192.168.6.1 interface fe-0/0/1.0 (Sources ping via interface)


#> metacortex@Bazzalan# run ping 4.2.2.2 source 192.168.0.69 count 5 (Sources ping using live ip address in device)






Command                              Description


show version :-                         Software version
show chassis hardware detail:-  Hardware and Serial numbers
show chassis environment:-      Temperatures, Fan and Power Supply
show chassis routing-engine     Temperatures, Memory, CPU Load
show interfaces terse :-            Interface States
show interfaces extensive:-      Interface and Zone Counters
monitor interfac                       Real-time interface statistics
show security flow session:-    Current sessions


show system alarms :-       Alarms
show chassis alarms



Monitoring the interface


> monitor traffic interface <int> layer2-headers

> monitor traffic interface e1-0/0/0.0 no-resolve



















No comments:

Post a Comment

Optimization of fortigate IPS

IPS signature need select according to infrastructure environment  Eg:-  if  we are not have Linux servers this ips signature can disable (d...