root@Ex4200VC> show chassis firmware no-forwarding Part Type Version FPC 0 uboot U-Boot 1.1.6 (Mar 26 2011 - 04:42:33) 1.0.0 loader FreeBSD/PowerPC U-Boot bootstrap loader 2.4 FPC 1 uboot U-Boot 1.1.6 (Mar 26 2011 - 04:42:33) 1.0.0 loader FreeBSD/PowerPC U-Boot bootstrap loader 2.4
show chassis routing-engine
root@Ex4200VC> show chassis routing-engine Routing Engine status: Slot 0: Current state Master Election priority Master (default) Temperature 52 degrees C / 125 degrees F CPU temperature 52 degrees C / 125 degrees F DRAM 1024 MB Memory utilization 34 percent CPU utilization: User 3 percent Background 0 percent Kernel 2 percent Interrupt 0 percent Idle 95 percent Model EX4200-48P, 48 POE Serial ID BQ02103ABCDE Start time 2011-03-19 23:36:30 GMT Uptime 18 days, 12 hours, 59 minutes, 32 seconds Last reboot reason Router rebooted after a normal shutdown. Load averages: 1 minute 5 minute 15 minute 0.43 0.18 0.11 Routing Engine status: Slot 1: Current state Backup Election priority Backup (default) Temperature 36 degrees C / 96 degrees F CPU temperature 36 degrees C / 96 degrees F DRAM 1024 MB Memory utilization 26 percent CPU utilization: User 8 percent Background 0 percent Kernel 11 percent Interrupt 0 percent Idle 81 percent Model EX4200-48P, 48 POE Serial ID BQ02104ABCDE Start time 2011-03-19 23:36:24 GMT Uptime 18 days, 12 hours, 59 minutes, 38 seconds Last reboot reason Router rebooted after a normal shutdown. Load averages: 1 minute 5 minute 15 minute 0.07 0.03 0.00
How to copy files from one location to another in a Routing Engine
How to copy files from one location to another in a Routing Engine
Copy file from one directory to another:
In order to move files from one directory to another on a local router, use the following command:
user@host> file copy
user@host> file copy /var/log/file1.txt /var/tmp/
- How To Install AutoFS on Linux
- Pwd Command in Linux (Current Working Directory)
- Chown Command in Linux (File Ownership)
In this example, file file1 is copied from the /var/log directory to /var/tmp.
Copy a file from one Routing Engine to another:
On Dual Routing engine routers, copy a file from one RE to another RE, use the following command:
user@host> file copy /var/tmp/jinstall-11.2R1.7-domestic-signed.tgz re1:/var/tmp/
In this example, when run in the Master RE, the Junos image on the Master RE is copied from the /var/tmp/ directory to the /var/tmp/ directory on the Backup RE.
system services
root@Ex# set ?
Possible completions:
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don’t inherit configuration data from these groups
> dhcp Configure DHCP server
> finger Allow finger requests from remote systems
> ftp Allow FTP file transfers
> netconf Allow NETCONF connections
> outbound-ssh Initiate outbound SSH connection
> service-deployment Configuration for Service Deployment (SDXD) management application
> ssh Allow ssh access
> subscriber-management Subscriber management configuration
> telnet Allow telnet login
> tftp-server Allow TFTP file transfers in default routing instance
> web-management Web management configuration
> xnm-clear-text Allow clear text-based JUNOScript connections
> xnm-ssl Allow SSL-based JUNOScript connections
[edit system services]
root@Ex# set
show system snapshot media internal – To know Junos installed in both partitions of Ex
root> show system snapshot media internal fpc0: -------------------------------------------------------------------------- Information for snapshot on internal (/dev/da0s1a) (primary) Creation date: Feb 11 23:59:41 2013 JUNOS version on snapshot: jbase : ex-12.3R1.7 jcrypto-ex: 12.3R1.7 jdocs-ex: 12.3R1.7 jroute-ex: 12.3R1.7 jswitch-ex: 12.3R1.7 jweb-ex: 12.3R1.7 Information for snapshot on internal (/dev/da0s2a) (backup) Creation date: Feb 6 08:38:13 2013 JUNOS version on snapshot: jbase : 11.3R4.2 jcrypto-ex: 11.3R4.2 jdocs-ex: 11.3R4.2 jroute-ex: 11.3R4.2 jswitch-ex: 11.3R4.2 jweb-ex: 11.3R4.2 {master:0} root>
show system storage partitions – Show active partitions information for the boot media in juniper ex
root> show system storage partitions
fpc0:
--------------------------------------------------------------------------
Boot Media: internal (da0)
Active Partition: da0s1a <<<< Ex is currently booted from slice da0s1a partition
Backup Partition: da0s2a
Currently booted from: active (da0s1a)
Partitions information:
Partition Size Mountpoint
s1a 183M /
s2a 184M altroot
s3d 369M /var/tmp
s3e 123M /var
s4d 62M /config
{master:0}
root>