Вы находитесь на странице: 1из 5

Cisco/Juniper Commands

Cisco Command show run sh ver show ip interface brief show interface [intfc] show controller intfc show interface | incl (proto|Desc) show ip route show ip bgp summary show ip bgp net mask show ip bgp net mask longer-prefixes show ip bgp regexp ASregexp Juniper Command sh configuration sh ver show interface terse show interfaces [intfc] detail show interfaces intfc extensive show interfaces description show route show bgp summary Co-Ordinating Definition Show running configuration Show version displays the status of interfaces configured for IP displays the interface configuration, status and statistics. displays information about a physical port device displays the interface configuration, status and statistics displays summary information about entries in the routing table displays the status of all Border Gateway Protocol (BGP) connections

show route protocol bgp will show you how that route is being advertised, prefix look for the first line show route range prefix will show you how that route is being advertised, look for the first line

show route aspath-regexp displays routes matching the autonomous system "AS-regexp" (AS) path regular expression show route receiveprotocol bgp neigh

show ip bgp neighbors neigh received-routes

show route sourcegateway neigh protocol bgp show route advertisingprotocol bgp neigh show isis adjacency show isis interface show isis routes show isis spf show ospf neighbor show ospf interface show ospf route show ospf database show version, show system uptime

Shows whether a neighbor supports the route refresh capability

show ip bgp neighbor neigh advertised-routes show clns neighbors show clns interface show ip route isis show isis topology show ip ospf interface show ip ospf interface show ip route ospf show ip ospf database show version

Shows whether a neighbor supports the route refresh capabilty displays both ES and IS neighbors shows specific information about each interface displays the current state of the the routing table displays a list of all connected routers in all areas shows neighbor ID, Priority, IP, & State if the neighbor router, dead time. shows neighbor id, pri, state, dead time, address and interface display the current state of the routing table display list of information related to the OSPF database for a specific communication server display the system hardware config., software version, and name and source of configuration files

and boot images show diags show processes cpu show tech-support show logging show route-map name show ip prefix-list name show ip community-list list show environment all show chasis hardware show system process request support info show log messages show policy name show policy name configure, show policy-options community name show chassis environment displays power-on diagnostics status displays utilization statistics displays the current software image, configuration, controllers, counters, stacks, interfaces, memory and buffers display the state of logging to the syslog displayall route-maps configured or only the one specified display information about a prefix list or prefix list entries display routes that are permitted by BGP community list displays temperature and voltage information on the console

ping dest ping (setting source int) terminal monitor terminal no monitor terminal length 0

ping dest rapid (for cisco like output) to check to see if a destination is alive ping dest (for unix like output) ping dest bypass-routing to check to see if a destination is alive monitor start messages monitor stop set cli screen-length 0 Change console terminal settings Change console terminal settings sets the length for displaying command output

Basic CLI Commands


Description To Ping To display date / time To display Chassis status To display history of commands entered Cisco IOS ping traceroute show clock show environment show history show ip traffic show logging show processes show running config show tech-support show users show version show arp show interface Juniper ping traceroute show system uptime show chassis environment show cli history show system statistics show log show system processes show configuration request support information show system users show version show arp show interfaces show interfaces detail show interfaces extensive

show ip interface brief show ip route show ip route summary show route-map show tcp clear counters clear arp-cache clear line clear ip route BGP Commands Description

show interfaces terse show route show route summary show policy show system connections clear interface statistics clear arp

Cisco IOS show ip bgp show ip bgp community show ip bgp dampened paths show ip bgp neighbors show ip bgp neighbors address advertised-routes show ip bgp neighbors address received-routes show ip bgp peer-group show ip bgp regexp show ip bgp summary clear ip bgp clear ip bgp dampening

Juniper show route protocol bgp show route community show route damping decayed show bgp neighbor show route advertising-protocol bgp address show route receive-protocol bgp address show bgp group show route aspath-regex show bgp summary clear bgp neighbor clear bgp damping Juniper show ospf database show ospf interface show ospf neighbor Juniper show isis adjacency show isis database show isis routes show isis routes show isis spf log clear isis adjacency clear isis database

OSPF Commands Description

Cisco IOS show ip ospf database show ip ospf interface show ip ospf neighbor Cisco IOS show clns neighbor show isis database show isis route show isis topology show isis spf-log clear clns neighbor clear isis *

IS-IS Commands Description

Here is a list of basic Juniper's commands. Enjoy !

Log commands

show show show show show show show show show show show show show show show show show show show show show show clear show show show show show show show show show show show clear clear

log log log log log log

chassids | no-more To check log for chassi event messages | no-more To check log messanges security | match so-2/0/0 To check user "xxxx" commands isis To check a status of isis with alarms bgp.ibgp To check a bgp related event user To check user's login history

System commands
system uptime To check time since system and processes started system users To check users who are currently logged in cli authorization To see authorization and authentication information system storage To see local storage data system processes To check system process table chassis hardware To check installed hardware components chassis environment To check component status and temperature, cooling system speeds chassis routing- engine To check routing engine status chassis craft-interface To see craft interface status chassis fpc To show flexible PCI concentrator status chassis scb To check system control board status chassis alarms To see alarm status

Interface commands
configuration To check current configuration interface terse / detai To display terse output interface interface- name To check status of interface interface so-1/0/0 extensive To check details of the interface interfaces statistics so-2/0/0 To clear counters on interface

Routing commands
ip route x.x.x.x/24 To check route on routing table route terse To display terse output of routes route detail To display detailed output route 216.142.248.0 extensive

BGP commands
bgp summary To see overview of BGP information bgp group To check the BGP group database bgp neighbor x.x.x.x To check a status bgp neighbors route receive- protocol bgp 'x.x.x.x' To check what routes are advertising thru peer route protocol bgp x.x.x.x/24 To check a route on bgp routing table route protocol bgp receive-protocol bgp neighIP To see what routes are receiving policy static- bgp bgp neighbor x.x.x.x To clear particular BGP neighbor from BGP table bgp neighbor as To clear AS from BGP table

ISIS commands show isis adjacency To IS-IS adjacency database show isis interface To IS-IS interface information show isis database To IS-IS link-state database MPLS commands show mpls lsp terse To display terse output show mpls lsp name DCA- POR detail Security & Policy commands show firewall | match "ICMP" To check current status of filter named "ICMP" show policy static- bgp or 'policy name' To check policy statement clear firewall ICMP To clear counters on firewall named "ICMP"

Ping & Traceroute

ping rapid count 1000 size 1400 x.x.x.x ping rapid count 1000 size 1400 pattern 0000 198.6.1.1 ping x.x.x.x bypass-routing interface so-1/0/2 count 1000 size 1400 rapid