Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual page 1698

For ex series ethernet switches
Table of Contents

Advertisement

Complete Software Guide for Junos
Configuration
CLI Quick
Configuration
Step-by-Step
Procedure
1594
®
OS for EX Series Ethernet Switches, Release 10.4
The
configuration statement allows you to specify the maximum number
drop-theshold
of Layer 2 PDUs of the specified protocol that can be received per second on the interfaces
in a specified VLAN before the switch begins dropping the Layer 2 PDUs. The drop
threshold must be less than or equal to the shutdown threshold. If the drop threshold is
greater than the shutdown threshold and you try to commit the configuration, the commit
will fail.
The
configuration statement allows you to specify the maximum
shutdown-threshold
number of Layer 2 PDUs of the specified protocol that can be received per second on the
interfaces in a specified VLAN before the specified interface is disabled. The shutdown
threshold must be greater than or equal to the drop threshold. You can specify a drop
threshold without specifying a shutdown threshold, and you can specify a shutdown
threshold without specifying a drop threshold. If you do not specify these thresholds,
then no thresholds are enforced. As a result, the switch tunnels all Layer 2 PDUs regardless
of the speed at which they are received, although the number of packets tunneled per
second might be limited by other factors.
In this example, we will configure both a drop threshold and a shutdown threshold to
show how this is done.
If L2PT-encapsulated packets are received on an access interface, the switch reacts as
it does when there is a loop between the service provider network and the customer
network and shuts down (disables) the access interface.
Once an interface is disabled, you must explicitly reenable it using the
ethernet-switching layer2-protocol-tunneling error
remain disabled.
To configure L2PT, perform these tasks:
To quickly configure L2PT, copy the following commands and paste them into the switch
terminal window of each PE device (in Figure 43 on page 1593, Switch A and Switch D are
the PE devices):
[edit]
set vlans customer-1 dot1q-tunneling
set vlans customer-1 dot1q-tunneling layer2-protocol-tunneling stp
set vlans customer-1 dot1q-tunneling layer2-protocol-tunneling stp drop-threshold 50
set vlans customer-1 dot1q-tunneling layer2-protocol-tunneling stp shutdown-threshold 100
To configure L2PT, perform these tasks on each PE device (in Figure 43 on page 1593,
Switch A and Switch D are the PE devices):
Enable Q-in-Q tunneling on VLAN
1.
[edit]
user@switch# set vlans customer-1 dot1q-tunneling
Enable L2PT for STP on VLAN
2.
[edit]
user@switch# set vlans customer-1 dot1q-tunneling layer2-protocol-tunneling stp
Configure the drop threshold as
3.
command or else the interface will
:
customer-1
:
customer-1
:
50
Copyright © 2010, Juniper Networks, Inc.
clear

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents