kurtʮһѧϰͬ²½¼Æ»®(·¡¡¢JUNIPER·ÓÉÆ÷Ó²¼þ¼°ÏµÍ³»ù´¡)
[email=root@%]root@%[/email] cli //ʹÓÃcliÃüÁî½øÈë²Ù×÷ģʽ
root> ? //¿´¿´¿ÉÒÔʹÓõÄÃüÁî
Possible completions:
clear Clear information in the system
configure Manipulate software configuration information
file Perform file operations
help Provide help information
monitor Show real-time debugging information
mtrace Trace multicast path from source to receiver
op Invoke an operation script
ping Ping remote target
quit Exit the management session
request Make system-level requests
restart Restart software process
set Set CLI properties, date/time, craft interface message
show Show system information
ssh Start secure shell on another host
start Start shell
telnet Telnet to another host
test Perform diagnostic debugging
traceroute Trace route to remote host
root> show ? //¿´¿´Ïà¹ØµÄshowÃüÁî
Possible completions:
accounting Show accounting profiles and records
aps Show Automatic Protection Switching information
arp Show system Address Resolution Protocol table entries
as-path Show table of known autonomous system paths
bfd Show Bidirectional Forwarding Detection information
bgp Show Border Gateway Protocol information
chassis Show chassis information
class-of-service Show class-of-service (CoS) information
cli Show command-line interface settings
configuration Show current configuration
connections Show circuit cross-connect connections
dhcp Show Dynamic Host Configuration Protocol information
dvmrp Show Distance Vector Multicast Routing Protocol information
dynamic-tunnels Show dynamic tunnel information information
esis Show end system-to-intermediate system information
firewall Show firewall information
helper Show port-forwarding helper information
host Show hostname information from domain name server
igmp Show Internet Group Management Protocol information
ilmi Show interim local management interface information
interfaces Show interface information
ipv6 Show IP version 6 information
isis Show Intermediate System-to-Intermediate System information
l2circuit Show Layer 2 circuit information
l2vpn Show Layer 2 VPN information
lacp Show Link Aggregation Control Protocol information
ldp Show Label Distribution Protocol information
link-management Show link management information
llc2 Show LLC2 protocol related information
log Show contents of log file
mld Show multicast listener discovery information
mpls Show Multiprotocol Label Switching information
msdp Show Multicast Source Discovery Protocol information
multicast Show multicast information
ntp Show Network Time Protocol information
oam Show OAM-related information
ospf Show Open Shortest Path First information
ospf3 Show Open Shortest Path First version 3 information
passive-monitoring Show information about passive monitoring
pfe Show Packet Forwarding Engine information
pgm Show Pragmatic Generalized Multicast information
pim Show Protocol Independent Multicast information
policer Show interface policer counters and information
policy Show policy information
ppp Show PPP process information
rip Show Routing Information Protocol information
ripng Show Routing Information Protocol for IPv6 information
route Show routing table information
rsvp Show Resource Reservation Protocol information
sap Show Session Announcement Protocol information
services Show services information
snmp Show Simple Network Management Protocol information
system Show system information
task Show routing protocol per-task information
ted Show Traffic Engineering Database information
version Show software process revision levels
vpls Show VPLS information
vrrp Show Virtual Router Redundancy Protocol information
/***********¼ì²éÏà¹ØÓ²¼þÅäÖÃ*************/
root> show chassis environment //²ì¿´Ó²¼þµÄζÈ
Class Item Status Measurement
Power Power Supply 0 Testing
Power Supply 1 OK
Temp Intake OK 24 degrees C / 75 degrees F
FPC 0 OK 26 degrees C / 78 degrees F
Power Supplies OK 26 degrees C / 78 degrees F
CFEB Intake OK 25 degrees C / 77 degrees F
CFEB Exhaust OK 30 degrees C / 86 degrees F
Routing Engine OK 28 degrees C / 82 degrees F
Fans Fan 1 OK Spinning at normal speed
Fan 2 OK Spinning at normal speed
Fan 3 OK Spinning at normal speed
Fan 4 OK Spinning at normal speed
root> show chassis alarms //²ì¿´µ±Ç°Ó²¼þ¹ÊÕÏ£¬ÓÉÓÚ¶Ë¿ÚδÅ䣬ËùÒÔÊÇDown±¨¹ÊÕÏ
2 alarms currently active
Alarm time Class Description
2007-10-01 03:53:52 UTC Major Host 0 fxp0: Ethernet Link Down
2007-10-01 03:53:22 UTC Major PEM 0 Not O //£¿²»Ì«Çå³þΪɶ£¿ºÃÏñÊÇÄĸöÓ²¼þûÆðÀ´
root> show chassis hardware detail //²é¿´µ±Ç°Ó²¼þÅäÖÃ
Hardware inventory:
Item Version Part number Serial number Description
Chassis A9158 M7i
Midplane REV 05 710-008761 DF1888 M7i Midplane
Power Supply 0 Rev 04 740-008985 TE53102 DC Power Supply¡¡¡¡µçÔ´
Power Supply 1 Rev 04 740-008985 TE53094 DC Power Supply
Routing Engine REV 14 740-009459 9005113471 RE-5.0¡¡¡¡¡¡¡¡¡¡¡¡Â·ÓÉÒýÇæ
ad1 38154 MB FUJITSU MHV2040AS NT14T7529K07 Hard Disk¡¡¡¡¡¡¡¡¡¡Ó²ÅÌ
CFEB REV 09 750-010463 DD8778 Internet Processor II¡¡¡¡´¦ÀíÆ÷
FPC 0 E-FPC
PIC 0 REV 09 750-003863 DE6086 4x E1, BNC¡¡¡¡¡¡¡¡£Ð£É£Ã¿¨
PIC 1 REV 09 750-003863 DE1341 4x E1, BNC
FPC 1 E-FPC
PIC 2 BUILTIN BUILTIN 1x Tunnel¡¡¡¡¡¡¡¡¡¡¡¡¡¡£¿²»Ì«Çå³þ¸ÉʲôµÎ
PIC 3 REV 10 750-009098 DF0350 2x F/E, 100 BASE-TX¡¡¡¡¿ìËÙÒÔÌ«Íø¿Ú
Fan Tray Rear Fan Tray¡¡¡¡¡¡¡¡¡¡·çÉÈ
root> show chassis hardware clei-models ¡¡¡¡¡¡¡¡¡¡//²ì¿´ÅäÖÿ¨ÐͺÅ
Hardware inventory:
Item Version Part number CLEI code FRU model number
Midplane REV 05 710-008761 CHAS-MP-M7i-1GE-S
Power Supply 0 Rev 04 740-008985 PWR-M10i-M7i-DC-S
Power Supply 1 Rev 04 740-008985 PWR-M10i-M7i-DC-S
Routing Engine REV 14 740-009459 RE-400-256-S
CFEB REV 09 750-010463 FEB-M7i-BB
FPC 0
PIC 0 REV 09 750-003863 PE-4E1-COAX
PIC 1 REV 09 750-003863 PE-4E1-COAX
FPC 1
Fan Tray FANTRAY-M7i-S
root> show chassis cfeb //²ì¿´×ª·¢ÒýÇæ×´Ì¬
CFEB status:
State Online
Intake temperature 25 degrees C / 77 degrees F
Exhaust temperature 30 degrees C / 86 degrees F
CPU utilization 2 percent
Interrupt utilization 0 percent
Heap utilization 9 percent
Buffer utilization 24 percent
Total CPU DRAM 128 MB
Internet Processor II Version 2, Foundry IBM, Part number 164
Start time: 2007-10-01 03:53:49 UTC
Uptime: 1 hour, 15 minutes, 47 seconds
root> show chassis routing-engine //²ì¿´Â·ÓÉÒýÇæ×´Ì¬
Routing Engine status:
Temperature 28 degrees C / 82 degrees F
CPU temperature 26 degrees C / 78 degrees F
DRAM 256 MB
Memory utilization 48 percent
CPU utilization:
User 0 percent
Background 0 percent
Kernel 3 percent
Interrupt 0 percent
Idle 97 percent
Model RE-5.0
Serial ID 9005113471
Start time 2007-10-01 03:52:10 UTC
Uptime 1 hour, 19 minutes
Load averages: 1 minute 5 minute 15 minute
0.05 0.02 0.00
root> show chassis craft-interface //²ì¿´¶Ë¿Ú״̬
Red alarm: LED on, relay off
Yellow alarm: LED off, relay off
Routing Engine OK LED: On
Routing Engine fail LED: Off
FPCs 0 1
-------------
Green * *
Red . .
LCD screen:
+--------------------+
|noname |
|2 Alarms active |
|R: Host 0 fxp0: Link|
|R: PEM 0 Not OK |
+--------------------+
root> show chassis fpc //²ì¿´fpc¿¨×´Ì¬
Temp CPU Utilization (%) Memory Utilization (%)
Slot State (C) Total Interrupt DRAM (MB) Heap Buffer
0 Online 3 0 128 9 24
1 Online 3 0 128 9 24
root> show chassis mac-addresses //²ì¿´MACµØÖ·
MAC address information:
Public base address 00:19:e2:9b:6c:00
Public count 1008
Private base address 00:19:e2:9b:6f:f0
Private count 16
root> show chassis pic pic-slot 0 fpc-slot 0 //²ì¿´pic¿¨×´Ì¬
FPC slot 0, PIC slot 0 information:
Type 4x E1, BNC
ASIC type DS1 FPGA
State Online
PIC version 2.9
Uptime 1 hour, 25 minutes, 8 seconds
root> show chassis temperature-thresholds //ζȸ澯ÉèÖÃ
Fan speed Yellow alarm Red alarm
Item Normal High Normal Bad fan Normal Bad fan
Chassis default 48 54 65 55 75 65
Routing Engine 55 65 85 85 100 100
root> show interfaces e1-0/0/0 //²ì¿´¶Ë¿ÚÃüÁî
Physical interface: e1-0/0/0, Enabled, Physical link is Down
Interface index: 128, SNMP ifIndex: 55
Link-level type: PPP, MTU: 1504, Clocking: Internal, Speed: E1,
Loopback: None, FCS: 16, Framing: G704
Device flags : Present Running Down
Interface flags: Hardware-Down Point-To-Point SNMP-Traps Internal: 0x4000
Link flags : Keepalives
CoS queues : 4 supported, 4 maximum usable queues
Last flapped : 2007-10-01 03:54:41 UTC (01:32:47 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
DS1 alarms : LOF, LOS
DS1 defects : LOF, LOS
/*******²ì¿´ÏµÍ³Ïà¹Ø********/
root> show version //²ì¿´JUNOS°æ±¾
Model: m7i
JUNOS Base OS boot [8.3R1.5]
JUNOS Base OS Software Suite [8.3R1.5]
JUNOS Kernel Software Suite [8.3R1.5]
JUNOS Packet Forwarding Engine Support (M/T Common) [8.3R1.5]
JUNOS Packet Forwarding Engine Support (M7i/M10i) [8.3R1.5]
JUNOS Online Documentation [8.3R1.5]
JUNOS Routing Software Suite [8.3R1.5]
root> show configuration //²ì¿´»ù´¡ÅäÖÃ
## Last commit: 2007-08-17 16:08:28 UTC by root
version 8.3R1.5;
system {
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
## Warning: missing mandatory statement(s): 'root-authentication' //δ¸ørootÅäÖÃÃÜÂë
}
root> show system ? //²ì¿´systemÏà¹ØÃüÁî
Possible completions:
alarms Show system alarm status
audit Show file system MD5 hash and permissions
boot-messages Show boot time messages
buffers Show buffer statistics
certificate Show installed X509 certificates
commit Show pending commit requests (if any) and commit history
configuration Show configuration information
connections Show system connection activity
directory-usage Show local directory information
processes Show system process table
queues Show queue statistics
reboot Show any pending halt or reboot requests
rollback Show rolled back configuration
services Show service applications information
snapshot Show snapshot information
software Show loaded JUNOS extensions
statistics Show statistics for protocol
storage Show local storage data
uptime Show time since system and processes started
users Show users who are currently logged in
virtual-memory Show kernel dynamic memory usage
root> show system users //²ì¿´Óû§
5:49AM up 1:58, 1 user, load averages: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE WHAT
root d0 - 4:23AM - cli
root> show system alarms //²ì¿´ÏµÍ³±¨¾¯
2 alarms currently active
Alarm time Class Description
2007-10-01 03:53:52 UTC Major Host 0 fxp0: Ethernet Link Down
2007-10-01 03:53:22 UTC Major PEM 0 Not OK
ÆäËûÃüÁî»ù±¾¶¼ºÍÍøÂçÁ¬½ÓÓйØÏµÁË
ËÑË÷¸ü¶àÏà¹ØÖ÷ÌâµÄÌû×Ó:
ѧϰ ʵÑé