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

IOS

showclock

show version

sh license

show running-config

show running-config

show runn | inclute prefix

show users
show users
clear line vty 0
username bruno privilege 15 password 1234
send

show tech-support

show ip interface brief

show interface gi0/1

Int
show interface description (newer IOS)
show controller interface
show runn config interface g0/1

show diags

show environment all


show history
write erase / erase startup-config

ping dest
ping (setting source int)

Reiniciar ou
reload

Proce

Geren

clear counters
clear arp-cache
clockset
show arp
show ip route

show logging
show processes cpu
terminal length 0

terminal monitor

terminal no monitor

show ip traffic

show route-map

show route-map mapname

Shows de

Tracin

Hel

Com

Confi

Roolb

Rescue - "Confi

Stat
ip route 0.0.0.0 0.0.0.0 10.0.0.1

show clns interface


show clns neighbors

show ip routeisis

showisistopology

sh bgpipv6summary / show bgpipv6unicast


show ip bgp neighbor peer advertised-routes

show ip bgp neighbors neigh received-routes

show ip bgp peer-group

show ip bgp peer-group group


show ip bgp network mask

show ip bgp network mask longer-prefixes

show ip bgp regexp regex


show ip bgp summary
clear ip bgp
clear ip bgp neighbor

show ip ospfdatabase
show ip ospf neighbor
show ip ospf interface

show ip route ospf

showipv6neighbors
showipv6route
show tcp brief

TCP DUMP show security flow session interfac


show security flow session interf

IOS and JunOS commands

JunOS

Basic Shows
show system uptime

show version

show system license

show configuration

show configuration | display set

show configuration | display set | match "prefix"

Usurios
show system users
set system root-authentication plain-text-password
request system logout user adilson all
set system login user bruno full-name "Bruno Nunes" class super-user authentication plain-text-password
request message

Suporte - Tac
request support info

show interface terse

show interfaces ge-0/0/1 detail

Interfaces
show interfaces description
show interfaces interface extensive
show configuration interfaces ge-0/0/1
show configuration interfaces ge-0/0/1 | display set

set interfaces lo0.1 family inet address 192.168.30.1/24


show interfaces ge-0/0/1 statistics
show interfaces ge-0/0/1.0 media
show interfaces ge-0/0/1 extensive
monitor interface ge-0/0/1

show chassis hardware

show chassis environment


show cli history
load factory-default

ping
ping
ping
ping

dest rapid (for cisco like output)


dest bypass-routing
rapid count 1000 size 1400 x.x.x.x
x.x.x.x bypass-routing interface so-1/0/2 count 1000 size 1400 rapid

Reiniciar ou Desligar Devices


request system reboot
request system halt

Processos Junos
user@host> restart routing
user@host>restart web-management
show system processes
show system processes extensive
show system processes detail

Gerenciamento
set system services ssh

set system services telnet


set system services web-management http
set system services web-management https
clear interface statistics
clear arp
set date
show arp
show route

show log messages


show system process
set cli screen-length 0

monitor start messages

monitor stop

show system statistic

show policy

show policy name mapname

Shows de diagnstico
show chassis routing-engine

show system processes extensive

show chassis forwarding

Tracing - Debug

Help Types
help topic interface
help reference
help reference interface
help apropos
help syslog
help syslog ACCT_ACCOUNTING_FERROR

Commit Types
commit check

commit confirm
commit comment
commit and-quit

Configure Types
configure ou edit

configure exclusive

configure private

Roolback Types
rollback
rollback 0

Rescue - "Configurao de Resgate"


user@host> request system configuration rescue save

user@host# rollback rescue

user@host> request system configuration rescue delete

Static Route
admin@# set routing-options static route 0.0.0.0/0 next-hop 10.0.0.1

ISIS
showisisinterface
showisisadjacency

show isis routes / show route protocol isis

showisisspf brief

BGP
show bgp summary
show route advertising-protocol bgp peer

show route receive-protocol bgp peer

show bgp group

show bgp group group


show route protocol bgp prefix

show route range prefix

show route aspath-regexp regex


show bgp summary
clear bgp neighbor
clear bgp neighbor peer
deactivate protocols bgp group BGP neighbor 10.10.10.1

OSPF
show ospf database
show ospf neighbor
show ospf interface

show ospf route / show route protocol ospf

IPV6
showipv6neighbors
show route table inet6.0
show system connection

TCP DUMP - FLOW - USANDO EM SRX


show security flow session interface reth1.179 destination-prefix 200.198.220.136
show security flow session interface reth1.179 source-prefix 200.198.220.136

Atalhos - Shortcuts

s comparao

Propsito

Displaycurrent date
Information about running software release
(IOS also shows hardwareinfos)

Mostrar Licena

Mostra a configurao - neste modo no Junos


de forma hierrquica.
Mostra a configurao no modo de linha
inteira, parecido com cisco
Mostra a configurao filtrando apenas o
desejado "prefix" no exemplo

Mostrar usurios logados


Definir senha de root - Obrigatrio
Deslogar usurio com sesso presa
Criar novo usurio
Envia mensagem para usurios logados

Displays a lot of information. Often needed for


TAC request.

DisplaysIPv4addresses per interface (in


JunOS:IPv6andISOas well)

Shows interface configuration, counters and


status

Shows description, status and interface name


Displays physical port informations
Exibe apenas a configurao de uma interface.

No Junos S possvel criar uma interface


Loopback0 porm nessa interface podemos
adicionar diversos Ips

estaststica em tempo real

Displays hardwarediagnosticsand status


Infosabout Voltage, Power consumption,
Temperature,
Shows recent enteredcommands
Resets to factory defaults. IOS requires reload,
JunOS needs a commit

Simple Ping
Ping with specific source interface

Reboot the system


Desliga a caixa corretamente

Clears the interface counters


Clears the ARP cache
Set the actual time
Shows ARP cache
Displays the global routing table
Showsinfosabout loghost (IOS only) and
localbufferedlogfilecontent
Displays CPU utilization
Continous output to terminal without morebreaks
Start logging to terminal (when connected
remotely)

Stop logging to terminal (when connected


remotely)

Showsinfosabout IP related traffic (BGP,


EIGRP, PIM, ARP, ICMP)
Shows all configured route-maps (JunOS also
shows Prefix-Lists,)

Shows content of route-map mapname

todos os itens em interface que eu posso


estudar
Reference material
outra forma de explicao
Find help information about a topic
Lhe ajuda a interpretar um erro encontrado no
Log

Verifica aconsistncia da configurao.


Verifica a sintaxe se est correta ou no

Modo de configurao - Comum


Compartilha a configurao candidata com
demais usurios
Caso seja comitado, voc comita as alteraes
de todos os users, no somente o que voc
configurou
Obtain exclusive lock (other users cannot
make changes) Lock da configurao
candidata
Voc inicia a configurao somente pra
voc - qualquer outra pessoa que logar
na caixa no vai conseguir comitarquando eu uso o configure exclusive
somente eu tenho permisso de comitar.
Work in private database (other's changes do
not show)
Voc comea a editar uma cpia da
configurao candidata
Ninguem ir saber o que voc est
configurando mesmo que execute o
comando show | compare
Quando voc comita, somente a sua
alterao comitada. mesmo que exista
outro usurio fazendo configuraes.

descarta a ultima alterao feita

Cria o arquivo de rescue

Efetuar roolback do arquivo rescue

Deleta o arquivo de rescue

Exemplo de Rota padro

Shows IS-IS information from participating


interfaces
Shows ES-IS and IS-IS neighbors

Display only IS-IS originated routes

Shows the resulting IS-IS topology table after


spf calculation

DisplaysIPv6BGP neighbors
Shows whether a neighbor supports the route
refresh capabilty

Shows whether a neighbor supports the route


refresh capability

Displays BGP informations about all peergroups

Displays BGP informations about a specific


peer-group
BGP informations about a specific prefix
BGP informations about a specific prefix as
well as longer prefixes

Shows routes matching AS path filter regex


Shows all BGPIPv4neighbors
Clears all BGP sessions
Clears BGP session to a specifis neighbor

desativa a sesso bgp para este neighbor

Shows the OSPFdatabase


Displays all OSPF neighbors
Shows OSPF informations for the interface
(e.g. state, dead time,)

Display only OSPF originated routes

Display discoveredIPv6neighbors
DisplayIPv6routing table
Shows established TCP connections from/to
router (BGP, SSH, Telnet,)

Quanto tepo a caixa est


ligada ?
Verso

Mostrar Configurao

Suporte - Tac

Interaces

Interaces

Ideal para ambientes crticos - Mais utilizado.

Bastante utilizado.

Geralmente usuado em ambiente critico - o rescue


configuration deve ter a configurao minima necessria para restabelecer a
gerencia IP, Gerencia, Roteament etc.

Вам также может понравиться