Advertisement
opexxx

cisco_vs_juniperCMD

Jan 12th, 2016
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1.  
  2. Cisco ASA Juniper ScreenOS (SSG) Juniper JunOS (SRX)
  3. show log get event show log messages
  4. show log messages | last 20 (see the 20 most recent logs)
  5. show ip get interface show interface terse
  6. show failover get nsrp show log jsrp
  7. show chassis cluster [status|statistics|interfaces]
  8. no failover active exec nsrp vsd [vsd] mode backup request chassis cluster failover redundancy-group [group] node
  9. show route get route show route
  10. show connections get session show security flow session
  11. show clock get clock show system uptime
  12. show version (to get uptime) get system show system uptime
  13. show running-config get config show config
  14. show version (to get serial number) get chassis show chassis hardware detail
  15. show access-list get policy show security policies
  16. show crypto isakmp sa get ike cookie show security ike security-associations
  17. show crypto ipsec sa get sa show security ipsec security-associations
  18. clear crypto isakmp sa clear ike cookie clear security ike security-associations
  19. clear crypto ipsec sa clear sa clear security ipsec security-associations
  20. show cpu get perf cpu show chassis routing-engine
  21. show proc cpu-usage show system processes extensive
  22. show int (for i/o of bytes) get counter statistics sh int
  23. ssh x.x.x.0 y.y.y.0 inside set admin manager-ip x.x.x.0 y.y.y.0
  24. set ssh enable set security zones security-zone TRUST host-inbound-traffic system-services ssh
  25. show run [cry isakmp|tunnel-group]? get ike gateway show config security ike
  26. show config security ipsec
  27. interface Ethernet1
  28. shutdown set interface ethernet0/0 phy link-down set interfaces ge-0/0/3 disable
  29. interface Ethernet1
  30. no shutdown unset interface ethernet0/0 phy link-down delete interfaces ge-0/0/3 disable
  31. route outside 1.1.1.0 255.255.255.0 1.1.1.2 set route 1.1.1.0/24 interface bgroup3/0 gateway 1.1.1.2 set routing-options static route 10.10.10.128/25 next-hop 172.16.100.1
  32. logging host INSIDE 1.1.1.1
  33. logging trap notification set syslog config 1.1.1.1 facilities local5
  34. set syslog src-interface ethernet1/0
  35. set syslog enable set system syslog source-address 10.14.4.4
  36. set system syslog host 1.1.1.1 any notice
  37. ntp server 1.1.1.1 source OUTSIDE set ntp server 1.1.1.1
  38. set ntp server src-interface ethernet3/0
  39. set clock ntp
  40. exec ntp update set system ntp server 1.1.1.1 prefer
  41. capture CAP1 match ip host 1.1.1.1 host 2.2.2.2 clear db
  42. set console dbuf
  43. set ffilter src-ip 1.1.1.1 dst-ip 2.2.2.2
  44. debug flow basic
  45.  
  46. — OR —
  47.  
  48. snoop filter ip src-ip 1.1.1.1 dst-ip 2.2.2.2 direction both
  49. clear dbuf
  50. snoop edit security flow traceoptions
  51. set file TSHOOT
  52. set flag basic-datapath
  53. set packet-filter IN-TO-OUT source-prefix 10.1.1.100/32 destination-prefix 10.2.0.3/32
  54. show capture CAP1 get dbuf stream show log TSHOOT
  55. clear capture CAP1 undebug all
  56. unset ffilter
  57.  
  58. — OR —
  59.  
  60. snoop filter delete deactivate security flow traceoptions
  61. delete security flow tra
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement