configuring packer shaper

Level: - Intermediate
Platform: - Packeteer PacketShaper
Keywords: - configuring Packeteer PacketShaper, QOS

Packeteer PacketShaper is a very good QOS device. The configuration is pretty straightforward. In this article we will be discussing only the initial configuration of the box. i.e the configuration that you need to do before accessing the graphical interface of the box.

PacketShaper# setup reset

This operation will reset the PacketShaper settings (e.g. IP
address) to the factory default state.

( The above command will reset the packet shaper to factory defaut)

Please confirm if you really want to proceed (YES): yes

Booting...

Loading.........................................................................
.PacketShaper (console)

Password:
PacketShaper v4.1.3g1 2000-05-25
Copyright (c) 1996-2000 Packeteer, Inc. All rights reserved.

PacketShaper not yet configured.  Do you wish to be
guided through initial setup of the PacketShaper? (yes): yes

You will be asked to provide the following information:

IP Address/subnet   PacketShaper address, used for management access
NIC setting         10/100 and half/full-duplex setting for interfaces
Site Router         The address of the router whose bandwidth is to be managed
Gateway             The address of a default gateway to use for routing from
PacketShaper
DNS address(es)     Optional DNS server address(es), used to permit entry of
DNS names in place of raw IP addresses after setup of the
PacketShaper is complete.
Default domain      Optional domain name of the PacketShaper, used to permit
resolution of short (non-fully-qualified) domain names.
Passwords           Allow you to restrict management access to the
PacketShaper.  There are two passwords -- look, for
read-only access, and touch, for read-write access.
Link speed          The inbound/outbound data rates for the managed link.
Packet shaping?     Allows you to enable active packet shaping.  When this is
off, the PacketShaper passes traffic through without
applying bandwidth management policies.
Traffic discovery?  Allows you to enable automatic discovery of traffic classes
on the default inbound and outbound partitions.
Time Zone           Your local time zone, like "LosAngeles" or "Chicago".
Select from a menu of time zones.
Date and Time       The local date and time.  PacketShaper will normally figure
this out from the factory-set CMOS clock time and the
configured time zone.

At any point, you may type "exit" to get out of
guided setup.

This PacketShaper, serial number 025-1023455, requires an IP address
for full network management access.  Please enter an IP address
for the PacketShaper in the form nn.nn.nn.nn: A.B.C.D  ( This is the ip address that you want to assign to the box)

The PacketShaper requires a subnet mask corresponding to the
specified IP address.  Please enter the subnet mask in the form
nn.nn.nn.nn: 255.255.255.128

You must configure the speed and duplex settings on the
Ethernet interfaces of the PacketShaper.  The speed may be set
to either "10bt" or "100bt", and the duplex may be set to
either "half" or "full" duplex.  Alternatively, you may set
the speed to "auto" to auto-negotiate both speed and duplex.
INSIDE interface speed: (auto): 100bt

INSIDE interface duplex: full

OUTSIDE interface speed: (auto): 100bt

OUTSIDE interface duplex: full

The PacketShaper requires knowledge of the IP address of the
site router for which it is managing bandwidth.  Alternatively,
it may manage all bandwidth, independent of the destination.
Please enter the site router address in the form nn.nn.nn.nn, or
"none" for no site router: A.B.C.1
The PacketShaper requires a gateway IP address to route non-
locally for network operations initiated from the PacketShaper
(e.g. ping or ftp).  Please enter the gateway IP address in the
form nn.nn.nn.nn, or 0.0.0.0 for none: A.B.C.1

You may optionally configure the PacketShaper with the
addresses of one or more domain name (DNS) servers.  This will,
after guided setup is complete, permit you to specify domain
names in place of raw IP addresses.  Please enter one or more
IP addresses in the form nnn.nnn.nnn.nnn, separated by spaces,
or "none" for none: 202.56.230.6 202.56.230.5

You may optionally specify a default domain name to be
appended to non-fully-qualified domain name lookups.  Please
enter the default domain name (e.g. packetshaper.com), or "none"
for none: (none): ABC.com

There currently are no passwords programmed into the
PacketShaper.  The PacketShaper supports two passwords, the
"look" password, which permits viewing the state of the
PacketShaper, and the "touch" password, which additionally
permits configuring the PacketShaper.  Do you wish to
program passwords? (yes):

yes
Old touch password: (none)
New touch password:
Confirm new touch password:
Old look password: (none)
New look password:
Confirm new look password:

You must tell PacketShaper the inbound and outbound data rates
of the managed link.  Data rates may be specified as integer
bits per second, followed by a 'k' or 'M' for thousands or
millions of bits per second.  Outbound link bps rate: 2M

Inbound link bps rate: 2M

You may turn packet shaping on or off on the PacketShaper.
When packet shaping is on, the configured traffic classification
policies are enforced.  When packet shaping is off, traffic is
relayed transparently.  Packet shaping on or off: (off): on

You may turn traffic discovery on or off on the PacketShaper.
When traffic discovery is on, PacketShaper analyzes the inbound
and outbound traffic going through it and automatically
populates the traffic tree with classes based on the types of
applications it finds.  Traffic discovery on or off: (off): on

 

PacketShaper will maintain correct local time and automatically adjust
the clock at daylight savings start and end if you configure the correct
time zone.  The current time zone configuration is:

Time zone name:   LosAngeles
Time zone desc:   Los Angeles (US Pacific Time), Tijuana
Time zone spec:   PST8PDT
Time zone offset: GMT-08:00
DST offset:       60 minutes
DST starts:       First Sunday of April at 02:00 AM
DST ends:         Last Sunday of October at 02:00 AM

 

Please enter your time zone name, or "?" for a list of available
time zones: (LosAngeles): ?

You can configure any one of the following time zones by referring to it
by name.  "GMT offset" shows the difference in hours from Greenwich
Mean Time.  "DST" is shown if the time zone observes Daylight Savings
Time.  "Description" lists some cities that use this time zone.
If none of these time zones is suitable, see the manual for custom time
zone configuration.

Name         GMT offset DST Description
----         ---------- --- -----------
Custom       GMT-08:00  -   Custom time spec in POSIX format
Local        GMT+00:00  -   Local time, pending time zone configuration
Auckland     GMT+12:00  DST Auckland, Wellington
Fiji         GMT+12:00  -   Fiji, Marshall Islands
Kamchatka    GMT+12:00  DST Kamchatka
Guadalcanal  GMT+11:00  -   Guadalcanal, Solomon Islands
Magadan      GMT+11:00  DST Magadan
Vladivostok  GMT+10:00  DST Vladivostok
Sydney       GMT+10:00  DST Sydney, Melbourne, Canberra, Hobart
Brisbane     GMT+10:00  -   Brisbane, Townsville, Port Moresby, Guam
Adelaide     GMT+09:30  DST Adelaide, Southern Australia
Darwin       GMT+09:30  -   Darwin, Northern Territory
Seoul        GMT+09:00  DST Seoul
Tokyo        GMT+09:00  -   Tokyo, Osaka, Sapporo, Yakutsk
Perth        GMT+08:00  -   Perth, Western Australia
Beijing      GMT+08:00  -   Beijing, Hong Kong, Taipei, Singapore
Bangkok      GMT+07:00  -   Bangkok, Jakarta, Hanoi
Alma-Ata     GMT+06:00  DST Alma-Ata (Almaty), Dhaka
Calcutta     GMT+05:30  -   Calcutta, Bombay, New Delhi, Colombo
Karachi      GMT+05:00  -   Karachi, Islamabad, Ekaterinburg, Tashkent
Kabul        GMT+04:30  -   Kabul
Dubai        GMT+04:00  -   Dubai, Abu Dhabi, Muscat
Tehran       GMT+03:30  DST Tehran
Moscow       GMT+03:00  DST Moscow, St. Petersburg, Kazan, Volgograd
Baghdad      GMT+03:00  DST Baghdad, Kuwait, Nairobi, Riyadh
Bucharest    GMT+02:00  DST Bucharest, Kiev, Sofia
Pretoria     GMT+02:00  -   Pretoria, Johannesburg, Harare
Jerusalem    GMT+02:00  DST Jerusalem, Tel Aviv
Cairo        GMT+02:00  DST Cairo
Helsinki     GMT+02:00  DST Helsinki, Athens, Istanbul
Paris        GMT+01:00  DST Paris, Madrid, Prague, Warsaw
Reykjavik    GMT+00:00  -   Reykjavik, Greenwich Mean Time, UTC
Casablanca   GMT+00:00  -   Casablanca, Monrovia
London       GMT+00:00  DST London, Edinburgh, Dublin, Lisbon, Tenerife
Azores       GMT-01:00  DST Azores
CapeVerde    GMT-01:00  -   Cape Verde Islands
Noronha      GMT-02:00  -   Fernando de Noronha, Mid Atlantic
BuenosAires  GMT-03:00  DST Buenos Aires
SaoPaulo     GMT-03:00  DST Sao Paulo, Rio de Janeiro, Brasilia
StJohns      GMT-03:30  DST St. Johns, Newfoundland
Halifax      GMT-04:00  DST Halifax, Glace Bay, Goose Bay
Caracas      GMT-04:00  -   Caracas, La Paz
NewYork      GMT-05:00  DST New York (US Eastern Time)
Indianapolis GMT-05:00  -   Indiana (East), Bogota, Lima
Regina       GMT-06:00  -   Regina, Saskatchewan, Merida, Monterrey
Chicago      GMT-06:00  DST Chicago (US Central Time), Mexico City
Phoenix      GMT-07:00  -   Phoenix, Arizona
Denver       GMT-07:00  DST Denver (US Mountain Time)
LosAngeles   GMT-08:00  DST Los Angeles (US Pacific Time), Tijuana
Anchorage    GMT-09:00  DST Anchorage, Juneau, Nome, Alaska
Honolulu     GMT-10:00  -   Honolulu, Hawaii
Midway       GMT-11:00  -   Midway Island, Samoa
Kwajalein    GMT-12:00  -   Kwajalein, Eniwetok

You can find out more about a time zone by setting it.  For example:

    PacketShaper# setup timezone moscow
Time zone name:   Moscow
Time zone desc:   Moscow, St. Petersburg, Kazan, Volgograd
Time zone spec:   MSK-3MSD,M3.5.0,M10.5.0
Time zone offset: GMT+03:00
DST offset:       60 minutes
DST starts:       Last Sunday of March at 02:00 AM
DST ends:         Last Sunday of October at 02:00 AM

 

PacketShaper will maintain correct local time and automatically adjust
the clock at daylight savings start and end if you configure the correct
time zone.  The current time zone configuration is:

Time zone name:   LosAngeles
Time zone desc:   Los Angeles (US Pacific Time), Tijuana
Time zone spec:   PST8PDT
Time zone offset: GMT-08:00
DST offset:       60 minutes
DST starts:       First Sunday of April at 02:00 AM
DST ends:         Last Sunday of October at 02:00 AM

 

Please enter your time zone name, or "?" for a list of available
time zones: (LosAngeles): Calcutta

The current date/time for Calcutta is Tue May 10 13:59:03 2005 IST (Calcutta)

Enter your local date and time in the format yyyymmddhhmm,
where time uses a 24-hour clock.  If the date is already correct,
just enter hhmm (20050510135903): 20050510144500

Guided setup is complete.

Confirm storing new setup: (yes): yes

Setup stored.  New setup:

IP address:             A.B.C.D Subnet mask: 255.255.255.128
Inside nic speed:       100BT full-duplex
Outside nic speed:      100BT full-duplex
Gateway:                A.B.C.1
Site router:            A.B.C.1
DNS server(s):          202.56.230.6 202.56.230.5
Default domain:         ABC.com
Inside interface:       unsecure
Outside interface:      unsecure
Look password:          ******
Touch password:         ******
Link speed:             2M (E1)
Packet shaping:         on
Traffic discovery:      on
SNMP look community:    public
SNMP Trap destinations: (none)
Modem on Console:       off
Email host:port:        none
Email sender:           none
Date, time, timezone:   Tue May 10 14:45:05 2007 IST (Calcutta)
SNTP Client:            off
SNTP Primary Server:    clock.isc.org
SNTP Secondary Server:  tock.usno.navy.mil
SNTP Poll Seconds:      300
Installed Keys:         compatibility        1
control              on
linksize             2m

Additional features such as Failover, SNMP, Inside/Outside
Security, and Group Configuration settings can be configured via the
setup and group commands

PacketShaper#

Booting...

 

Loading..........................................................................

PacketShaper (console)

Password:

To see the configuration at any point of time issue the following command.

PacketShaper# setup show

IP address:             A.B.C.D Subnet mask: 255.255.255.128
Inside nic speed:       100BT full-duplex
Outside nic speed:      100BT full-duplex
Gateway:                A.B.C.1
Site router:            A.B.C.1
DNS server(s):          202.56.230.6 202.56.230.5
Default domain:         ABC.com
Inside interface:       unsecure
Outside interface:      unsecure
Look password:          ******
Touch password:         ******
Link speed:             2M (E1)
Packet shaping:         on
Traffic discovery:      on
SNMP look community:    public
SNMP Trap destinations: (none)
Modem on Console:       off
Email host:port:        none
Email sender:           none
Date, time, timezone:   Tue May 10 14:45:05 2007 IST (Calcutta)
SNTP Client:            off
SNTP Primary Server:    clock.isc.org
SNTP Secondary Server:  tock.usno.navy.mil
SNTP Poll Seconds:      300
Installed Keys:         compatibility        1
control              on
linksize             2m

If you don’t want to use the initial setup mode then the following commands can be used to do the same things.

PacketShaper# setup ipaddress B.C.D.E 255.255.255.128

Changing IP address from A.B.C.D to B.C.D.E mask 255.255.255.128

Please confirm if you really want to proceed (YES): yes

PacketShaper# setup dns 202.56.230.5  202.56.230.6

PacketShaper#  setup gateway A.B.C.2

Changing gateway IP address from A.B.C.1 to A.B.C.2

Please confirm if you really want to proceed (YES): yes

PacketShaper# setup siterouter A.B.C.2

Changing site router IP address from A.B.C.1 to A.B.C.2

Please confirm if you really want to proceed (YES): yes

PacketShaper# setup show

IP address:             B.C.D.E  Subnet mask: 255.255.255.128
Inside nic speed:       100BT full-duplex (link is down)
Outside nic speed:      100BT full-duplex (link is down)
Gateway:                A.B.C.2 (Gateway not found)
Site router:            A.B.C.2 (Site router not found)
DNS server(s):          202.56.230.5 202.56.230.6
Default domain:         ABC.com
Inside interface:       unsecure
Outside interface:      unsecure
Look password:          ******
Touch password:         ******
Link speed:             2M (E1)
Packet shaping:         on
Traffic discovery:      on
SNMP look community:    public
SNMP Trap destinations: (none)
Modem on Console:       off
Email host:port:        none
Email sender:           none
Date, time, timezone:   Wed Sep  7 16:31:27 2007 IST (Calcutta)
SNTP Client:            off
SNTP Primary Server:    clock.isc.org
SNTP Secondary Server:  tock.usno.navy.mil
SNTP Poll Seconds:      300
Installed Keys:         compatibility        1
control              on
linksize             2m

 

Please confirm if you really want to proceed (YES): yes

That’s all. It’s that simple.

 

If you have any suggestions or want to add more to this article do write us an email articles@knowurtech.com

What Next?


If you liked this article, you can share it with others using the following link:


Related Content :