Você está na página 1de 4

Chassis Management

show chassis alarm Chassis alarm status


show chassis craft-interface Information currently on craft display
set chassis display message "M40e unit for swap" displays a user defined message on the LCD craft interface
show chassis environment Environmental information temperature
show chassis temperature-thresholds Displays temperature thresholds
show chassis routing-engine Displays info a!out the "E# memory C$% utili&ation
show chassis hardware detail'frus'e(t )ardware inventory * serial num!ers+ frus shows fans+ e(t shows eeprom# flash'dis, capacity
show chassis fpc displays status of all -$Cs installed .mem heap should !e /001 23
show chassis fpc detail includes also 4"5M'4D"5M availa!le Mem and usage
show chassis fpc pic-satus Displays info for all $ICs
show chassis pic fpc-slot 0 pic-slot 6 Displays info a!out one particular $IC
show chassis mac-addresses M5C address
show chassis 7fe! 8 sc! 8 ss! 8 sfm slot9 displays satus a!out $-E system control !oard .temp# cpu1#D"5M:3
System management
show host ns loo,up
show version displays software running on the !o(
show system software detail displays installed pac,ages
show system uptime uptime of the router
show system processes e(tensive'summary 4how the process ta!le
show system statistics ip# icmp#: 4how protocol statistics
show system connections
lists only active I$ soc,ets on "E
show system users 4how users currently logged into the system
show system storage displays the amount of amount of free dis, space on file system
root1 df -, show system storage from Shell
show system !oot-messages displays contents of !oot log .!oot-up messages3
show system virtual-memory displays current memory state
re;uest system re!oot "estarts the system
re;uest system halt 4tops the router and prepares it to !e shut down
re;uest system re!oot "e!oot the system
re;uest system snapshot 4ave config in 'altconfig and software in 'altroot !efore upgrade
re;uest support information show tech
re;uest system software add /p,gname< performs !sd pg,add+ always use =!undle .4-<> =install3
restart /process< 7 gracefully# immediately#
soft9 "estart process
re;uest chassis routing-engine diagnostics all (hidden) runs a diagnostic script in compact-flash#hard-dis, memory
re;uest system storage cleanup
-ree storage space on the router !y rotating log files and proposing a list
of files for deletion? %ser input is re;uired for file deletion?
Configuration
configuration enters configuration mode
show displays the current configuration
8 match item filters the output of the command
8 find item filters starting with the regular e(pression
8 save /file< save configuration as /file<
edit modifies configuration statements
set sets configuration statements
delete removes configuration statements
e(it e(ists edit mode and also config mode
commit save# validate and activate a complete config
commit chec, =ust chec, config do not apply
commit confirmed ( activates config for a ( minutes and then as, for confirmation# (@60 default
commit and-;uit activates config and e(ists edit mode
commit synchroni&e activates config on active "E and replicates it into !ac,up "E
commit full .hidden3
signals to all daemons a 4IA)%$ .,ill -63 which forces them to read their config files .restarts all
daemons3
root1 mgd -l
.hidden3 from
shell same as commit full !ut from shell
commit at activates config at a given time .schedule a commit3
clear system commit Clear all pending commit re;uests
roll!ac, 0 deletes the new edited changes and returns to current config
roll!ac, returns to the last commited config
roll!ac, * commit it will return to previously saved config? Bnly at the top level2
load merge /'var'home'user'config< com!ines the current config and the new one
load override /'var'home'user'config< erases the candidate config and replaces it with "luis"
load merge terminal copy and paste portions of the config# vanaf root config
load factory-default loads the factory default settings config
show 8 compare compares the candidate config with the running config
show system roll!ac, 40 displays a roll!ac, file
show system roll!ac, compare 0 CD shows differences !etween roll!ac,s 0 and CD files
save saves config in 'var'home directory
save usernameEhostFfilename saves config in remote system using ssh
show configuration groups =unos-defaults .hidden3 displays only certain G%HB4 default settins .system'services'apps3
Managing files
start shell
'config flashdis, contains active config and roll!ac,s 6#D C
'var'd!'config harddis, contains roll!ac, files 4 through 4I
'var'tmp harddis, contains core files generated !y the daemons when they crash
'var'log harddis, files generated !y the logging and traceoptions
'var'home harddis, contains su!directory per user
'altroot harddis, contains a copy of the root file structure form the flash drive
'altconfig harddis, contains a copy of the 'config file structure on the flash drive
file list displays all files on this user home directory
file list 'config displays all files on the 'config directory
file show /file< displays content of /file<
file delete deletes a file from hard dis,
file copy source destination copies files from one "E to the other
file copy filename ftp://hostname/filename ftp Copy -iles from the Local "outer to a "emote 4ystem
file copy filename
scpF''userEhostname'filename
scp
file copy ftp://hostname/filename filename ftp Copy -iles from a "emote 4ystem to the local router
show system roll!ac, 40 displays a roll!ac, file
show system roll!ac, compare 0 CD shows differences !etween roll!ac,s 0 and CD files
Logs located in 'var'log
show log messages shows all the logs# location is 'var'log
show log file-name shows logs a!out an specific log file
show log cli show logs a!out cli commands issued
show log chassisd show logs a!out chassis pro!s
show log install show logs releveant to an install G%HB4 version
show log de!ug show daemon logs
show log messagesJ displays all the files with their dates of the collected logs
show log inventory shows logs a!out inventory
monitor start file-name monitors logs in real time
monitor stop stops monitoring
help syslog e(planation of log meaning
Show interfaces
show interfaces detail shows detailed info a!out an interface
e(tensive shows all possi!le info a!out an interface .very detailed3
terse shows ip interface !rief
description shows interfaces description
media Display media information
statistics Display statistics and detailed info
routing Display routing status
monitor interface (-('('( monitors interface real-time statistics
monitor traffic interface (-('('( prints pac,et headers to your terminal screen for info sent'received !y the "E? Ho filtering allowed
monitor traffic interface (-('('( write-file
7file9
.hidden3
writes output to this command to a file# with LD headers present
all info is stored in a file so you can use tcpdump to read it
1 tcpdump -r 4hell command read the contents of a tcpdump file
monitor start /var'log'file< prints logfile to your terminal screen
show arp shows 5"$ entries
clear interfaces statistics so-D'0'6 reset counters statistics for this particular interface
show interfaces diagnostics optics so-6'0'0 displays 4BHEK signaling power values and laser K( "(
Routing
show route show ip route
show route protocol 7static# isis:9 show ip route for an specific protocol
show route (?(?(?( e(tensive e(tensive view of a route
show route advertising-protocol
show route receiving-protocol
Forwarding
show route forwarding-ta!le destination
(?(?(?( displays route entries in the master copy of the -K .on "E3
clear route forwarding-ta!le (?(?(?( clears entries from the -K .!e careful2 could lead to "IL'-IL inconsistencies223
4-M0 .vty3M show route ip prefi( (?(?(?(
4hell command
displays route entries into the $-E -K .should !e identical to "E -K3
Firewall
show firewall show pac,et'!yte counts for all policing filters
show firewall log detail log in memory resident !uffer',ernel cache .detailF pac,et length3
clear firewall 7all8filter-name8counter-name9 clears counters
show interfaces filters displays all firewall filters on all interfaces
show interfaces policers displays all firewall policers on all interfaces
show policer displays all policers# where it is used and no? pac,ets processed
Management & Interface testing
ping icmp echo-re;uest'echo-response
ping atm interface /intf< vci /nr< ping remote atm interface using oam cells
traceroute send udp CC4C4'ttl@6- receive icmp time-e(ceeded
send udp CC4C>'ttl@D - receive icmp time-e(ceeded

send udp CC4CI'ttl@N - receive icmp port unreacha!le


Loopback test
set tC-options loop!ac, local and delete sets loop!ac, on $IC towards router
set tC-options loop!ac, remote and delete sets loop!ac, on $IC towards far-end
BER test
set tC-options !ert-period 6D0 LE"K test duration
set tC-options !ert-algorithm all-ones-
repeating LE"K test pattern
set tC-options !ert-error-rate 0 LE"K test error rate
test interface tC-6'D'0 tC-!ert-start 4tarts LE"K test
test interface tC-6'D'0 tC-!ert-stop 4tops LE"K test
show interfaces tC-6'D'0 e(tensive 8 find !ert
Policy
test policy /policy-name< 0'0 $ass all routes .0'03 through the policy as test

Você também pode gostar