Saturday, 15 June 2013

JUNOS : Class-of-Service Overview


When a network experiences congestion and delay, some packets must be dropped. JUNOS software class-of-service (CoS) allows you to divide traffic into classes and offer various levels of throughput and packet loss when congestion occurs.

This allows packet loss to happen according to the rules you configure.
For interfaces that carry IPv4 and MPLS traffic, you can configure the JUNOS software CoS features to provide multiple classes of service for different applications. 

On the device, you can configure multiple forwarding classes for transmitting packets, define which packets are placed into each output queue, schedule the transmission service level for each queue, and manage congestion using a random early detection (RED) algorithm.

Traffic shaping is the allocation of the appropriate amount of network bandwidth to every user and application on an interface. The appropriate amount of bandwidth is defined as cost-effective carrying capacity at a guaranteed CoS. 
You can use a J-series Services Router or an SRX-series services gateway to control traffic rate by applying classifiers and shapers.

The CoS features provide a set of mechanisms that you can use to provide differentiated services when best-effort delivery is insufficient.

Wednesday, 5 June 2013

Junos : How to view current date and uptime

 View current date/time and system uptime 
 
show system uptime
user@host> show system uptime
Current time:      1998-10-13 19:45:47 UTC 
System booted:     1998-10-12 20:51:41 UTC (22:54:06 ago)
Protocols started: 1998-10-13 19:33:45 UTC (00:12:02 ago)
Last configured:   1998-10-13 19:33:45 UTC (00:12:02 ago) by abc
12:45PM  up 22:54, 2 users, load averages: 0.07, 0.02, 0.01

Saturday, 1 June 2013

Junos : Configuring Management Access

SRX Series device is configured to allow secure management access and apply NAT to all outbound traffic.    
  • Set the root user password.
            set system root-authentication plain-text-password(will prompt for password)
  •      
  • Set the system host name.
            set system host-namesrx-1
  •      
  • Assign interface fe-0/0/7 to the untrust zone (zone names are case sensitive).
            set security zone security-zone untrust interface fe-0/0/7
  •      
  • Set name server parameter.
            set system name-server <ip address>
  •      
  • fe-0/0/7 IP address and default route configuration.
              a) To assign the IP address and gateway statically:
              set interfaces fe-0/0/7 unit 0 family inet address 1.1.1.1/30
              set routing-options static route 0.0.0.0/0 next-hop < ip address of the upstream router>
              b) To configure interfaces fe-0/0/7 to obtain an IP address and default gateway from a DHCP server:
              set interfaces fe-0/0/7 unit 0 family inet dhcp
              set security zones security-zone untrust interfaces fe-0/0/7.0 host-inbound-traffic system-services dhcp
  •              
  • Create a NAT rule for source translation of all Internet-bound traffic.
              set security nat source rule-set interface-nat from zone trust
              set security nat source rule-set interface-nat to zone untrust
              set security nat source rule-set interface-nat rule rule1 match source-address 0.0.0.0/0 destination-address 0.0.0.0/0
              set security nat source rule-set interface-nat rule rule1 then source-nat interface
  •              
  • Use the “commit” command at the CLI prompt to activate the configuration.
              commit
loading...