About You ..

You are from United States United States
using Unknown Unknown
with browser Unknown Bot Unknown Bot
and your IP: 38.107.191.101
so dont be Shady.. :)

About You ..

Stalk me ..

  • Facebook: suhas33
  • Linked In: http://www.linkedin.com/profile?viewProfile=&key=49025724&locale=en_US&trk=tab_pro
  • Twitter: suhas333


42%United States United States
6.5%Japan Japan
4.3%India India
3.7%United Kingdom United Kingdom
3.2%Germany Germany
2.9%Australia Australia
2.9%Russian Federation Russian Federation
2.4%Poland Poland
2.3%France France
2.2%Canada Canada

Today: 6
Yesterday: 4
Last Week: 97
This Month: 73
Last Month: 411
Total: 1168


JoomlaWatch 1.2.11 - Joomla Monitor and Live Stats by Matej Koval
ScreenOS
TCPdump - Juniper

start shell

tcpdump -i ge-0/0/1 -w TRADEBOT.pcap
ctrl q to stop

file copy TRADEBOT.pcap ftp://83.151.97.106/TRADEBOT.pcap

file delete TRADEBOT.pcap

 

How to disconnect a user when request system logout user doesn't work

 

When request system logout user can't clear a login session, we can still find the PID of that session and kill that process from the shell.

root@R1> show system users
2:13PM  up 5:13, 2 users, load averages: 0.00, 0.00, 0.00
USER     TTY      FROM                              LOGIN@  IDLE WHAT
root     d0       -                                9:01AM      - cli
lab      p0       w.x.y.z                          2:13PM      - -cli (cli)

root@R1> show system processes extensive | match lab
3236 lab        2   0  9540K  4924K select   0:00  0.00%  0.00% cli

root@R1> start shell user root

root@R1% ps -aux | grep lab
root  3237  0.0  1.0 13496 8160  ??  Is    2:13PM   0:00.01 mgd: (mgd) (lab)/de
lab   3236 0.0  0.6  9540 4924  p0  S+    2:13PM   0:00.12 -cli (cli)

root@R1% kill -9 3236



 

 

How to ensure current configuration was deleted

Problem or Goal:

NetScreen-204 ScreenOS 3.1.0r8

Solution:

The current saved configuration is in "ns_sys_config" file on the flash. To determine what files are used on flash:

ns204-> get file
device   filename               size cksum    location/sec op
flash    dnstb.rec                 1 00000000 bf40c000/029  0
flash    dhcpservl.txt             0 00000000 bf410000/029  0
flash    ns_sys_config          2067 00000000 bf440000/031  0

And in order to delete the current saved configuration file (ns_sys_config), use  "unset all" command on the CLI.

ns204-> unset all
Erase all system config, are you sure y/[n] ? y

After that, verify the ns_sys_config file was deleted.

ns204-> get file
device   filename               size cksum    location/sec op
flash    dnstb.rec                 1 00000000 bf40c000/029  0
flash    dhcpservl.txt             0 00000000 bf410000/029  0

Then reset the NetScreen device to load the default configuration.

ns204-> reset
Configuration modified, save? [y]/n n  <-- If enter "y", it will copy current running-config in memory to flash.
System reset, are you sure? y/[n] y
In reset ...

 

set vrouter trust-vr router-id 1.1.1.1

Create Routing Instance -
set vrouter trust-vr protocol ospf

Enable OSPF
set vrouter trust-vr protocol ospf enable

Create OSPF Area
set vrouter trust-vr protocol ospf area 10

Assign Interface to Areas
set interface ethernet1 protocol ospf area 10
set interface ethernet3 protocol ospf area 0

Enable OSPF on an Interface
set interface ethernet1 protocol ospf enable
set interface ethernet3 protocol ospf enable

Save

 

Changing the Port Mode

exec port-mode home-work

http://www.juniper.net/techpubs/hardware/netscreen-appliances/netscreen-appliances50/ug_5gt-wlan.pdf