root@TestBox> show configuration |no-more ## Last commit: 2010-11-18 19:05:38 UTC by root version 10.0R3.10; system { host-name TestBox; root-authentication { encrypted-password "$1$Sme5oIqh$zqiKuJM4YRGYVgXZ9zmXe1"; ## SECRET-DATA } name-server { 208.67.222.222; 208.67.220.220; } services { ssh; telnet; web-management { http { interface vlan.0; } https { system-generated-certificate; interface vlan.0; } } dhcp { router { 192.168.1.1; } pool 192.168.1.0/24 { address-range low 192.168.1.2 high 192.168.1.254; } propagate-settings ge-0/0/0.0; } } syslog { archive size 100k files 3; user * { any emergency; } file messages { any critical; authorization info; } file interactive-commands { interactive-commands error; } } max-configurations-on-flash 5; max-configuration-rollbacks 5; license { autoupdate { url https://ae1.juniper.net/junos/key_retrieval; } } } interfaces { interface-range interfaces-trust { member ge-0/0/1; member ge-0/0/2; member ge-0/0/3; member ge-0/0/4; member ge-0/0/5; member ge-0/0/6; member ge-0/0/7; member ge-0/0/8; member ge-0/0/9; member ge-0/0/10; member ge-0/0/11; member ge-0/0/12; member ge-0/0/13; member ge-0/0/14; member ge-0/0/15; unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } ge-0/0/0 { unit 0; } vlan { unit 0 { family inet { address 192.168.1.1/24; } } } } security { nat { source { rule-set trust-to-untrust { from zone trust; to zone untrust; rule source-nat-rule { match { source-address 0.0.0.0/0; } then { source-nat { interface; } } } } } } screen { ids-option untrust-screen { icmp { ping-death; } ip { source-route-option; tear-drop; } tcp { syn-flood { alarm-threshold 1024; attack-threshold 200; source-threshold 1024; destination-threshold 2048; timeout 20; } land; } } } zones { security-zone trust { host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { vlan.0; } } security-zone untrust { screen untrust-screen; interfaces { ge-0/0/0.0 { host-inbound-traffic { system-services { dhcp; tftp; } } } } } } policies { from-zone trust to-zone untrust { policy trust-to-untrust { match { source-address any; destination-address any; application any; } then { permit; } } } } } vlans { vlan-trust { vlan-id 3; l3-interface vlan.0; } } root@TestBox> request system snapshot media usb partition Clearing current label... Partitioning usb media (/dev/da1) ... Partitions on snapshot: Partition Mountpoint Size Snapshot argument s1a / 1.2G none s2a /altroot 1.2G none s3e /config 94M none s3f /var 1.1G none s4a recovery 131M none Copying '/dev/da0s1a' to '/dev/da1s1a' .. (this may take a few minutes) Copying '/dev/da0s2a' to '/dev/da1s2a' .. (this may take a few minutes) Copying '/dev/da0s3e' to '/dev/da1s3e' .. (this may take a few minutes) Copying '/dev/da0s3f' to '/dev/da1s3f' .. (this may take a few minutes) Copying '/dev/da0s4a' to '/dev/da1s4a' .. (this may take a few minutes) The following filesystems were archived: / /altroot /config /var recovery root@TestBox> edit Entering configuration mode [edit] root@TestBox# set system root-authentication plain-text-password New password: Retype new password: root@TestBox# set system host-name ChangedBox [edit] root@TestBox# commit commit complete [edit] root@ChangedBox# quit Exiting configuration mode root@ChangedBox> request system reboot media usb Reboot the system ? [yes,no] (no) yes Shutdown NOW! [pid 2182] root@ChangedBox> *** FINAL System shutdown message from root@ChangedBox *** System going down IMMEDIATELY rtfifo_rt_ch_free: Channel free for ch_id fxp2 successful on slot 0 for type 4660 rtfifo_rt_ch_free: Channel free for ch_id fxp2 successful on slot 0 for type 22136 rtfifo_rt_ch_free: Both Send and Recv channels freed for ch_id fxp2 NWaiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `vnlru_mem' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...0 0 0 done syncing disks... All buffers synced. Uptime: 39m34s Rebooting... cpu_reset: Stopping other CPUs U-Boot 1.1.6-JNPR-1.7 (Build time: May 4 2010 - 06:59:58) SRX_240_HIGHMEM board revision major:1, minor:42, serial #: AABR7814 OCTEON CN5230R-SCP pass 2.0, Core clock: 600 MHz, DDR clock: 333 MHz (666 Mhz data rate) DRAM: 1024 MB Starting Memory POST... Checking datalines... OK Checking address lines... OK Checking 512K memory for U-Boot... OK. Running U-Boot CRC Test... OK. Flash: 4 MB USB: scanning bus for devices... Root Hub 0: 4 USB Device(s) found Root Hub 1: 1 USB Device(s) found scanning bus for storage devices... 2 Storage Device(s) found Clearing DRAM........ done BIST check passed. 1:00:00.0 Vendor/Device ID = 0x811210b5 1:01:07.0 Vendor/Device ID = 0xc72414e4 Boot Media: nand-flash usb Net: octeth0 POST Passed Press SPACE to abort autoboot in 1 seconds ELF file is 32 bit Loading .text @ 0x8f000078 (246092 bytes) Loading .rodata @ 0x8f03c1c4 (13940 bytes) Loading .rodata.str1.4 @ 0x8f03f838 (16580 bytes) Loading set_Xcommand_set @ 0x8f0438fc (104 bytes) Loading .rodata.cst4 @ 0x8f043964 (20 bytes) Loading .data @ 0x8f044000 (5620 bytes) Loading .data.rel.ro @ 0x8f0455f4 (120 bytes) Loading .data.rel @ 0x8f04566c (136 bytes) Clearing .bss @ 0x8f0456f8 (11912 bytes) ## Starting application at 0x8f000078 ... Consoles: U-Boot console Found compatible API, ver. 1.7 FreeBSD/MIPS U-Boot bootstrap loader, Revision 1.7 (builder@shoth.juniper.net, Tue May 4 07:15:51 UTC 2010) Memory: 1024MB [0]Booting from usb slice 1 Un-Protected 1 sectors writing to flash... Protected 1 sectors |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/Loading /boot/defaults/loader.conf -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|//kernel data=0x9120e4+0xc6d10 -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\syms=[0x4+0x74800|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+0x4+0xa4eb2-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-] Hit [Enter] to boot immediately, or space bar for command prompt. Booting [/kernel] in 1 second... Booting [/kernel]... \|/-\|/-Kernel entry at 0x801000d8 ... getbootinfo: magic 0x0 md 0x80bf4000 memsize 0x0 getbootinfo: boothowto 0x1000 kernend 0x80c00000 memsize 1024MB i2cid 0x529 kernelname /kernel Platform Starting init regular console Initializing octeon watchdog GDB: debug ports: uart GDB: current port: uart KDB: debugger backends: ddb gdb KDB: current backend: ddb getmemsize: msgbufp[size=32768] = 0x8000cfe4 Copyright (c) 1996-2010, Juniper Networks, Inc. All rights reserved. Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. JUNOS 10.0R3.10 #0: 2010-04-16 08:47:35 UTC builder@ormonth.juniper.net:/volume/build/junos/10.0/release/10.0R3.10/obj-octeon/bsd/sys/compile/JSRXNLE JUNOS 10.0R3.10 #0: 2010-04-16 08:47:35 UTC builder@ormonth.juniper.net:/volume/build/junos/10.0/release/10.0R3.10/obj-octeon/bsd/sys/compile/JSRXNLE real memory = 1073741824 (1024MB) avail memory = 535977984 (511MB) cpuid: 0, btlb_cpumap:0xffffffff FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs Initializing watchdog interupt Loading RT Fifo module..... Loaded RT Fifo module pmap_helper loaded (interface version 6, syscall 210) cpu0 on motherboard : CAVIUM's Octeon CPU Rev. 0.8 with no FPU implemented L1 Cache: I size 32kb(128 line), D size 8kb(128 line), sixty four way. L2 Cache: Size 128kb, ? way obio0 on motherboard uart0: on obio0 uart0: console (9600,n,8,1) twsi0 on obio0 dwc0: on obio0 usb0: DWC OTG Controller Using DMA mode Init: Port Power? op_state=1 Init: Power Port (0) usb0: on dwc0 usb0: USB revision 2.0 uhub0: vendor 0x0000 DWC OTG root hub, class 9/0, rev 2.00/1.00, addr 1 uhub0: 1 port with 1 removable, self powered uhub1: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 2 uhub1: single transaction translator uhub1: 3 ports with 2 removable, self powered umass0: STMicroelectronics ST72682 High Speed Mode, rev 2.00/2.10, addr 3 umass1: ADATA ADATA USB Flash Drive, rev 2.00/11.00, addr 4 dwc1: on obio0 usb1: DWC OTG Controller Using DMA mode Init: Port Power? op_state=1 Init: Power Port (0) usb1: on dwc1 usb1: USB revision 2.0 uhub2: vendor 0x0000 DWC OTG root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 1 port with 1 removable, self powered pcib1: on obio0 Disabling Octeon big bar support PCIe: Waiting for port 0 to finish reset PCIe: Port 0 link active, 2 lanes PCIe: Waiting for port 1 to finish reset PCIe: Port 1 link active, 1 lanes pcib1: Initialized controller pci0: on pcib1 pcib2: at device 0.0 on pci0 pci1: on pcib2 pci1: at device 2.0 (no driver attached) pci1: at device 7.0 (no driver attached) pcib0: on obio0 pci2: on pcib0 pci2: at device 0.0 (no driver attached) cpld0 on obio0 gblmem0 on obio0 octpkt0: on obio0 cfi0: on obio0 platform_cookie_read not implemented Timecounter "mips" frequency 600000000 Hz quality 0 Timecounters tick every 1.000 msec fxp_ctrlif_attach:fxpctrldev = c1c91000 fxp2_ctrlif_attach:fxpctrldev = 0xc1c91000 Loading the NETPFE ethernet module Loading E1/T1/J1 driver Loading the DS1/E1 Media Layer; Attaching to media services layer Loading common multilink module. Loading the NETPFE PPPoE module Loading the netpfe services driver Loading the XDSL Media Layer; Attaching to media services layer Loading the IPSec driver Loading the PTM driver Loading the DIALER driver Loading Link Services PICs module. IPsec: Initialized Security Association Processing. SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! da1 at umass-sim1 bus 1 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 3870MB (7925760 512 byte sectors: 255H 63S/T 493C) da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 1000MB (2048000 512 byte sectors: 64H 32S/T 1000C) if_pfe_open: listener socket opened, listening on ... Trying to create bootdev, rootpartition da1s1a Trying to mount root from ufs:/dev/da1s1a Attaching /cf/packages/junos via /dev/mdctl... Mounted junos package on /dev/md0...  Media check on da0 Automatic reboot in progress... ** /dev/da1s1a FILE SYSTEM CLEAN; SKIPPING CHECKS clean, 536554 free (42 frags, 67064 blocks, 0.0% fragmentation) Verified junos signed by PackageProduction_10_0_0 Verified jboot signed by PackageProduction_10_0_0 Verified junos-10.0R3.10-domestic signed by PackageProduction_10_0_0 ** /dev/bo0s3e FILE SYSTEM CLEAN; SKIPPING CHECKS clean, 48304 free (24 frags, 6035 blocks, 0.0% fragmentation) ** /dev/bo0s3f FILE SYSTEM CLEAN; SKIPPING CHECKS clean, 572769 free (105 frags, 71583 blocks, 0.0% fragmentation) Loading configuration ... mgd: commit complete Setting initial options: debugger_on_panic=NO debugger_on_break=NO. Starting optional daemons: usbd. Doing initial network setup:. Initial interface configuration: TNPv3: adding neighbor 0x00000001 to interface lo0. additional daemons: eventd. savecore: /dev/bo0s1b: No such file or directory savecore: Reboot reason(s): 0x200: chassis control reset savecore: no dumps found Additional routing options:kern.module_path: /boot//kernel;/boot/modules -> /boot//kernel;/boot/modules;/modules grat_arp_delay=${grat_arp_delay}: net.link.ether.inet.grat_arp_delay: 0 -> 0 . Doing additional network setup:. Starting final network daemons:. setting ldconfig path: /usr/lib /opt/lib starting standard daemons: cron. Initial rc.mips initialization:. Local package initialization:. starting local daemons:. kern.securelevel: -1 -> 1 debug.kdb.stop_cpus: 1 -> 2 Creating UTM MFS partition... UTM MFS partition created Creating JAIL MFS partition... JAIL MFS partition created machdep.nextbootdev: usb -> nand-flash Boot media /dev/da1 has dual root support hw.re.dualroot.enabled: 0 -> 1 hw.re.dualroot.active_root: -> /dev/da1s1a hw.re.dualroot.current_root: -> /dev/da1s1a hw.re.dualroot.alt_root: -> /dev/da1s2a hw.re.dualroot.booted_from: -> active ** /dev/da1s2a FILE SYSTEM CLEAN; SKIPPING CHECKS clean, 536621 free (45 frags, 67072 blocks, 0.0% fragmentation) Thu Nov 18 19:22:02 UTC 2010 rtfifo_assign_slot: Slot 0 assigned for ch_id fxp2 rtfifo_rt_ch_alloc: Channel alloc for ch_id fxp2 successful on slot 0 for type 22136 rtfifo_rt_ch_alloc: Channel alloc for ch_id fxp2 successful on slot 0 for type 4660 rtfifo_rt_ch_alloc: Both Send and Recv channels setup for ch_id fxp2 TestBox (ttyu0)login: root Password: g_vfs_done():da1s1a[READ(offset=580786176, length=2048)]error = 5 g_vfs_done():da1s3f[WRITE(offset=192577536, length=16384)]error = 5 g_vfs_done():da1s3f[WRITE(offset=192593920, length=16384)]error = 5 g_vfs_done():da1s3f[READ(offset=195835904, length=2048)]error = 5 g_vfs_done():da1s3f[WRITE(offset=196050944, length=8192)]error = 5 g_vfs_done():da1s3f[WRITE(offset=385122304, length=16384)]error = 5 g_vfs_done():da1s3f[WRITE(offset=385138688, length=16384)]error = 5 g_vfs_done():da1s3f[WRITE(offset=577667072, length=16384)]error = 5 g_vfs_done():da1s3f[WRITE(offset=580698112, length=2048)]error = 5 g_vfs_done():da1s3f[WRITE(offset=962756608, length=16384)]error = 5 g_vfs_done():da1s3f[WRITE(offset=962772992, length=16384)]error = 5 g_vfs_done():da1s3f[READ(offset=965861376, length=4096)]error = 5 g_vfs_done():da1s3f[WRITE(offset=577683456, length=16384)]error = 5