Complete Configuration Example - Juniper JUNOSE SOFTWARE FOR E SERIES 11.3.X - QUALITY OF SERVICE CONFIGURATION GUIDE 2010-09-22 Configuration Manual

Software for e series broadband services routers quality of service configuration guide
Table of Contents

Advertisement

Complete Configuration Example

Copyright © 2010, Juniper Networks, Inc.
Chapter 28: Configuring the Shaping Mode for Ethernet with QoS Parameters
f. Create a parameter instance for cell-mode with a value of 1 (cell shaping mode).
g. Attach the QoS profile vc1 to the Gigabit Ethernet interface.
host1(config)#interface gigabitEthernet 6/0/0
host1(config-if)#encapsulation vlan
host1(config-if)#interface gigabitEthernet 6/0/0.1
host1(config-if)#vlan id 1
host1(config-if)#qos-parameter byte-adjustment -28
host1config-if)#qos-parameter cell-mode 1
host1(config-if)#qos-profile vc1
host1(config-if)#exit
Attach the parameter definition to VLAN2.
2.
a. Specify the Gigabit Ethernet interface in slot 6, adapter 0, port 1.
b. Assign a VLAN ID of 2.
c. Create a parameter instance for byte-adjustment with a value of -2.
d. Create a parameter instance for cell-mode with a value of 1 (cell shaping mode).
e. Attach the QoS profile vc2 to the Gigabit Ethernet interface.
host1(config-if)#interface gigabitEthernet 6/0/1.1
host1(config-if)#vlan id 2
host1(config-if)#qos-parameter byte-adjustment -2
host1(config-if)#qos-parameter cell-mode 1
host1(config-if)#qos-profile vc2
host1(config-if)#exit
You can use the complete configuration examples provided for each of the configurations
in your own network. To customize the configuration example for your needs, copy the
text into a text editor, and modify it.
To use the example for immediate use, copy it to the local console or Telnet session from
which you access the router.
You can also save the example as a script (.scr) file that executes the commands as
though they were entered at the terminal. For information about executing .scr files, see
JunosE System Basics Configuration Guide.
From Global Configuration mode:
! Configure the traffic-classes for video and voice.
traffic-class voice
exit
traffic-class video
exit
! Create the byte-adjustment QoS parameter definition.
qos-parameter-define byte-adjustment application qos-byte-adjustment
controlled-interface-type vlan
controlled-interface-type ip
273

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.3

Table of Contents