Attaching a QoS Profile to an S-VLAN
You can attach a QoS profile to the specified S-VLAN ID assigned to a VLAN
subinterface that is configured over an Ethernet interface.
The profile applies to all S-VLANs and VLANs in the interface stack; for example, the
profile specifies the hierarchy of scheduler nodes and queues for all VLANs, IP
interfaces stacked above the S-VLAN. However, you do not have to configure VLAN
subinterfaces over the S-VLAN before you attach the QoS profile to the S-VLAN.
1.
Specify the Ethernet interface and create the VLAN.
host1(config)#
interface gigabitEthernet 3/0
host1(config-if)#
encapsulation vlan
host1(config-if)#
interface gigabitEthernet 3/0.1
2.
Specify the S-VLAN ID.
host1(config-if)#
svlan id 0 1
3.
Attach the QoS profile to the S-VLAN.
host1(config-if)#
svlan 1 qos-profile qosp-svlan-strictbw
Attaching a QoS Profile to a Port Type
By default, the router attaches a QoS port-type profile to all ATM, Ethernet, serial, or
server ports. The port-type profile supplies QoS information for all forwarding
interfaces stacked above all ports of the associated interface type.
Instead of using the default port-type profile, you can explicitly attach a QoS profile
to a port. The QoS profile overrides the default QoS port-type profile. The QoS profile
associates queue profiles, drop profiles, statistics profiles, and scheduler profiles with
interface types, and it applies to all interfaces stacked above ports of the associated
type.
To attach a QoS profile to a port type:
■
Issue the
qos-port-type-profile
command from Global Configuration mode:
host1(config)#
qos-port-type-profile atm qos-profile strict-priority
The interface type can be: atm, ethernet, lag, serial, or server-port.
A profile attached to a port must specify a queue for each forwarding interface
type in the best-effort traffic class.
To restore the default port-type:
■
Issue the
qos-port-type-profile
command and specify the server-default QoS
profile from Global Configuration mode:
host1(config)#
qos-port-type-profile server-port qos-profile server-default
Attaching a QoS Profile to an S-VLAN
■
135
Chapter 16: Configuring and Attaching QoS Profiles to an Interface
Summary of Contents for JUNOSE 11.1.X - QUALITY OF SERVICE CONFIGURATION GUIDE 3-21-2010
Page 6: ...vi...
Page 24: ...xxiv List of Figures JUNOSe 11 1 x Quality of Service Configuration Guide...
Page 28: ...xxviii List of Tables JUNOSe 11 1 x Quality of Service Configuration Guide...
Page 34: ...2 QoS on the E Series Router JUNOSe 11 1 x Quality of Service Configuration Guide...
Page 76: ...44 Scheduling and Shaping Traffic JUNOSe 11 1 x Quality of Service Configuration Guide...
Page 156: ...124 Monitoring QoS Scheduling and Shaping JUNOSe 11 1 x Quality of Service Configuration Guide...
Page 190: ...158 Interface Solutions for QoS JUNOSe 11 1 x Quality of Service Configuration Guide...
Page 344: ...312 Monitoring and Troubleshooting QoS JUNOSe 11 1 x Quality of Service Configuration Guide...
Page 388: ...356 Monitoring QoS Parameter Definitions JUNOSe 11 1 x Quality of Service Configuration Guide...
Page 391: ...Part 8 Index Index on page 361 Index 359...
Page 392: ...360 Index JUNOSe 11 1 x Quality of Service Configuration Guide...