Sunteți pe pagina 1din 242

ALFOplus80HD

AGS-20
ALFOplus2
Ethernet Switch Configuration

User manual

MN.00320.E - 013
The information contained in this handbook is subject to change without notice.
Property of Siae Microelettronica. All rights reserved according to the law and according to the international
regulations. No part of this document may be reproduced or transmitted in any form or by any means,
electronic or mechanical, without written permission from Siae Microelettronica S.p.A.
Unless otherwise specified, reference to a Company, name, data and address produced on the screen dis-
played is purely indicative aiming at illustrating the use of the product.
MS-DOS®, MS Windows® are trademarks of Microsoft Corporation.
HP®, HP OpenView NNM and HP–UX are Hewlett Packard Company registered trademarks.
UNIX is a UNIX System Laboratories registered trademark.
Oracle® is a Oracle Corporation registered trademark.
Linux term is a trademark registered by Linus Torvalds, the original author of the Linux operating system.
Linux is freely distributed according the GNU General Public License (GPL).
Other products cited here in are constructor registered trademarks.
Contents

Section 1.
ETHERNET SWITCH CONFIGURATION 7

1 GENERAL................................................................................................................... 7

2 ACRONYMS AND DEFINITION ................................................................................... 8

3 EQUIPMENT CONFIGURATION .................................................................................. 9


3.1 ETHERNET PROCESSING..................................................................................... 9
3.1.1 Eth. physical layer management ...............................................................10
3.1.2 Ingress filtering ......................................................................................11
3.1.3 Service instance mapping ........................................................................11
3.1.4 Classification criteria ...............................................................................12
3.1.5 Metering & ingress policing.......................................................................12
3.1.6 Ingress manipulation...............................................................................13
3.1.7 Learning & forwarding .............................................................................13
3.1.8 Queue & congestion avoidance .................................................................14
3.1.9 Scheduling .............................................................................................14
3.1.10 Egress shaping .......................................................................................15
3.1.11 Egress manipulation ................................................................................15

4 CLI CONNECTION TO EQUIPMENT AND SENDING A SCRIPT .....................................16


4.1 CONNECTION ...................................................................................................16
4.2 HYPERTERMINAL ..............................................................................................16
4.3 CLI LOGIN .......................................................................................................19

5 SWITCH PORT IDENTIFICATION ..............................................................................20


5.1 ALFOPLUS80HD ................................................................................................20
5.2 AGS-20 ...........................................................................................................21
5.3 ALFOPLUS2......................................................................................................22
5.4 AGS-20 XG ......................................................................................................23

6 SWITCH CONFIGURATION .......................................................................................24


6.1 BRIDGE MODE .................................................................................................25
6.1.1 Customer Bridge (CB)..............................................................................25
6.1.2 Provider Edge Bridge (PEB) ......................................................................25
6.1.3 Provider Core Bridge (PB) ........................................................................26
6.2 MANAGEMENT VLAN1 MODIFICATIONS................................................................26
6.3 MANAGEMENT PLANE ........................................................................................27
6.3.1 On-Site CB (Local only, untagged) ............................................................31

MN.00320.E - 013 1
6.3.2 On-Site CB (Local only, C-tagged) .............................................................32
6.3.3 On site PEB/PB (Local only, untagged) .......................................................33
6.3.4 On-site PEB/PB (Local only, S-tagged) .......................................................34
6.3.5 On-site CB (Radio link, untagged) .............................................................35
6.3.6 On-site CB (Radio link, C-tagged) .............................................................36
6.3.7 On-site PEB/PB (Radio link, untagged) .......................................................37
6.3.8 On-site PEB/PB (Radio link, S-tagged) .......................................................38
6.3.9 EOOB CB (untagged)...............................................................................40
6.3.10 EOOB PEB/PB (untagged).........................................................................42
6.3.11 INB CB (LANx, C-tagged), EOOB CB (LAN2, C-tagged) .................................43
6.3.12 INB PEB/PB (LANx, S-tagged), EOOB PEB/PB (LAN2, S-tagged) ....................44
6.3.13 INB CB (LAN1&2, C-tagged) .....................................................................46
6.3.14 INB PEB/PB (LAN1&2, S-tagged) ...............................................................47
6.4 MERGED SCRIPTS - EXAMPLES ...........................................................................49
6.4.1 INB + On-site CB (LAN1&2, C-tagged / OnS, untagged) ...............................49
6.4.2 INB + On-site PEB/PB (LAN1&2, S-tagged/OnS, untagged)...........................52
6.5 PAYLOAD INTERFACES ......................................................................................54
6.6 NETWORK APPLICATION ....................................................................................55
6.6.1 Scenario #1 ...........................................................................................55
6.6.2 Scenario #2 ...........................................................................................58
6.6.3 Scenario #3 ...........................................................................................60
6.6.4 Scenario #4 ...........................................................................................63
6.6.5 Scenario #5 ...........................................................................................67
6.6.6 Scenario #6 ...........................................................................................73
6.7 PAYLOAD SERVICES..........................................................................................77
6.7.1 Customer bridge ....................................................................................77
6.7.2 Provider edge bridge - Customer edge port ................................................79
6.7.3 Provider edge bridge - Customer network port ............................................85
6.7.4 Provider core bridge - Provider network port...............................................88
6.8 QUALITY OF SERVICE........................................................................................90
6.8.1 Classification PCP....................................................................................91
6.8.2 Classification DSCP .................................................................................92
6.8.3 Classification perPORT .............................................................................94
6.8.4 Classification per(PORT&VLAN) .................................................................94
6.8.5 Classification per (PORT & MPLS-EXP)........................................................95
6.8.6 Classification per (Port & MPLS & IPV4-DSCP) (IPv4oMPLS frame) .................96
6.8.7 Classification per (Port & MPLS & IPv6-DSCP) (IPv6oMPLS frame) .................96
6.8.8 Policing & Ingress filtering (CB CVLAN Meter trTCM cBlind) ...........................97
6.8.9 Policing & ingress filtering (CB CVLAN&Pri Meter trTCM cBlind) ......................98
6.8.10 Policing & ingress filtering (PB CVLAN Meter trTCM cBlind)............................99
6.8.11 Policing & ingress filtering (PB CVLAN&Pri Meter trTCM cBlind) .................... 100
6.8.12 Policing & ingress filtering (PB SVLAN Meter trTCM cBlind).......................... 101
6.8.13 Policing & ingress filtering (PB SVLAN&Pri Meter trTCM cBlind) .................... 102
6.8.14 Policing & ingress filtering (PB SVLAN&CVLAN Meter trTCM cBlind) .............. 103
6.8.15 Policing & ingress filtering (srcMacBased) ................................................. 104
6.8.16 Congestion avoidanceE Tail-Drop ............................................................ 105
6.8.17 Congestion avoidance WRED .................................................................. 105
6.8.18 Scheduling SP (Strict-Priority) ................................................................ 108
6.8.19 Scheduling WRR (Weight Round-Robin) ................................................... 108
6.8.20 Scheduling SP+WRR.............................................................................. 109
6.8.21 Scheduling RR (Round-Robin) ................................................................. 109
6.8.22 Shaping perPort.................................................................................... 110
6.8.23 Shaping perQUEUE................................................................................ 111

2 MN.00320.E - 013
6.8.24 Storm Control ...................................................................................... 111
6.8.25 Hierarchical QoS - perSCHEMA Approach.................................................. 112
6.9 COUNTERS AND STATISTICS ........................................................................... 126
6.9.1 Ethernet Performance Monitoring - RMON................................................. 126
6.9.1.1 RMON Settings....................................................................... 126
6.9.1.2 RMON Ethernet Statistics and History........................................ 127
6.9.1.3 RMON Limits.......................................................................... 128
6.9.1.4 Ethernet Service and Service History ........................................ 129
6.9.2 Clear Counters ..................................................................................... 134
6.10 GENERAL FEATURES ....................................................................................... 135
6.10.1 System MTU......................................................................................... 135
6.10.2 VLAN rewriting PNP ............................................................................... 135
6.10.3 Port isolation ........................................................................................ 136
6.10.4 MAC addresses aging time ..................................................................... 137
6.10.5 MAC address clear ................................................................................ 137
6.10.6 Jumbo frame ........................................................................................ 137
6.10.7 Ethertype............................................................................................. 138
6.10.8 Loopback ............................................................................................. 139
6.10.9 Port mirroring....................................................................................... 139
6.10.10Mediatype ........................................................................................... 140
6.10.11Autocrossover ..................................................................................... 141
6.10.12MDIX ................................................................................................. 141
6.10.13MDI ................................................................................................... 142
6.11 ADVANCED FEATURE....................................................................................... 142
6.11.1 PEB - PNP + VLAN rewriting ................................................................... 142
6.12 PWE3 (PSEUDOWIRE EMULATED EDGE TO EDGE) ............................................... 143
6.12.1 PWE3 - Feature Configs ......................................................................... 143
6.12.2 PWE3 - Feature Config (UNDO) ............................................................... 144
6.12.3 PWE3 - Alarms ..................................................................................... 144
6.12.4 PWE3 - Profile Configs ........................................................................... 145
6.12.5 PWE3 - Profile Configs (UNDO) ............................................................... 146
6.12.6 PWE3 - E1 Controller Configs.................................................................. 146
6.12.7 PWE3 - Shows ...................................................................................... 147
6.13 SYSTEM ADMINISTRATION .............................................................................. 147
6.13.1 Hitless restart....................................................................................... 147

7 PROTOCOLS ...........................................................................................................149
7.1 LAYER2 PROTOCOL TUNNELING........................................................................ 149
7.1.1 L2PT tunnel.......................................................................................... 149
7.1.2 L2PT peer ............................................................................................ 150
7.1.3 L2PT (Undo)......................................................................................... 150
7.2 ETHERNET LINE PROTECTION .......................................................................... 151
7.2.1 ELP ..................................................................................................... 152
7.3 LINK AGGREGATION 802.3AD .......................................................................... 153
7.3.1 LAG-Basic ............................................................................................ 154
7.3.2 LAG-STD-MAN ...................................................................................... 156
7.3.3 LAG-STD-HSBY..................................................................................... 158
7.4 LINK DISCOVERY............................................................................................ 160
7.4.1 LLDP - Device Config ............................................................................. 161
7.4.2 LLDP – Device Config Undo .................................................................... 161
7.4.3 LLDP – (Chassis profile) ......................................................................... 161
7.4.4 LLDP – (Timers).................................................................................... 162

MN.00320.E - 013 3
7.4.5 LLDP – (Timers Undo) ........................................................................... 163
7.4.6 LLDP – (Port config) .............................................................................. 163
7.4.7 LLDP – (Port config Undo) ...................................................................... 164
7.4.8 LLDP – TLV (Sys Capability TLV) ............................................................. 165
7.4.9 LLDP – TLV (Sys Capability TLV Undo) ..................................................... 165
7.4.10 LLDP – TLV (Sys Name TLV) ................................................................... 166
7.4.11 LLDP – TLV (Sys Name TLV Undo)........................................................... 166
7.4.12 LLDP – TLV (Sys Desc TLV) .................................................................... 167
7.4.13 LLDP – TLV (Sys Desc TLV Undo) ............................................................ 168
7.4.14 LLDP – TLV (Port Desc TLV).................................................................... 168
7.4.15 LLDP – TLV (Port Desc TLV Undo)............................................................ 169
7.4.16 LLDP – TLV (MNGT Adrs TLV) ................................................................. 169
7.4.17 LLDP – TLV (MNGT Adrs TLV Undo) ......................................................... 170
7.4.18 LLDP – TLV – DOT1 (PortVID TLV)........................................................... 170
7.4.19 LLDP – TLV – DOT1 (PortVID TLV Undo)................................................... 171
7.4.20 LLDP – TLV – DOT1 (ProtVID TLV)........................................................... 171
7.4.21 LLDP – TLV – DOT1 (ProtVID TLV Undo)................................................... 172
7.4.22 LLDP – TLV – DOT1 (VIDName TLV) ........................................................ 173
7.4.23 LLDP – TLV – DOT1 (VIDName TLV Undo) ................................................ 173
7.4.24 LLDP – TLV – DOT1 (MngtVID TLV – V2) .................................................. 174
7.4.25 LLDP – TLV – DOT1 (MngtVID TLV – V2 Undo) .......................................... 174
7.4.26 LLDP – TLV – DOT1 (VIDDgst TLV – V2)................................................... 175
7.4.27 LLDP – TLV – DOT1 (VIDDgst TLV – V2 Undo) .......................................... 175
7.4.28 LLDP – TLV – DOT1 (LAG TLV – V2)......................................................... 176
7.4.29 LLDP – TLV – DOT1 (LAG TLV – V2 Undo) ................................................ 176
7.4.30 LLDP – TLV – DOT3 (MacPhy TVL) ........................................................... 177
7.4.31 LLDP – TLV – DOT3 (MacPhy TVL Undo) ................................................... 177
7.4.32 LLDP – TLV – DOT3 (MaxFrameSize TVL) ................................................. 178
7.4.33 LLDP – TLV – DOT3 (MaxFrameSize TVL Undo) ......................................... 178
7.4.34 LLDP – TLV – DOT3 (LAG TVL – V1)......................................................... 179
7.4.35 LLDP – TLV – DOT3 (LAG TVL – V1 Undo) ................................................ 179
7.5 SPANNING TREE............................................................................................. 180
7.5.1 STP/RSTP-Device Configs....................................................................... 180
7.5.2 STP/RSTP-Device Configs (UNDO) ........................................................... 181
7.5.3 STP/RSTP-Port Configs .......................................................................... 181
7.5.4 STP/RSTP-Port Configs (UNDO)............................................................... 181
7.5.5 RSTP-Port Config .................................................................................. 182
7.5.6 RSTP-Port config (UNDO) ....................................................................... 182
7.6 SERVICE OAM - CONFIGURATION FAULT MANAGEMENT....................................... 183
7.6.1 ECFM IEEE 802.1ag (default) - Device config ............................................ 183
7.6.2 ECFM IEEE 802.1ag (default) - Port config................................................ 184
7.6.3 ITU-T Y.1731 - Device config .................................................................. 184
7.6.4 ITU-T Y.1731 - Port config ..................................................................... 185
7.6.5 Domain, level and service ...................................................................... 186
7.6.6 MEP and MIP ........................................................................................ 186
7.6.7 CCM Activation ..................................................................................... 187
7.6.8 CCM Activation (UNDO) ......................................................................... 188
7.6.9 MEP and MIP (UNDO) ............................................................................ 188
7.6.10 Domain, level and service (UNDO) .......................................................... 189
7.6.11 MEP lowest priority defect notification ...................................................... 189
7.6.12 MEP lowest priority defect notification (default) ......................................... 190
7.6.13 RMEP crosscheck state machine .............................................................. 190
7.6.14 CFM loopback (based on MAC or MPID) .................................................... 191

4 MN.00320.E - 013
7.6.15 CFM traceroute caching enable ............................................................... 191
7.6.16 CFM traceroute caching disable ............................................................... 192
7.6.17 CFM traceroute clear ............................................................................. 192
7.6.18 CFM traceroute (based on MAC or MPID) .................................................. 193
7.6.19 OAM Link Monitor - Start single ended ..................................................... 195
7.6.20 OAM Link Monitor - Stop single ended...................................................... 196
7.6.21 OAM Link Monitor - Show single ended .................................................... 196
7.6.22 OAM Link Monitor - Start dual ended ....................................................... 197
7.6.23 OAM Link Monitor - Stop dual ended ........................................................ 198
7.6.24 OAM Link Monitor - Show dual ended....................................................... 198
7.6.25 OAM Link Monitor - Clear ....................................................................... 199
7.6.26 OAM Frame Delay Measurement - Start one way ....................................... 199
7.6.27 OAM Frame Delay Measurement - Stop one way ....................................... 200
7.6.28 OAM Frame Delay Measurement - Show one way ...................................... 200
7.6.29 OAM Frame Delay Measurement - Start two way ....................................... 201
7.6.30 OAM Frame Delay Measurement - Stop two way ....................................... 202
7.6.31 OAM Frame Delay Measurement - Show two way ...................................... 202
7.6.32 OAM Frame Delay Measurement - Clear ................................................... 203
7.6.33 Ethernet Alarm Indication Signal - Enable ................................................ 203
7.6.34 Ethernet Alarm Indication Signal - Disable................................................ 204
7.6.35 Show Ethernet CFM Service.................................................................... 204
7.6.36 Show Ethernet CFM Error ....................................................................... 205
7.6.37 Ethernet CFM Service - Lock................................................................... 205
7.6.38 Ethernet CFM Service - Unlock ................................................................ 205
7.7 DYNAMIC PROTOCOL ...................................................................................... 206
7.7.1 DHCP-LAO ........................................................................................... 206
7.7.2 DHCP-Enable........................................................................................ 207
7.7.3 DHCP-Disable ....................................................................................... 208
7.8 NETWORK FUNCTIONS .................................................................................... 208
7.8.1 Management C-Tag on port CNP/CEP ....................................................... 208
7.8.2 Static IP routing ................................................................................... 211
7.8.3 Static IP routing (UNDO)........................................................................ 212
7.8.4 MNG access control list .......................................................................... 212
7.9 SNTP ............................................................................................................ 213
7.9.1 Enable SNTP ........................................................................................ 214
7.9.2 Disable SNTP........................................................................................ 214

8 FREQUENTLY USED COMMANDS .............................................................................215


8.1 SHOW COMMANDS ......................................................................................... 215
8.1.1 Interfaces & VLAN configuration.............................................................. 215
8.1.1.1 EVC mapping and services....................................................... 220
8.1.2 Counters.............................................................................................. 222
8.1.3 RMON ................................................................................................. 222
8.1.4 MAC address ........................................................................................ 225
8.1.5 L2CP Tunnelling .................................................................................... 226
8.1.6 Routing ............................................................................................... 227
8.1.7 Classifier priority MAP............................................................................ 228
8.1.8 Classifier L2 ACL ................................................................................... 229
8.1.9 Meter .................................................................................................. 230
8.1.10 Policer ................................................................................................. 230
8.1.11 Queues................................................................................................ 231
8.1.12 Scheduler ............................................................................................ 232

MN.00320.E - 013 5
8.1.13 Sharper ............................................................................................... 232
8.1.14 Storm Control ...................................................................................... 234
8.1.15 Ethernet CFM ....................................................................................... 234

Section 2.
LISTS AND SERVICES 235

9 LIST OF FIGURES ...................................................................................................235

10 LIST OF TABLES .....................................................................................................237

11 ASSISTANCE SERVICE............................................................................................239

6 MN.00320.E - 013
Section 1.
ETHERNET SWITCH CONFIGU-
RATION

1 GENERAL

This manual is intended as a guide to configure Ethernet switch of SIAE equipment using CLI (Command
Line Interface).

The goal of this document is to give a broad overview of the main configuration of SM-OS (Siae Micro-
elettronica - Operation System) and some basic command line.

The features and commands explained in this manual have been validated with the following system ver-
sion of product:
• ALFOplus80HD N40052 01.07.00

• AGS-20 N31030 01.08.00

• ALFOplus2 N50052 01.03.00.

MN.00320.E - 013 7
2 ACRONYMS AND DEFINITION

BWP BandWidth Profile LAG Link Aggregation

CB Customer Bridge LLF Link Loss Forwarding

CBS Committed Burst Size PB Provider Bridge

CEN Carrier Ethernet Network PEB Provider Edge Bridge

CEP Customer Edge Port PEP Provider Edge Port

CF Coupling Flag PWE3 Pseudo Wire Emulation Edge-to-Edge

CIR Committed Information Rate PNP Provider Network Port

CLI Command Line Interface PVID Port VID

CM Colour Mode PIR Peak Information Rate

CNP Customer Network Port RDI Remote Defect Indication

DA Destination Address SA Source Address

DHCP Dynamic Host Configuration Protocol trTCM two rate Three Colour Marking

EBS Excess Burst Size WebLCT Web LCT interface

ELP Ethernet Line Protection

Priority Tagged Frames: a tagged frame whose tag header carries priority information, but carries no VLAN
identification information.

8 MN.00320.E - 013
3 EQUIPMENT CONFIGURATION

The equipment configuration must be done with WebLCT and CLI.

Into Tab.1 according to the required functionality, it is defined which is the control mode: WebLCT or CLI.
Note: Available WebLCT commands are described into a separate manual.

Tab.1 - Equipment functionalities and control mode

Functionality Control mode Reference manual

Radio frequency, Bandwidth and Modulation, ACM WebLCT See WebLCT manual

Performance monitoring WebLCT See WebLCT manual

Security (SNMPV3, SSH, SFTP, HTTPS) WebLCT See WebLCT manual

Link loss forwarding WebLCT See WebLCT manual

Metering & ingress policing CLI This manual

Scenarios CLI This manual

Queue and congestion avoidance CLI This manual

Scheduling and shaping CLI This manual

Ethernet statistics CLI and WebLCT This manual and WebLCT manual

3.1 ETHERNET PROCESSING

The packet Ethernet incoming into the switch is processed by several stages or logical block represented
by switch functionalities described in this paragraph.

MN.00320.E - 013 9
IN

Eth Physical Layer

Ingress Filtering

Service Instance Mapping & Classification

Metering & Ingress Policing

Ingress Manipulation

Learning & Forwarding

Queue & Congestion Avoidance

Scheduling

Shaping

Egress Manipulation

OUT

Fig.1 - Ethernet processing

3.1.1 Eth. physical layer management

Tab.2 - Eth. physical layer management

Functionality Description Managed

10/100/1000BaseT or 1000BaseX/2.5 Gbps IEEE 802.3 physical connections CLI, WEBLCT

Unresolved Autonegotiation Alarm is raised in case the autonegotia- CLI, WEBLCT


tion is not successfully completed

Configurable port cross-over (MDI, Crossover functionality (electrical inter- CLI, WEBLCT
MDI-X, auto) face only)

Link Loss Forwarding (LLF) Failure condition propagate in a remote WEBLCT


ethernet link

Flow control management 802.3x Flow Control supported for all LAN CLI, WEBLCT
interfaces

SFP Management Applicable to Optical interface only CLI, WEBLCT

Ethernet Line Loop Command to perform the ethernet loop- CLI, WEBLCT
back for cable/SFP testing

10 MN.00320.E - 013
3.1.2 Ingress filtering

Tab.3 - Ingress filtering

Functionality Description Managed

Ingress filtering criteria Filtering rules can be applied to prevent selected CLI, WEBLCT
packet types to enter the port.
- Untagged/Priority tagged
- TagType
- Outer VLan ID

MTU size configuration Packet that exceed the configured MTU size are CLI, WEBLCT
dropped.

Admission Control based on provi- In order to prevent malicious way for inject unwant- CLI
sioned source MAC Address ed traffic.(16 static MAC address per each LAN)

Ingress port rate limiting (Storm It shall be possible to configure, per each port, the CLI
control) max rate admitted for the following frame types:
- Broadcast frames
- Multicast frames
- Flooded frames (unknown unicas frames)

3.1.3 Service instance mapping

Tab.4 - Service instance mapping criteria

Functionality Description Managed

Service Instance Mapping Criteria Mapping functionality (at UNI port) allows associat- CLI, WEBLCT
(S-tag addition) ing to all incoming traffic a specific VLAN ID identi-
fying the Ethernet Virtual Connection (EVC).
- Ingress UNI Port: all traffic from the port is
mapped on the same unique EVC;
- User VLAN ID:all traffic associated to one or more
Ctag is mapped on the same EVC

Service Multiplexing (more S per Functionality shall be supported more than one EVC CLI
port) (S-tag) per port

S-tag management Fields are determined on the base of following rules: CLI, WEBLCT
- S-VID: assigned by the user (EVC identifier)
- S-TIP: it is configurable by the user (default value
is 0x88a8).
- S-PCP:
- Assigned by user
- Copy (or more in general Remapping) of Ctag-
PCP

MN.00320.E - 013 11
3.1.4 Classification criteria

Tab.5 - Classification criteria

Functionality Description Managed

Classification Criteria (Internal Classification criteria are used to assign to the pack- CLI, WEBLCT
priority assignment) et and internal priority level that will be mapped to (Ingress port)
a queue.
- Ingress Port
- Outer PCP-bits
- DSCP
- MPLS EXP bits (outer MPLS label)
- DSCP in IP over MPLS
- Outer VID
- C-tag + C-PCP
- S-tag + S-PCP
- S-tag + C-tag
One criterion can be activated at a time, when the
packet does not match the criterion the “port default
priority” is assigned. Port default priority is user con-
figurable.

3.1.5 Metering & ingress policing

Tab.6 - Metering & ingress policing

Functionality Description Managed

Bandwidth Profile definition It assures that the traffic respect the bandwidth pro- CLI
file:
- CIR: Committed Information Rate [bits per sec-
ond], guaranteed bandwidth for the service
- EIR: Excess Information Rate [bits per second],
additional bit-rate, if there is no congestion. Note
that the total rate, known as PIR Peak Information
Rate, is the sum of CIR and EIR.
- CBS: Committed Burst Size [Bytes] it limits the
maximum number of bytes available for a burst of
Service Frames sent at the UNI speed to remain
CIR-conformant
- EBS: Excess Burst Size [Bytes] it limits the maxi-
mum number of bytes available for a burst of Ser-
vice Frames sent at the UNI speed to remain EIR-
conformant

Bandwidth Profile classifies - Green: Frames ≤ CIR / CBS compliance CLI


- Yellow: Frames ≤ EIR / EBS may drop some or all
based on congestion condition in the network.
- Red: Frames > EIR / EBS not conforming to the
Bandwidth profile are dropped.
- Colour Mode
- Coupling Flag

Actions for non-compliant Yellow drop configuration: CLI


- Red packets are always immediately discarded
- Yellow packets can be configured if to be immedi-
ately discarded or not

trTCM Algorithm MEF has defined a two rate, Three Colour Marker CLI
(trTCM) token bucket algorithm:
- CM (Colour Mode): Colour blind method

12 MN.00320.E - 013
Functionality Description Managed

Ingress Bandwidth Profile criteria Following criteria: CLI


- Port-based
- EVC-based / CE-VLAN in case of CB
- CoS-Based / CE-PCP bits in case of CB
- C-tag + C-PCP
- S-tag + S-PCP
- S-tag + C-tag

3.1.6 Ingress manipulation

Tab.7 - Ingress manipulation

Functionality Description Managed

S-tag remapping (Provide core Remap S-tag value (VID and/or PCP bits) on per CLI
bridge mode only) port basis

3.1.7 Learning & forwarding

Tab.8 - Learning & forwarding

Functionality Description Managed

L2 forwarding - MAC based CLI, WEBLCT


- VLAN based
- VLAN and MAC based
- Independent VLAN databases

Bridge Mode - Customer Bridge (IEEE 802.1q; untag & c-tag) CLI, WEBLCT
- Provider Edge Bridge (c-tag & S-tag)
- Provider Bridge (IEEE 802.1ad, S-tag only)

MAC address table management - Up to 255 VLANs are supported CLI, WEBLCT
- Up to 8192 Mac in MAC Address table
- Learning of MAC address on port basis
- 16 Static Entry
- Ageing: remove out-of-dateMAC entries
- Mac Address table retrieval: it is possible to view
MAC database entries, differentiated in different Da-
tabases When independent learning is in usage

- Flush Mac address table CLI

L2TP Management Layer 2 Tunnelling protocol, specify which protocols CLI, WEBLCT in
shall be: read-only
- discard (terminated)
- tunnel (transparent)
- peer (transmitted)

MN.00320.E - 013 13
3.1.8 Queue & congestion avoidance

Tab.9 - Queue & congestion avoidance

Functionality Description Managed

Queue Management - 8 Queue per port WebLCT


- Configurable depth

Congestion Avoidance Different algorithms can be configured on per queue CLI


basis:
- Tail: when the queue is full the arriving packets are
dropped
- RED: Random Early Detection
- WRED: Weighted Random Early Detection

3.1.9 Scheduling

Tab.10 - Scheduling

Functionality Description Managed

Strict Priority The highest priority is served until it is empty and CLI
then next highest priority queue is served and so on.

WFQ/WRR Service rate of a queue is assigned proportionally to CLI


the configured weights

Mixed strict priority & WRR User can select which queues are to be saved as CLI
strict Priority or WRR

14 MN.00320.E - 013
3.1.10 Egress shaping

Tab.11 - Egress shaping

Functionality Description Managed

Per Egress port Max rate to be allowed per port CLI

Per Queue Max rate to be allowed per queue CLI

3.1.11 Egress manipulation

Tab.12 - Egress manipulation

Functionality Description Managed

Remove outer tag – criteria Based on: CLI


- per port criterion
- per port and VID/EVC configuration

MN.00320.E - 013 15
4 CLI CONNECTION TO EQUIPMENT AND SENDING
A SCRIPT

4.1 CONNECTION

CLI connection to equipment is via RS232 console or via LAN with Telnet.

Connection between PC and ALFOplus80HD is with serial console cable (F03594 or F03622 on the field)
into 48V connector.

Connection between PC and AGS-20 with serial console cable (F03588) into front panel Console connector.

A common program to connect to the equipment via RS232 or Telnet is Hyperterminal.


If you don’t have Hyperterminal into Win7 you can copy it from another WinXP installation like e.g. from
Window Virtual PC XP mode.

4.2 HYPERTERMINAL

Hyperterminal can connect via serial COM1,2,3,etc (Port settings: 115200, 8, None, 1, None) or via TPC/
IP with Telnet. Other settings are shown into Fig.2, Fig.3, Fig.4, Fig.5 and Fig.6.
To send the edited script to the equipment you may simply use the Hyperterminal with the command
Transfer>Send Text File as in Fig.2.

The response from the equipment, for debugging purposes, can be recorded in a file selected with the
menu command Transfer>Capture Text.

Fig.2 - Transfer>Send Test File

16 MN.00320.E - 013
Fig.3 - Select with Hyperterminal a valid COM port

Fig.4 - Selection of TCP/IP port and IP Address

MN.00320.E - 013 17
Fig.5 - Into File>Properties>Settings the selection of ASCII setup

Fig.6 - Selection of Line delay and Character delay

18 MN.00320.E - 013
4.3 CLI LOGIN

With Telnet enter with IP address of equipment, with RS232 just press enter.

Login as user: admin

Enter the password: admin

When a successful connection is establish, the console replays as follows: SM-OS#. The user root is a read/
write user.

MN.00320.E - 013 19
5 SWITCH PORT IDENTIFICATION

The number of ports associated to interfaces is different for each SM-OS equipment (ALFOplus80HD, AGS-
20, ALFOplus2 and AGS-20 XG).

5.1 ALFOPLUS80HD

ALFOplus80HD port map is shown in Fig.7 and in Tab.13 the relevant port number used with CLI.

LAN1 RADIO
gi 0/10 gi 0/1

LAN2
gi 0/6

On Site MNGT
gi 0/9

Fig.7 - ALFOplus80HD port map

Tab.13- ALFOplus80HD ports identification

Connector ALFOplus80HD (<Unit/Interface>)


LAN1 gigabitethernet 0/10
LAN2 gigabitethernet 0/6
RADIO gigabitethernet 0/1
AUX gigabitethernet 0/2
OnSite Mngt gigabitethernet 0/9

Warning: Any configuration on AUX port is strictly forbidden.

20 MN.00320.E - 013
5.2 AGS-20

AGS-20 port map is shown in Fig.8 and in Tab.14 the relevant port number used with CLI.

LAN1
ODU A - LAN A
gi 0/9
gi 0/6
LAN2
gi 0/10 ODU B - LAN B

LAN4 gi 0/7

gi 0/8
ODU C - LAN C
LAN5
gi 0/1
gi 0/4

LAN6
ODU D - LAN D
gi 0/5
gi 0/2

LAN3 (MNGT)
gi 0/3

Fig.8 - AGS-20 port map

Tab.14- AGS-20 ports identification

Connector AGS-20 (<Unit/Interface>)

LAN1 gigabitethernet 0/9

LAN2 gigabitethernet 0/10

LAN3 gigabitethernet 0/3

LAN4 gigabitethernet 0/8


LAN5 gigabitethernet 0/4

LAN6 gigabitethernet 0/5

LAN-A or ODU-A gigabitethernet 0/6


LAN-B or ODU-B gigabitethernet 0/7

LAN-C or ODU-C gigabitethernet 0/1

LAN-D or ODU-D gigabitethernet 0/2

MN.00320.E - 013 21
5.3 ALFOPLUS2

ALFOplus2 port map is shown in Fig.9 and in Tab.15 the relevant port number used with CLI.

LAN1
gi 0/7

LAN2
gi 0/9 TRx

LAN3 gi 0/3

gi 0/6

LAN4
gi 0/5

MNGT
gi 0/4

Fig.9 - ALFOplus2 port map

Tab.15 - ALFOplus2 ports identification

Connector ALFOplus2 (<Unit/Interface>)

LAN1 gigabitethernet 0/7


LAN2 gigabitethernet 0/9

LAN3 gigabitethernet 0/6

LAN4 gigabitethernet 0/5

TRx gigabitethernet 0/3


MNGT gigabitethernet 0/4

22 MN.00320.E - 013
5.4 AGS-20 XG

AGS-20 XG port map is shown in Fig.10 and in Tab.16 the relevant port number used with CLI.

LAN1
ODU A
gi 0/2
gi 0/7
LAN2
gi 0/3 ODU B

LAN4 gi 0/8

gi 0/5
ODU C
XG LAN1
gi 0/1
ex 0/4

XG LAN2
ODU D
ex 0/5
gi 0/6

LAN3 (MNGT)
gi 0/4

Fig.10 - AGS-20 XG port map

Tab.16 - AGS-20 XG ports identification

Connector AGS-20 XG (<Unit/Interface>)

LAN1 gigabitethernet 0/2

LAN2 gigabitethernet 0/3

MNGT3 gigabitethernet 0/4

LAN4 gigabitethernet 0/5


XGLAN1 extremeethernet 0/1

XGLAN2 extremeethernet 0/2

ODU-A gigabitethernet 0/7

ODU-B gigabitethernet 0/8

ODU-C gigabitethernet 0/1

ODU-D gigabitethernet 0/6

MN.00320.E - 013 23
6 SWITCH CONFIGURATION

To configure the switch you must:

• identify bridge mode

• identify management plane

• identify the scenario

• identify data and control plane

• merge required scripts

• send the script with CLI.

To create the merged script you must go into these steps:

1. Define into your Scenario which is the Bridge mode of your equipment: CB or PB or PEB and select
corresponding script

a. Customer Bridge Script name: SYS-CB

b. Provider Edge Bridge Script name: SYS-PEB

c. Provider Core Bridge Script name: SYS-PB


Copy the required script into your Notepad++ window.
Warning: the changing of Bridge Mode can affect the transferring of the script due to automatic sys-
tem restart. After restart it will be necessary to send it again.

2. Select the Management VLan1 Modifications, copy and paste into your Notepad++ window.
Note: copy, from PDF, page by page to avoid to mix script text with this manual number.

3. Choose one of MANAGEMENT schemes, select the correct script example, copy and paste into your
Notepad++ window.
Note: copy, from PDF page, by page to avoid to mix script text with this manual number.

4. At this point some editing is necessary.


Warning: Replace LAN1, LAN2 and RADIO with relevant equipment port number, as mentioned into
the initial port of the script.
Replace <MNGT_VLAN> with the new management Vlan number. Replace <DOT_IP_ADDRESS>,
<DOT_IP_MASK>, <DOT_IP_GATEWAY> with new IP address of the equipment, netmask, and de-
fault gateway. So the script it is going to change the ip address.
If the script it is not available maybe you need to merge two schemes as shown, as example into
MERGED SCRIPT-EXAMPLES.

5. Append the PAYLOAD INTERFACES script to into your Notepad++ window

6. Go to the Scenario you already decided to use, copy and paste into your Notepad++ window.
Note: copy from PDF page by page to avoid to mix script text with this manual number.

7. At this point some editing is necessary.


Warning: Replace LAN1, LAN2 and RADIO with relevant equipment port number, as mentioned into
the initial port of the script.
If you need to use other LAN ports with the same configuration of LAN1 and LAN2, it is necessary
to replicate the LAN1 part of the script also for other ports.

8. This script may be sufficient for simple traffic activation.


To send a full configuration script to the Equipment with CLI you can send it as text file:

• through the console port using hyperterminal (RS232 115200bps 8-N-1-N)

• through management port (LAN3) using hyperterminal (TCP/IP Port:23).

24 MN.00320.E - 013
6.1 BRIDGE MODE

The first choice in the configuration of the switch must be to decide which Bridge mode should be applied:

• Customer Bridge Script name: SYS-CB

• Provider Edge Bridge Script name: SYS-PEB

• Provider Core Bridge Script name: SYS-PB

L2 Ethernet level shall be configured to comply with different bridge modes according to IEEE 802.1ad.

6.1.1 Customer Bridge (CB)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: SYS-CB
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
set front-panel port-count 10
set gmrp disable; set gvrp disable; shutdown garp
shutdown spanning-tree
no ethernet cfm start
#============================================================================
bridge-mode customer
exit
show vlan device info
show spanning-tree
#==============================================================================
#CONTEXT-EXIT

6.1.2 Provider Edge Bridge (PEB)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: SYS-PEB
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
set front-panel port-count 10
set gmrp disable; set gvrp disable; shutdown garp
shutdown spanning-tree
no ethernet cfm start

MN.00320.E - 013 25
#============================================================================
bridge-mode provider-edge
exit
show vlan device info
show spanning-tree
#==============================================================================
#CONTEXT-EXIT

6.1.3 Provider Core Bridge (PB)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: SYS-PB
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
set front-panel port-count 10
set gmrp disable; set gvrp disable; shutdown garp
shutdown spanning-tree
no ethernet cfm start
#============================================================================
# .1ad provider <-> provider-core
bridge-mode provider-core
exit
show vlan device info
show spanning-tree
#==============================================================================
#CONTEXT-EXIT

6.2 MANAGEMENT VLAN1 MODIFICATIONS

In case of VLan1 is NOT the management Vlan, script SYS-MNGT-MFYa must be sent in order to increase
isolation conditions between management ports and payload ports.

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-MNGT-MFYa
# - Management Vlan modification.
# THE EXISTING MANAGEMENT VLAN IS NOT ‘vlan 1’.
#
# Rev.0004a
# (siae microelettronica)

26 MN.00320.E - 013
##########################################################+##############
#========================================================================
vlan 1
# default vlan 1 cannot be deleted:
# leave it without memberports.
ports <MNGT_OnS> name default1; no ports <MNGT_OnS>
exit
exit
#========================================================================
#CONTEXT-EXIT

6.3 MANAGEMENT PLANE

The second choice in the switch configuration is the management mode.

The ports available for management are:


• ALFOplus80HD: OnSite-Mngt (gigabitethernet 0/9)

• AGS-20: LAN3 (gigabitethernet 0/3)

• ALFOplus2: MNGT (gigabitethernet 0/4).

All the port with InBand management must be configured for this purpose.

In the follow are listed several possible scripts to configure the ports available for management depending
on the management scheme listed below (in band, out of band, etc) and depending on the bridge mode of
the unit (Customer Bridge, Provider Bridge or Provider Edge Bridge) and on the tagged mode of the traffic
itself (untagged, C-tagged, S-tagged).

Management scheme:

• Local, On site: management of local unit (and of remote unit) through OnSite-Mngt port. Traffic on
LAN1 and LAN2 ports.
On-SITE CB (LOCAL ONLY, Untagged) Script name: SYS-CB-OnS_LOU
On-SITE CB (LOCAL ONLY, C-tagged) Script name: SYS-CB-OnS_LOT
On-SITE PEB (LOCAL ONLY, Untagged) Script name: SYS-PEB-OnS_LOU
On-SITE PEB (LOCAL ONLY, S-tagged) Script name: SYS-PEB-OnS_LOT
On-SITE CB (RADIO LINK, Untagged) Script name: SYS-CB-OnS_LKU
On-SITE CB (RADIO LINK, C-tagged) Script name: SYS-CB-OnS_LKT
On-SITE PEB (RADIO LINK, Untagged) Script name: SYS-PEB-OnS_LKU
On-SITE PEB (RADIO LINK, S-tagged) Script name: SYS-PEB-OnS_LKT

• Emulated Out Of Band: through LAN2 port the local unit is managed and through a VLAN (default
LAN2 port Vid) the remote can be managed (emulated out of band). Traffic on LAN1 port.
EOOB CB (Untagged) Script name: SYS-CB-EOB_U
EOOB PEB (Untagged) Script name: SYS-PEB-EOB_U

• Emulated Out Of Band + On Site: through LAN2 port the local unit is managed and through a VLAN
(default LAN2 port Vid) the remote can be managed (…emulated out of band). Also OnSite-Mngt
port can be used. Traffic on LAN1 port.

• In Band LAN1: through LAN1 port the local unit is In Band managed (In Band= management in a
dedicated VLAN) and through the Radio Port the remote unit can be managed in In Band mode. The
traffic runs on LAN1 and LAN2 ports.
INB CB (LANx, C-tagged), EOOB CB (LAN2, C_tagged) Script name: SYS-CB-XXB_T
INB PEB/PB (LANx, S-tagged), EOOB PEB/PB (LAN2, S_tagged)Script name: SYS-PEB-XXB_T

MN.00320.E - 013 27
• In Band LAN2: through LAN2 port the local unit is In Band managed (In Band= management in a
dedicated VLAN) and through the Radio Port the remote unit can be managed in In Band mode. The
traffic runs on LAN1 and LAN2 ports.
C-Tagged See Script SYS-CB-XXB_T and
change port number.
S-Tagged See Script SYS-PEB-XXB_T and
change port number.
• In Band LAN1 and LAN2: through LAN1 port and LAN2 port the local unit is In Band managed (In
Band= management in a dedicated VLAN) and through the Radio Port the remote unit can be man-
aged in In Band mode. Traffic on LAN1 and LAN2 ports.
INB CB (LAN1&2, C-tagged) Script name: SYS-CB-INB_T
INB CB (LAN1&2, S-tagged) Script name: SYS-PEBB-XXB_T

LOCAL, LINK Schemes

LOCAL
# CPU
# +----o----+
# | | |
# Lan1 –o | o- Radio
# | | |
# Lan2 –o | o- MNGT-OoB n/a.
# +----o----+
# |
# MNGT-OnS

LINK 
# CPU
# +----o----+
# | | |
# Lan1 –o +--- o- Radio-SHARED
# | | |
# Lan2 –o | o- MNGT-OoB n/a.
# +----o----+
# |
# MNGT-OnS

Emulated Out Of Band


#
# CPU
# +----o----+
# | | |
# Lan1 –o . -+--- o- Radio-SHARED
# | / |
# MNGT-Lan2 –o- o- MNGT-OoB n/a.
# +----o----+
# |
# MNGT-OnS

28 MN.00320.E - 013
Emulated Out Of Band + OnSite
#
# CPU
# +----o----+
# | | |
# Lan1 –o . -+--- o- Radio-SHARED
# | / | |
# MNGT-Lan2 –o- | o- MNGT-OoB n/a.
# +----o----+
# |
# MNGT-OnS

InBAND Schemes (2PAYLOAD Ports)

In Band Lan1
#
# CPU
# +----o----+
# | | |
# SHARED-Lan1 –o----+----o- Radio-SHARED
# | |
# Lan2 –o o- MNGT-OoB n/a.
# +----o----+
# |
# MNGT-OnS

In Band Lan2
#
# CPU
# +----o----+
# | | |
# Lan1 –o . -+----o- Radio-SHARED
# | / |
# SHARED-Lan2 –o- o- MNGT-OoB n/a.
# +----o----+
# |
# MNGT-OnS

In Band Lan1&2
#
# CPU
# +----o----+
# | | |
# SHARED-Lan1 –o--.-+----o- Radio-SHARED
# | / |
# SHARED-Lan2 –o— o- MNGT-OoB n/a.
# +----o----+
# |
# MNGT-OnS

In Band Lan1 + OnSite (segr.: OnS -> Lan1&2)


#
# CPU
# +----o----+
# | | |
# SHARED-Lan1 –o----+----o- Radio-SHARED
# | | |
# Lan2 –o | o- MNGT-OoB n/a.
# +----o----+
# |
# MNGT-OnS

MN.00320.E - 013 29
In Band Lan2 + OnSite (segr.: OnS -> Lan1&2)
#
# CPU
# +----o----+
# | | |
# Lan1 –o . -+----o- Radio-SHARED
# | / | |
# SHARED-Lan2 –o- | o- MNGT-OoB n/a.
# +----o----+
# |
# MNGT-OnS

In Band Lan1&2 + OnSite (segr.: OnS -> Lan1&2)


#
# CPU
# +----o----+
# | | |
# SHARED-Lan1 –o--.-+----o- Radio-SHARED
# | / | |
# SHARED-Lan2 –o— | o- MNGT-OoB n/a.
# +----o----+
# |
# MNGT-OnS

In Band Lan1 + Drop Node Lan2 + OnSite (segr.: OnS -> Lan1&2)
#
# CPU
# +----o----+
# | | |
# SHARED-Lan1 –o--.-+----o- Radio-SHARED
# | / | |
# MNGT-Lan2 –o- | o- MNGT-OoB n/a.
# +----o----+
# |
# MNGT-OnS

30 MN.00320.E - 013
6.3.1 On-Site CB (Local only, untagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-CB-OnS_LOU
# <MNGT_VLAN>: default is 1.
#
# CPU
# +---o---+
# Lan1 -o | |
# | | o- Radio
# Lan2 -o | |
# +---o---+
# |
# MNGT-OnS
# Rev.0006a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <MNGT-OnS>
no shutdown
exit
vlan <MNGT_VLAN>
ports <MNGT-OnS> untagged <MNGT-OnS> name mngt1
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
interface <MNGT-OnS>
switchport priority default 7
switchport ingress-filter
exit
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

MN.00320.E - 013 31
6.3.2 On-Site CB (Local only, C-tagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-CB-OnS_LOT
# <MNGT_VLAN>: default is 1.
#
# CPU
# +---o---+
# Lan1 -o | |
# | | o- Radio
# Lan2 -o | |
# +---o---+
# |
# MNGT-OnS
# Rev.0005a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <MNGT-OnS>
no shutdown
exit
vlan <MNGT_VLAN>
ports <MNGT-OnS> name mngt1
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
#To redirect mng packets to the higher queue
mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
interface <MNGT-OnS>
switchport ingress-filter
mac access-group 1 in
exit
class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================

32 MN.00320.E - 013
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

6.3.3 On site PEB/PB (Local only, untagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
##########################################################################
# Script name: SYS-PEB-OnS_LOU
# <MNGT_VLAN>: default is 1.
#
# CPU
# +---o---+
# Lan1 -o | |
# | | o- Radio
# Lan2 -o | |
# +---o---+
# |
# MNGT-OnS
# Rev.0008a
# (siae microelettronica)
###########################################################+##############
#=========================================================================
interface <MNGT-OnS>
bridge port-type propProviderNetworkPort
no shutdown
exit
vlan <MNGT_VLAN>
ports <MNGT-OnS> untagged <MNGT-OnS> name mngt1
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
interface <MNGT-OnS>
switchport priority default 7
switchport ingress-filter
exit
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter

MN.00320.E - 013 33
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

6.3.4 On-site PEB/PB (Local only, S-tagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-PEB-OnS_LOT
# <MNGT_VLAN>: default is 1.
# CPU
# +---o---+
# Lan1 -o | |
# | | o- Radio
# Lan2 -o | |
# +---o---+
# |
# MNGT-OnS
# Rev.0005a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <MNGT-OnS>
bridge port-type providerNetworkPort
no shutdown
exit
vlan <MNGT_VLAN>
ports <MNGT-OnS> name mngt1
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
#To redirect mng packets to the higher queue
mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
interface <MNGT-OnS>
switchport ingress-filter
mac access-group 1 in
exit
class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit

34 MN.00320.E - 013
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

6.3.5 On-site CB (Radio link, untagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-CB-OnS_LKU
# <MNGT_VLAN>: default is 1.
#
# CPU
# +---o---+
# Lan1 -o | |
# | +---o- Radio
# Lan2 -o | |
# +---o---+
# |
# MNGT-OnS
# Rev.0005a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <MNGT-OnS>
no shutdown
exit
vlan <MNGT_VLAN>
ports <MNGT-OnS> untagged <MNGT-OnS> name mngt1
ports add <RADIO>
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
interface <MNGT-OnS>

MN.00320.E - 013 35
switchport priority default 7
switchport ingress-filter
exit
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

6.3.6 On-site CB (Radio link, C-tagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-CB-OnS_LKT
# <MNGT_VLAN>: default is 1.
#
# CPU
# +---o---+
# Lan1 -o | |
# | +---o- Radio
# Lan2 -o | |
# +---o---+
# |
# MNGT-OnS
# Rev.0005a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <MNGT-OnS>
no shutdown
exit
vlan <MNGT_VLAN>
ports <MNGT-OnS> name mngt1
ports add <RADIO>
exit
default ip vlan id <MNGT_VLAN>

36 MN.00320.E - 013
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
#To redirect mng packets to the higher queue
mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
interface <MNGT-OnS>
switchport ingress-filter
mac access-group 1 in
exit
class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

6.3.7 On-site PEB/PB (Radio link, untagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-PEB-OnS_LKU
# <MNGT_VLAN>: default is 1.
#
# CPU
# +---o---+
# Lan1 -o | |
# | +---o- Radio
# Lan2 -o | |
# +---o---+
# |
# MNGT-OnS
# Rev.0008a

MN.00320.E - 013 37
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <MNGT-OnS>
bridge port-type propProviderNetworkPort
no shutdown
exit
vlan <MNGT_VLAN>
ports <MNGT-OnS> untagged <MNGT-OnS> name mngt1
ports add <RADIO>
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
interface <MNGT-OnS>
switchport priority default 7
switchport ingress-filter
exit
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

6.3.8 On-site PEB/PB (Radio link, S-tagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-PEB-OnS_LKT
# <MNGT_VLAN>: default is 1.
#
# CPU
# +---o---+
# Lan1 -o | |
# | +---o- Radio

38 MN.00320.E - 013
# Lan2 -o | |
# +---o---+
# |
# MNGT-OnS
# Rev.0005a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <MNGT-OnS>
bridge port-type providerNetworkPort
no shutdown
exit
vlan <MNGT_VLAN>
ports <MNGT-OnS> name mngt1
ports add <RADIO>
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
#To redirect mng packets to the higher queue
mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
interface <MNGT-OnS>
switchport ingress-filter
mac access-group 1 in
exit
class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

MN.00320.E - 013 39
6.3.9 EOOB CB (untagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-CB-EOB_U
# <MNGT_VLAN>: default is 1.
#
# EOOB-LAN2: <I>=gigabitethernet 0/6
# CPU
# +---o---+
# | | |
# <I>-o---+---o- Radio
# | |
# +---o---+
# |
# MNGT-OnS
# Rev.0004a
# (siae microelettronica)
#########################################################################
#========================================================================
interface <I>
no shutdown
exit
vlan <MNGT_VLAN>
ports <I> untagged <I> name mngt1
ports add <RADIO>
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
interface <I>
switchport priority default 7
exit
#To redirect mng packets to the higher queue
mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
interface <RADIO>
mac access-group 1 in
exit
class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>

40 MN.00320.E - 013
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

MN.00320.E - 013 41
6.3.10 EOOB PEB/PB (untagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-PEB-EOB_U
# <MNGT_VLAN>: default is 1.
# EOOB-LAN2: <I>=gigabitethernet 0/6
# CPU
# +---o---+
# | | |
# <I>-o---+---o- Radio
# | |
# +---o---+
# |
# MNGT-OnS
# Rev.0008a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <I>
bridge port-type propProviderNetworkPort
no shutdown
exit
vlan <MNGT_VLAN>
ports <I> untagged <I> name mngt1
ports add <RADIO>
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
interface <I>
switchport priority default 7
exit
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

42 MN.00320.E - 013
6.3.11 INB CB (LANx, C-tagged), EOOB CB (LAN2, C-tagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-CB-XXB_T
# <MNGT_VLAN>: default is 1.
#
# INB-LAN1: <I>=gigabitethernet 0/10
# INB-LAN2: <I>=gigabitethernet 0/6
# EOOB-LAN2: <I>=gigabitethernet 0/6
# CPU
# +---o---+
# | | |
# <I>-o---+---o- Radio
# | |
# +---o---+
# |
# MNGT-OnS
# Rev.0005a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <I>
no shutdown
exit
vlan <MNGT_VLAN>
ports <I> name mngt1
ports add <RADIO>
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
#To redirect mng packets to the higher queue
mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 2
permit any any vlan <MNGT_VLAN>
exit
interface <I>
mac access-group 1 in
exit
interface <RADIO>
mac access-group 2 in
exit
class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit
class-map 20
match access-group mac-access-list 2
set class 20 regen-priority 7 group-name mng_group_2
exit

MN.00320.E - 013 43
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

6.3.12 INB PEB/PB (LANx, S-tagged), EOOB PEB/PB (LAN2, S-tagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-PEB-XXB_T
# <MNGT_VLAN>: default is 1.
#
# INB-LAN1: <I>=gigabitethernet 0/10
# INB-LAN2: <I>=gigabitethernet 0/6
# EOOB-LAN2: <I>=gigabitethernet 0/6
# CPU
# +---o---+
# | | |
# <I>-o---+---o- Radio
# | |
# +---o---+
# |
# MNGT-OnS
# Rev.0005a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <I>
bridge port-type providerNetworkPort
no shutdown
exit
vlan <MNGT_VLAN>
ports <I> name mngt1
ports add <RADIO>
exit

44 MN.00320.E - 013
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
#To redirect mng packets to the higher queue
mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 2
permit any any vlan <MNGT_VLAN>
exit
interface <I>
mac access-group 1 in
exit
interface <RADIO>
mac access-group 2 in
exit
class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit
class-map 20
match access-group mac-access-list 2
set class 20 regen-priority 7 group-name mng_group_2
exit
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

MN.00320.E - 013 45
6.3.13 INB CB (LAN1&2, C-tagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-CB-INB_T
# <MNGT_VLAN>: default is 1.
#
# INB-LAN1&2: <I1>=gigabitethernet 0/10, <I2>=gigabitethernet 0/6
#
# CPU
# +---o---+
# <I1>-o. | |
# | >-+-- o- Radio
# <I2>-o’ |
# +---o---+
# |
# MNGT-OnS
# Rev.0005a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <I1>
no shutdown
exit
interface <I2>
no shutdown
exit
vlan <MNGT_VLAN>
ports <I1> <I2> name mngt1
ports add <RADIO>
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
#To redirect mng packets to the higher queue
mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 2
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 3
permit any any vlan <MNGT_VLAN>
exit
interface <I1>
mac access-group 1 in
exit
interface <I2>
mac access-group 2 in
exit
interface <RADIO>
mac access-group 3 in
exit

46 MN.00320.E - 013
class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit
class-map 20
match access-group mac-access-list 2
set class 20 regen-priority 7 group-name mng_group_2
exit
class-map 30
match access-group mac-access-list 3
set class 30 regen-priority 7 group-name mng_group_3
exit
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

6.3.14 INB PEB/PB (LAN1&2, S-tagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-PEBB-XXB_T
# <MNGT_VLAN>: default is 1.
#
# INB-LAN1&2: <I1>=gigabitethernet 0/10, <I2>=gigabitethernet 0/6
#
# CPU
# +---o---+
# <I1>-o. | |
# | >-+-- o- Radio
# <I2>-o’ |
# +---o---+
# |
# MNGT-OnS
# Rev.0005a
# (siae microelettronica)

MN.00320.E - 013 47
##########################################################+##############
#========================================================================
interface <I1>
bridge port-type providerNetworkPort
no shutdown
exit
interface <I2>
bridge port-type providerNetworkPort
no shutdown
exit
vlan <MNGT_VLAN>
ports <I1> <I2> name mngt1
ports add <RADIO>
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
#To redirect mng packets to the higher queue
mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 2
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 3
permit any any vlan <MNGT_VLAN>
exit
interface <I1>
mac access-group 1 in
exit
interface <I2>
mac access-group 2 in
exit
interface <RADIO>
mac access-group 3 in
exit
class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit
class-map 20
match access-group mac-access-list 2
set class 20 regen-priority 7 group-name mng_group_2
exit
class-map 30
match access-group mac-access-list 3
set class 30 regen-priority 7 group-name mng_group_3
exit
#-----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>

48 MN.00320.E - 013
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

6.4 MERGED SCRIPTS - EXAMPLES

6.4.1 INB + On-site CB (LAN1&2, C-tagged / OnS, untagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-CB-INB_T-OnS_LOU
# <MNGT_VLAN>: default is 1.
#
# INB-LAN1&2: <I1>=gigabitethernet 0/10, <I2>=gigabitethernet 0/6
#
# CPU
# +---o---+
# <I1>-o. | |
# | >-+-- o- Radio
# <I2>-o’ | |
# +---o---+
# |
# MNGT-OnS
# Rev.0005a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <MNGT-OnS>
no shutdown
exit
interface <I1>
no shutdown
exit
interface <I2>
no shutdown
exit

MN.00320.E - 013 49
vlan <MNGT_VLAN>
ports <I1> <I2> name mngt1
ports add <RADIO>
ports add <MNGT-OnS> untagged <MNGT-OnS>
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
interface <MNGT-OnS>
switchport priority default 7
switchport ingress-filter
exit
#To redirect mng packets to the higher queue
mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 2
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 3
permit any any vlan <MNGT_VLAN>
exit
interface <I1>
mac access-group 1 in
exit
interface <I2>
mac access-group 2 in
exit
interface <RADIO>
mac access-group 3 in
exit
class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit
class-map 20
match access-group mac-access-list 2
set class 20 regen-priority 7 group-name mng_group_2
exit
class-map 30
match access-group mac-access-list 3
set class 30 regen-priority 7 group-name mng_group_3
exit
#----------------------------------------------------------------------
#----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter

50 MN.00320.E - 013
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

MN.00320.E - 013 51
6.4.2 INB + On-site PEB/PB (LAN1&2, S-tagged/OnS, untagged)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-PEB-XXB_T-OnS_LOU
# <MNGT_VLAN>: default is 1.
#
# INB-LAN1&2: <I1>=gigabitethernet 0/10, <I2>=gigabitethernet 0/6
#
# CPU
# +---o---+
# <I1>-o. | |
# | >-+-- o- Radio
# <I2>-o’ | |
# +---o---+
# |
# MNGT-OnS
# Rev.0005a
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface <MNGT-OnS>
bridge port-type propProviderNetworkPort
no shutdown
exit
interface <I1>
bridge port-type providerNetworkPort
no shutdown
exit
interface <I2>
bridge port-type providerNetworkPort
no shutdown
exit
vlan <MNGT_VLAN>
ports <I1> <I2> name mngt1
ports add <RADIO>
ports add <MNGT-OnS> untagged <MNGT-OnS>
exit
default ip vlan id <MNGT_VLAN>
default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>
interface <MNGT-OnS>
switchport priority default 7
switchport ingress-filter
exit
#To redirect mng packets to the higher queue
mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 2
permit any any vlan <MNGT_VLAN>
exit

52 MN.00320.E - 013
mac access-list extended 3
permit any any vlan <MNGT_VLAN>
exit
interface <I1>
mac access-group 1 in
exit
interface <I2>
mac access-group 2 in
exit
interface <RADIO>
mac access-group 3 in
exit
class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit
class-map 20
match access-group mac-access-list 2
set class 20 regen-priority 7 group-name mng_group_2
exit
class-map 30
match access-group mac-access-list 3
set class 30 regen-priority 7 group-name mng_group_3
exit
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
interface <LAN1>
switchport ingress-filter
exit
interface <LAN2>
switchport ingress-filter
exit
interface <RADIO>
switchport ingress-filter
exit
exit
#========================================================================
# To make effective the above ‘default’ commands,
# following commands must be launched.
set hitless-restart enable
sleep 5
reload
#========================================================================
#CONTEXT-EXIT

MN.00320.E - 013 53
6.5 PAYLOAD INTERFACES

The next step in the switch configuration is the setting of the traffic ports.

INTERFACES
#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
########################################################################
# Script name: SYS-PYLD_IF
#
# Rev.0002a
# (siae microelettronica)
#########################################################+##############
#====================================================================
# LINE INTERFACES
interface <LAN1>
# This is the LAN1.
no shutdown
exit
interface <LAN2>
# This is the LAN2.
no shutdown
exit
#=====================================================================
# RADIO INTERFACE
interface <RADIO>
# This is the RADIO.
shutdown
no negotiation
no shutdown
exit
exit
#=======================================================================
#CONTEXT-EXIT
#show vlan device info
#show vlan device capabilities
#show interface bridge port-type
#show vlan port config switch default

Script name: SYS-PYLD_IF

In case of Radio port a further setting has to be applied: local Radio port and remote Radio port don't need
to perform any autonegotiation.

54 MN.00320.E - 013
6.6 NETWORK APPLICATION

Next step is to define the applicable scenario.

All possible network scenarios have been inserted in a list and named by a SIAE scenario code. Among
these scenarios, six main examples have been pointed out: 1, 2, 3, 4, 5 and 6.
In the following pages they are explained.

6.6.1 Scenario #1

Transport Access
Script ID: APP-Scenario1-TR Script ID: APP-Scenario1-TR

C1 0 C10  
 C1 0  CP  C1 0  CP
1 1
R

2 2

CB CB

MN.00320.E - 013 55
Scenario1_Transport&Access
#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: APP-SCENARIO1_TR
#
# Rev.0001
# (siae microelettronica)
################################################################+########
bridge-mode customer

# LAN 1
interface <LAN1>
switchport ingress-filter
no shutdown
exit

# RADIO
interface <RADIO>
switchport ingress-filter
no shutdown
exit

# TAGGED LAN1 <- C-VLAN 10 -> RADIO


vlan 10
ports <LAN1> <RADIO>
exit

#========================================================================
#CONTEXT-EXIT
exit

56 MN.00320.E - 013
The Scenario#1 describes one radio link with the following characteristics: one radio is Transport side, the
other radio is Access side.

A script is provided for the Transport side switch and another is provided for the Access side switch.

The two switches of the link (transport switch and access switch) are set in Customer Bridge-mode (CB),
a switch that manages a single level of VLAN tag described by several C-tag.

Core/Transport Network:

• Ethernet traffic is tagged with a VLAN tag

• The C-VLAN IDs identify the different destination NodeB in the Access network

• In script C-VLAN 10 is used as an example of identification

Access Network:

• Ethernet traffic to/from NodeBs is tagged with VLAN Tag

• The traffic from different NodeBs is differentiated on the basis of the VLAN (the customer can use
one or more VLAN IDs for each NodeB, C-VLAN 10 in the script example)

MN.00320.E - 013 57
6.6.2 Scenario #2

Transport Access

Script ID: APP-Scenario2-TR Script ID: APP-Scenario2-ACC

S 10 0  Cx  S 10 0  Cx  C 10  
1 S 100 C10 C 20  
PNP  ... 
PNP  R  S 100 C20
2 C x 
1
R CNP 
PCB 
PNP 2

PEB 

Scenario2-Transport

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: APP-SCENARIO2_TR
#
# Rev.0001
# (siae microelettronica)
################################################################+########
bridge-mode provider-core

# LAN1
interface <LAN1>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# RADIO
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# LAN1 <- S-VLAN 100 -> RADIO

58 MN.00320.E - 013
vlan 100
ports <LAN1> <RADIO>
exit

#========================================================================
#CONTEXT-EXIT
exit

Scenario2-Access

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: APP-SCENARIO2_ACC
#
# Rev.0002
# (siae microelettronica)
################################################################+########
bridge-mode provider-edge

# LAN1
interface <LAN1>
bridge port-type customerNetworkPort port-based
## Choose one option and put it on #<EXEC.LINE>.
## 1.Assign a fixed SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype fixed 2
## 2.Copy incoming CVLAN Priority as SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype copy
#<EXEC.LINE>
switchport ingress-filter
no shutdown
exit

# RADIO
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# RADIO <- S-VLAN 100 -> UNTAGGED LAN1


vlan 100
ports <LAN1> <RADIO> untagged <LAN1>
exit

# UNTAGGED LAN1
interface <LAN1>
switchport pvid 100
exit

#========================================================================
#CONTEXT-EXIT
exit

MN.00320.E - 013 59
The Scenario#2 describes one radio link with the following characteristics: one radio is Transport side, the
other radio is Access side.

A script is provided for the Transport side switch and another is provided for the Access side switch.
The Transport side switch is set as Provider Core Bridge (PCB). The Access side switch is set as Provider
Edge Bridge (PEB).

PCB and PEB switches manage two levels of VLAN tag described by C-tag and S-tag.
Core/Transport Network:

• Ethernet traffic is to/from the router is tagged with S-VLAN + C-VLAN tag

• The S-VLAN IDs identify the destination NodeB (S-VLAN 100 in the script example) in the Access
network

Access Network:

• Ethernet traffic to/from NodeBs is tagged with VLAN Tag

• The traffic from different NodeBs is differentiated on the basis of the ingress port (the customer can
use the same VLAN on all the NodeBs)

• In the microwave network an additional Tag (S-Tag) is added by the radio connected to the NodeBs
(S-VLAN 100 in the script example).

6.6.3 Scenario #3

Transport Access

Script ID: APP-Scenario1-TR Script ID: APP-Scenario3-ACC

PVID C10 
 C1 0  C10  
CP  C10
1
R  1
2 R
2
CB 
CB

Scenario3_Access

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: APP-SCENARIO3_ACC
#

60 MN.00320.E - 013
# Rev.0001
# (siae microelettronica)
################################################################+########
bridge-mode customer
# LAN 1
interface <LAN1>
switchport ingress-filter
no shutdown
exit

# RADIO
interface <RADIO>
switchport ingress-filter
no shutdown
exit

# RADIO <- C-VLAN 10 -> UNTAGGED LAN1


vlan 10
ports <LAN1> <RADIO> untagged <LAN1>
exit
# UNTAGGED LAN1
interface <LAN1>
switchport pvid 10
switchport priority default 7
exit
#========================================================================
#CONTEXT-EXIT
exit

MN.00320.E - 013 61
The Scenario#3 describes one radio link with the following characteristics: one radio is Transport side, the
other radio is Access side.

A script is provided for the Transport side switch and another is provided for the Access side switch.

The Transport side switch is set as Customer Bridge (CB). The Access side switch is set as Customer Bridge
(CB).

A CB, "customer bridge-mode" switch is a switch that manages a single level of VLAN tag described by
several C-tag.

Transport Network:

• Ethernet traffic to/from the Router is tagged with a C-VLAN tag

• The C-VLAN IDs identify the destination NodeB (C-VLAN 10 in the script example)
Access Network:

• Forwarding is based on packets C-VLAN

• In the microwave network n additional C-VLAN Tag is added by the radio connected to the NodeBs
(C-VLAN 10 in the script example)

• Ethernet traffic to/from NodeBs is untagged

• The traffic from different NodeBs is differentiated on the basis of the ingress port.

62 MN.00320.E - 013
6.6.4 Scenario #4

Transport Transport Access

Script ID: App-Scenario4-TR2 Script ID: App-Scenario4-TR1 Script ID: App-Scenario4-Acc

PVID 100
S 100  C10  A 
S 200  C10  B  C 10 A
CN P
1

PNP   2
C 10 B
PEB 

PVID 200

Scenario4-Transport2

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################
# Script name: APP-SCENARIO4_TR2
#
# Rev.0002
# (siae microelettronica)
######################################+########
bridge-mode provider-edge

# LAN 1
interface <LAN1>
bridge port-type customeredgePort
## Choose one option and put it on #<EXEC.LINE>.
## 1.Assign a fixed SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype fixed 2
## 2.Copy incoming CVLAN Priority as SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype copy
## 3.Apply fixed SVLAN priority for specific CVID entry:
# #<EXEC.LINE>= \
## switchport customer-vlan 10 svlan-priotype fixed 3
#<EXEC.LINE>
switchport ingress-filter

MN.00320.E - 013 63
no shutdown
exit

# RADIO
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# LAN1 <- S-VLAN 100 -> RADIO


# LAN1 <- S-VLAN 200 -> RADIO
vlan 100
ports <LAN1> <RADIO>untagged <LAN1>
ethernet evc id evc100
ethernet evc type point-to-Point
exit
vlan 200
ports <LAN1> <RADIO> untagged <LAN1>
ethernet evc id evc200
ethernet evc type point-to-Point
exit

#TAGGED LAN 1
interface <LAN1>
ethernet uni id UNI01
ethernet map ce-vlan 10 evc 100
ethernet map ce-vlan 20 evc 200
exit

#=======================================================
#CONTEXT-EXIT
exit

Scenario4-Transport1

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################
# Script name: APP-SCENARIO4_TR1
#
# Rev.0002
# (siae microelettronica)
################################+##############
bridge-mode provider-core

# LAN 1
interface <LAN1>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

64 MN.00320.E - 013
# RADIO
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# S-VLAN 100
# S-VLAN 200
vlan 100
ports <LAN1> <RADIO>
exit
vlan 200
ports <LAN2> <RADIO>
exit

#==============================================
#CONTEXT-EXIT
exit

Scenario4-Access
#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################
# Script name: APP-SCENARIO4_ACC
#
# Rev.0002
# (siae microelettronica)
################################+##############
bridge-mode provider-edge

# LAN 1
interface <LAN1>
bridge port-type customerNetworkPort port-based
## Choose one option and put it on #<EXEC.LINE>.
## 1.Assign a fixed SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype fixed 2
## 2.Copy incoming CVLAN Priority as SVLAN Priority:
# #<EXEC.LINE>= switchport svlan-priotype copy
#<EXEC.LINE>
switchport ingress-filter
no shutdown
exit

# LAN 2
interface <LAN2>
bridge port-type customerNetworkPort port-based
## Choose one option and put it on #<EXEC.LINE>.
## 1.Assign a fixed SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype fixed 2

MN.00320.E - 013 65
## 2.Copy incoming CVLAN Priority as SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype copy
#<EXEC.LINE>
switchport ingress-filter
no shutdown
exit

# RADIO
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# RADIO <- S-VLAN 100 -> UNTAGGED LAN1


# RADIO <- S-VLAN 200 -> UNTAGGED LAN2
vlan 100
ports <LAN1> <RADIO> untagged <LAN1>
exit
# UNTAGGED LAN1
interface <LAN1>
switchport pvid 100
exit

vlan200
ports <LAN2> <RADIO> untagged <LAN2>
exit

# UNTAGGED LAN2
interface <LAN2>
switchport pvid 200
exit
#==============================================
#CONTEXT-EXIT
exit

Note: To remove EVC follow the script below.

###############################################
#CONTEXT - REMOVE EVC
###############################################
configure terminal
interface <LAN1>
no ethernet uni id
exit

vlan 100
no ethernet evc id
exit
vlan 200
no ethernet evc id
end

66 MN.00320.E - 013
Scenario#4 describes two radio links. Tree radios are on Transport side, the other radio is on Access side.

Depending on position of the switch, two scripts are provided for Transport side and a script is provided
for Access side.
The Transport side switch on left is set as Provider Edge Bridge (PEB), the Transport side switches in the
centre of the network are set as Provider Core Bridge (PCB) and the Access side switch is set as Provider
Edge Bridge (PEB).
PCB and PEB switches manage two levels of VLAN tag described by C-tag and S-tag.

Core/Backbone Network (Transport Network on the left):

• The router is connected to the MW network by means of 2 Ethernet ports:

- 1 port for 3G traffic

- 1port for 4G traffic

• Ethernet traffic to/from the router ports is tagged with C-VLAN Tag (3Gand 4G could have the same
VLAN IDs)

• The S-VLAN IDs is added by the MW equipment on the basis of:

- Ingress port (identifies 3G or 4G traffic)

Microwave Backhaul Network (central Transport Network):

• E-line connections between each NodeB and the relevant router interface

• Forwarding is based on packets S-VLAN

• In the existing microwave network:

- On the router side: the VLAN re-write functionality is used by microwave network to add the
second VLAN Tag.

- On NodeB side: the second VLAN Tag is added by the microwave according to the connected
NodeBs (S-VLAN 100and S-VLAN 200 in the script example)

Access Network:

• Ethernet traffic to/from NodeBs is tagged with a VLAN Tag

• The traffic from different NodeBs is differentiated on the basis of the ingress port (the customer can
use the same VLAN on all the NodeBs)

6.6.5 Scenario #5

MN.00320.E - 013 67
Transport Transport Access

Script ID: App-Scenario5-TR2 Script ID: App-Scenario5-TR1 Script ID: App-Scenario5-Acc

S10 0  B S 10 0 B EVC100 
EVC100   C10‐p3 A1
C10‐p3  A1/2  S 100 B
CEP
P NP 1
CEP  1 1
  1 P NP  PNP S100‐p3 C 10‐p3  A1/2  R 
R R CEP
A  R  PNP 
S 100‐p3   C 10‐p3 A1/2  PNP   2 2 2
  2 PNP 
C10‐p3 A2
PCB  PEB 
PEB  EVC1 00 EVC 100 PCB

68 MN.00320.E - 013
Scenario5-Transport2

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################
# Script name: APP-SCENARIO5_TR2
#
# Rev.0002a
# (siae microelettronica)
################################+##############
bridge-mode provider-edge

# LAN 1
interface <LAN1>
bridge port-type customeredgePort
## Choose one option and put it on #<EXEC.LINE>.
## 1.Assign a fixed SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype fixed 2
## 2.Copy incoming CVLAN Priority as SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype copy
## 3.Apply fixed SVLAN priority for specific CVID entry:
# #<EXEC.LINE>= \
## switchport customer-vlan 10 svlan-priotype fixed 3
#<EXEC.LINE>
switchport ingress-filter
no shutdown
exit

# RADIO
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# UNTAGGED LAN1 <- S-VLAN 100 -> RADIO


vlan 100
ports <LAN1> <RADIO> untagged <LAN1>
ethernet evc id evc100
ethernet evc type point-to-Point
exit

# C-TAGGED LAN1
interface <LAN1>
ethernet uni id UNI01
ethernet map ce-vlan 10 evc 100
exit

#==============================================
#CONTEXT-EXIT
exit

MN.00320.E - 013 69
Scenario5-Transport1

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################
# Script name: APP-SCENARIO5_TR1
#
# Rev.0001a
# (siae microelettronica)
################################+##############
bridge-mode provider-core

# LAN 1
interface <LAN1>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# RADIO
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# S-VLAN 100
vlan 100
ports <LAN1> <RADIO>
ethernet evc id evc100
ethernet evc type point-to-Point
exit

#==============================================
#CONTEXT-EXIT
exit

Scenario5-Access

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################
# Script name: APP-SCENARIO5_ACC
#
# Rev.0002a
# (siae microelettronica)
################################+##############
bridge-mode provider-edge

# LAN 1
interface <LAN1>
bridge port-type customeredgePort

70 MN.00320.E - 013
## Choose one option and put it on #<EXEC.LINE>.
## 1.Assign a fixed SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype fixed 2
## 2.Copy incoming CVLAN Priority as SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype copy
## 3.Apply fixed SVLAN priority for specific CVID entry:
# #<EXEC.LINE>= \
## switchport customer-vlan 10 svlan-priotype fixed 3
#< EXEC.LINE>
switchport ingress-filter
no shutdown
exit

# LAN 2
interface <LAN2>
bridge port-type customeredgePort
## Choose one option and put it on #<EXEC.LINE>.
## 1.Assign a fixed SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype fixed 2
## 2.Copy incoming CVLAN Priority as SVLAN Priority:
##<EXEC.LINE>= switchport svlan-priotype copy
## 3.Apply fixed SVLAN priority for specific CVID entry:
# #<EXEC.LINE>= \
## switchport customer-vlan 10 svlan-priotype fixed 3
#<EXEC.LINE>
switchport ingress-filter
no shutdown
exit

# RADIO
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# RADIO <- S-VLAN 100 -> UNTAGGED LAN1 LAN2


vlan 100
ports <LAN1> <LAN2> <RADIO> untagged <LAN1> <LAN2>
ethernet evc id evc100
ethernet evc type point-to-Point
exit

# C-TAGGED LAN1
interface <LAN1>
ethernet uni id UNI01
ethernet map ce-vlan 10 evc 100
exit

# C-TAGGED LAN2
interface <LAN2>
ethernet uni id UNI02
ethernet map ce-vlan 10 evc 100

MN.00320.E - 013 71
exit

#==============================================
#CONTEXT-EXIT
exit

Note: to remove EVC follow the script below:

###############################################
#CONTEXT - REMOVE EVC
###############################################
configure terminal
interface <LAN1>
no ethernet uni id
exit
interface <LAN2>
no ethernet uni id
exit

vlan 100
no ethernet evc id
end

The Scenario#5 describes two radio links. Three radios are on Transport side, the other radio is on Access
side.

Depending on position of the switch, two scripts are provided for Transport side and a script is provided
for Access side.
The Transport side switch on left is set as Provider Edge Bridge (PEB), the Transport side switches in the
centre of the network are set as Provider Core Bridge (PCB) and the Access side switch is set as Provider
Edge Bridge (PEB).

PCB and PEB switches manage two levels of VLAN tag described by C-tag and S-tag.

Core/Backbone Network (Transport Network on the left):

• Ethernet traffic to/from the Router is tagged with a C-VLAN tag

• The Router port identifies the destination NodeBs

Microwave Backhaul Network (central Transport Network):

• E-LAN connections between each NodeB and the relevant router interface

• Forwarding is based on ingress router port

• In the existing microwave network, a S-VLAN Tag is added by radio to separate the different E-LAN
connections (S-VLAN 100 in the script example)

Access Network

• Ethernet traffic to/from NodeBs is tagged with a VLAN Tag

• The traffic from different NodeBs is differentiated on the basis of the ingress port and MAC address

• The two port belong to the same EVC100

72 MN.00320.E - 013
6.6.6 Scenario #6

Transport Transport Access

Script ID: App-Scenario6-TR2 Script ID: App-Scenario6-TR1 Script ID: App-Scenario6-Acc

PVI D 1 00   PVID 


PVI D 100  
S100  S 100 B
C1 0‐p2  A1/2  S 100 B C10‐p2 A1
P NP CN P‐PrtBase
  1 P NP  1 1 PNP 1
C NP‐PrtBas e  R R S100‐p2 C 10‐p2  A1/2  R 
A  R 
S 10 0‐ p2   C 10 ‐p2 A1/2  PNP   PNP  CN P‐PrtBase
  2 PNP  2 2 2
C10‐p2 A2
PEB  PCB PCB  PEB 

Scenario6-Transport2

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################
# Script name: APP-SCENARIO6_TR2
#
# Rev.0002a
# (siae microelettronica)
################################+##############
bridge-mode provider-edge

# LAN 1
interface <LAN1>
bridge port-type customerNetworkPort port-based
## Choose one option and put it on #<EXEC.LINE>.
## 1.Assign a fixed SVLAN Priority:
# #<EXEC.LINE>= switchport svlan-priotype fixed 2
## 2.Copy incoming CVLAN Priority as SVLAN Priority:
# #<EXEC.LINE>= switchport svlan-priotype copy
#<EXEC.LINE>
switchport ingress-filter
no shutdown

MN.00320.E - 013 73
exit

# RADIO
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# UNTAGGED LAN1 <- S-VLAN 100 -> RADIO


vlan 100
ports <LAN1> <RADIO> untagged <LAN1>
exit

#UNTAGGED LAN1
interface <LAN1>
switchport pvid 100
exit

#==============================================
#CONTEXT-EXIT
exit

Scenario6-Transport1

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################
# Script name: APP-SCENARIO6_TR1
#
# Rev.0001a
# (siae microelettronica)
################################+##############
bridge-mode provider-core

# LAN 1
interface <LAN1>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# RADIO
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

# S-VLAN 100
vlan 100

74 MN.00320.E - 013
ports <LAN1> <RADIO>
exit

#==============================================
#CONTEXT-EXIT
exit

Scenario6-Access

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################
# Script name: APP-SCENARIO6_ACC
#
# Rev.0003a
# (siae microelettronica)
################################+##############
bridge-mode provider-edge

# LAN 1
interface <LAN1>
bridge port-type customerNetworkPort port-based
## Choose one option and put it on #<EXEC.LINE>.
## 1.Assign a fixed SVLAN Priority:
# #<EXEC.LINE>= switchport svlan-priotype fixed 2
## 2.Copy incoming CVLAN Priority as SVLAN Priority:
# #<EXEC.LINE>= switchport svlan-priotype copy
#<EXEC.LINE>
switchport ingress-filter
no shutdown
exit
# LAN 2
interface <LAN2>
bridge port-type customerNetworkPort port-based
## Choose one option and put it on #<EXEC.LINE>.
## 1.Assign a fixed SVLAN Priority:
# #<EXEC.LINE>= switchport svlan-priotype fixed 2
## 2.Copy incoming CVLAN Priority as SVLAN Priority:
# #<EXEC.LINE>= switchport svlan-priotype copy
#<EXEC.LINE>
switchport ingress-filter
no shutdown
exit

# RADIO
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
no shutdown
exit

MN.00320.E - 013 75
# RADIO <- S-VLAN 100 -> UNTAGGED LAN1
vlan 100
ports <LAN1> <LAN2> <RADIO> untagged <LAN1> <LAN2>
exit

#UNTAGGED LAN1
interface <LAN1>
switchport pvid 100
exit
#UNTAGGED LAN2
interface <LAN2>
switchport pvid 100
exit
#==============================================
#CONTEXT-EXIT
exit

The Scenario #6 describes two radio links. Three radios are on Transport side, the other radio is on Access
side.

Depending on position of the switch, two scripts are provided for Transport side and a script is provided
for Access side.

The Transport side switch on left is set as Provider Edge Bridge (PEB), the Transport side switches in the
centre of the network are set as Provider Core Bridge (PCB) and the Access side switch is set as Provider
Edge Bridge (PEB). PCB and PEB switches manage two levels of VLAN tag described by C-tag and S-tag.

Core/Backbone Network (Transport Network on the left):


• Ethernet traffic to/from the Routers can be Tagged with a C-VLAN Tag or Untagged (hybrid connec-
tion)

• The Router port identifies the destination NE.


Microwave Backhaul Network (central Transport Network):

• E-LAN connections between different NE and the relevant router interface

• Forwarding is based on ingress router port

• In the existing microwave network, a S-VLAN Tag is added by radio to separate the different E-LAN
connections (S-VLAN 100 in the script example).

Access Network

• Ethernet traffic to/from NEs can be Tagged with a VLAN Tag or Untagged (hybrid connection)

• The traffic from different NodeBs is differentiated on the basis of the ingress port and MAC address

• The two ports have the same PVID.

76 MN.00320.E - 013
6.7 PAYLOAD SERVICES

Next step is to add some payload services (optional): in this chapter an explanation of the transport service
usable and customizable for any application.

6.7.1 Customer bridge

CB ports/C-Tagged service
#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CB-CTAGGED-SRVC
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
vlan 19
# 19-VLAN for untagged and priority tagged traffic.
ports <LAN1> <RADIO> untagged <LAN1> name siae019
exit
vlan 29
# 29-VLAN for untagged and priority tagged traffic.
ports <LAN2> <RADIO> untagged <LAN2> name siae029
exit
vlan 10
ports <LAN1> <RADIO> name siae10
exit
vlan 20
ports <LAN2> <RADIO> name siae20
exit

# Use of PVID must be after VLAN section.


interface <LAN1>
# PVID-19-VLAN for untagged and priority tagged traffic.
switchport pvid 19
switchport priority default 1
no shutdown
exit
interface <LAN2>
# PVID-29-VLAN for untagged and priority tagged traffic.
switchport pvid 29
switchport priority default 1
no shutdown
exit
interface <RADIO>
no shutdown
exit

MN.00320.E - 013 77
exit
#==============================================================================
# show interface bridge port-type
# show vlan
#==============================================================================
#CONTEXT-EXIT

• Script name: CB-CTAGGED-SRVC

The script defines:

• LAN1 and radio are members tagged of VLAN10 (VLAN10 passes unchanged)

• LAN2 and radio are members tagged of VLAN20 (VLAN20 passes unchanged)

• LAN1 is member untagged of VLAN 19 and radio is member tagged of VLAN19

• LAN2 is member untagged of VLAN 29 and radio is member tagged of VLAN29

• The incoming untagged traffic is tagged with port VLAN ID (PVID) of LAN interface into the switch.

78 MN.00320.E - 013
6.7.2 Provider edge bridge - Customer edge port

PEB-CEB ports
#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: PEB-PORTS-CTAGGED-SRVC
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <LAN1>
bridge port-type customerEdgePort
switchport ingress-filter
ethernet uni id UNI01
shutdown
exit
interface <LAN2>
bridge port-type customerEdgePort
switchport ingress-filter
ethernet uni id UNI02
shutdown
exit
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
shutdown
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: PEB-PORTS-CTAGGED-SRVC

The script defines the ports in the following mode:

• LAN1 and LAN2 as CEP

• RADIO port as PNP

PEB-CEP ports/C-Tagged service


#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CEP-CTAGGED-SRVC
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
#============================================================================
vlan 19

MN.00320.E - 013 79
# 19-EVC for untagged and priority tagged traffic.
ports <LAN1> <RADIO> untagged <LAN1> name siae019
ethernet evc id evc019
ethernet evc type point-to-Point
exit
vlan 29
# 29-EVC for untagged and priority tagged traffic.
ports <LAN2> <RADIO> untagged <LAN2> name siae029
ethernet evc id evc029
ethernet evc type point-to-Point
exit
vlan 100
ports <LAN1> <RADIO> untagged <LAN1> name siae100
ethernet evc id evc100
ethernet evc type point-to-Point
exit
vlan 200
ports <LAN2> <RADIO> untagged <LAN2> name siae200
ethernet evc id evc200
ethernet evc type point-to-Point
exit

# Use of EVC, PVID must be after VLAN section.


interface <LAN1>
# PVID-19-EVC for untagged and priority tagged traffic.
switchport pvid 19
no ethernet map ce-vlan 10; ethernet map ce-vlan 10 evc 100
no ethernet map ce-vlan 11; ethernet map ce-vlan 11 evc 100
no ethernet map ce-vlan 12; ethernet map ce-vlan 12 evc 100
no ethernet map ce-vlan 13; ethernet map ce-vlan 13 evc 100
no ethernet map ce-vlan 14; ethernet map ce-vlan 14 evc 100
no shutdown
exit
interface <LAN2>
# PVID-29-EVC for untagged and priority tagged traffic.
switchport pvid 29
no ethernet map ce-vlan 20; ethernet map ce-vlan 20 evc 200
no ethernet map ce-vlan 21; ethernet map ce-vlan 21 evc 200
no ethernet map ce-vlan 22; ethernet map ce-vlan 22 evc 200
no ethernet map ce-vlan 23; ethernet map ce-vlan 23 evc 200
no ethernet map ce-vlan 24; ethernet map ce-vlan 24 evc 200
no shutdown
exit
interface <RADIO>
no shutdown
exit
exit
#==============================================================================
# show interface bridge port-type
# show ethernet uni switch default
# show vlan
# show ethernet evc switch default
# show service vlan switch default

80 MN.00320.E - 013
# show ethernet ce-vlan evc map
#==============================================================================
#CONTEXT-EXIT

• Script name: CEP-CTAGGED-SRVC


The script defines:

• a C-VLAN and a S-VLAN for ports LAN1 and RADIO with LAN1 untagged and a default PVID for port
LAN1

• a C-VLAN and a S-VLAN for ports LAN2 and RADIO with LAN2 untagged and a default PVID for port
LAN2

In this way all the C-tagged traffic (C-VID 10...14) entering in LAN1 is sent in S-VLAN 100 through the
RADIO port and all the C-tagged traffic (C-VID 20...24) entering in LAN2 is sent in S-VLAN 200 through
the RADIO port.

Untagged traffic entering in port LAN1 is sent to RADIO port using evc019 and untagged traffic entering in
port LAN2 is sent to RADIO port using evc029.

PEB-CEP ports/C-Tagged service+PCP


#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CEP-CTAGGED-SRVC-PCP
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
#============================================================================
vlan 19
# 19-EVC for untagged and priority tagged traffic.
ports <LAN1> <RADIO> untagged <LAN1> name siae019
ethernet evc id evc019
ethernet evc type point-to-Point
exit
vlan 29
# 29-EVC for untagged and priority tagged traffic.
ports <LAN2> <RADIO> untagged <LAN2> name siae029
ethernet evc id evc029
ethernet evc type point-to-Point
exit
vlan 100
ports <LAN1> <RADIO> untagged <LAN1> name siae100
ethernet evc id evc100
ethernet evc type point-to-Point
exit
vlan 200
ports <LAN2> <RADIO> untagged <LAN2> name siae200
ethernet evc id evc200
ethernet evc type point-to-Point

MN.00320.E - 013 81
exit

# Use of EVC, PVID must be after VLAN section.


# Use of ‘per port PCP (basic)' must be after
# ce-vlan map section.

interface <LAN1>
# PVID-19-EVC for untagged and priority tagged traffic.
switchport pvid 19
# PRIO-1-EVC for untagged and priority tagged traffic.
switchport priority default 1

no ethernet map ce-vlan 10; ethernet map ce-vlan 10 evc 100


no ethernet map ce-vlan 11; ethernet map ce-vlan 11 evc 100
no ethernet map ce-vlan 12; ethernet map ce-vlan 12 evc 100
no ethernet map ce-vlan 13; ethernet map ce-vlan 13 evc 100
no ethernet map ce-vlan 14; ethernet map ce-vlan 14 evc 100

# per port PCP (basic). Srvc pcp is created:


#---------------------------------------------------------
# - fixing a value or
# - copying customer pcp.
# choose one of the following:
#
switchport svlan-priotype fixed 2
#witchport svlan-priotype copy

# per vlan PCP (add specific). Srvc pcp is created:


#---------------------------------------------------------
# - fixing a value or
# - copying customer pcp.
#
switchport customer-vlan 13 svlan-priotype fixed 3
switchport customer-vlan 14 svlan-priotype copy

no shutdown
exit
interface <LAN2>
# PVID-29-EVC for untagged and priority tagged traffic.
switchport pvid 29
# PRIO-1-EVC for untagged and priority tagged traffic.
switchport priority default 1

no ethernet map ce-vlan 20; ethernet map ce-vlan 20 evc 200


no ethernet map ce-vlan 21; ethernet map ce-vlan 21 evc 200
no ethernet map ce-vlan 22; ethernet map ce-vlan 22 evc 200
no ethernet map ce-vlan 23; ethernet map ce-vlan 23 evc 200
no ethernet map ce-vlan 24; ethernet map ce-vlan 24 evc 200

# per port PCP (basic). Srvc pcp is created:


#---------------------------------------------------------
# - fixing a value or
# - copying customer pcp.

82 MN.00320.E - 013
# choose one of the following:
#
switchport svlan-priotype fixed 2
#witchport svlan-priotype copy

# per vlan PCP (add specific). Srvc pcp is created:


#---------------------------------------------------------
# - fixing a value or
# - copying customer pcp.
#
switchport customer-vlan 23 svlan-priotype fixed 3
switchport customer-vlan 24 svlan-priotype copy

no shutdown
exit

interface <RADIO>
no shutdown
exit
exit
#==============================================================================
# show interface bridge port-type
# show ethernet uni switch default
# show vlan
# show ethernet evc switch default
# show service vlan switch default
# show ethernet ce-vlan evc map
#==============================================================================
#CONTEXT-EXIT

• Script name: CEP-CTAGGED-SRVC-PCP

The script performs the following behaviour: all the C-tagged traffic (C-VID 10...14) entering in LAN1 is
sent in S-VLAN 100 through the RADIO port and all the C-tagged traffic (C-VID 20...24) entering in LAN2
is sent in S-VLAN 200 through the RADIO port. Not only, the traffic entering through port LAN1 takes pri-
ority 2 and traffic entering through port LAN2 takes priority 2. Or in alternative the priority can be the orig-
inal in input in this example despite the two options available there are also the specific priority
assignments:

• traffic entering through port LAN 1 with C-VID 13 takes priority 3 and with C-VID 14 maintains its
original priority

• traffic entering through port LAN 2 with C-VID 23 takes priority 3 and with C-VID 24 maintains its
original priority
Untagged traffic entering in port LAN1 is sent to RADIO port using evc019 with priority 1 and untagged
traffic entering in port LAN2 is sent to RADIO port using evc029 with priority 1.

PEB-CEP Add/Drop C-TAG to untagged traffic


#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#################################################################
# Script name: CEP-AddDropCTAG
#
# Rev.0002
# (siae microelettronica)
################################################################+

MN.00320.E - 013 83
#==============================================================
interface <LAN1>
switchport dot1q customer vlan 19
switchport customer-vlan 19 service-vlan 100 untagged-pep false untagged-cep true
exit
interface <LAN2>
switchport dot1q customer vlan 29
switchport customer-vlan 29 service-vlan 200 untagged-pep false untagged-cep true
exit
exit
#================================================================
# show service vlan
#================================================================
#CONTEXT-EXIT

• Script name: CEP-AddDropCTAG

The purpose of this script are the following:

• for LAN1 it sets the customer VLAN ID for the port (in this case 19), it adds an entry in the Customer
VLAN Identification (C-VID) registration table and configures the SVLAN id as 100. It sets the port
as the Untagged Customer Edge Port.
• for LAN2 it sets the customer VLAN ID for the port (in this case 29), it adds an entry in the Customer
VLAN Identification (C-VID) registration table and configures the SVLAN id as 200. It sets the port
as the Untagged Customer Edge Port.

PEB-CEP Add/Drop C-TAG to untagged traffic (UNDO)


#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#################################################################
# Script name: CEP-AddDropCTAG(undo)
#
# Rev.0002
# (siae microelettronica)
################################################################+
#==============================================================
interface <LAN1>
no switchport customer-vlan 19
switchport pvid <PVID-LAN1>
exit
interface <LAN2>
no switchport customer-vlan 29
switchport pvid <PVID-LAN2>
exit
exit
#=================================================================
#CONTEXT-EXIT

• Script name: CEP-AddDropCTAG (UNDO)

The purpose of this script are the following:

• delete entry in the C-VID registration table CVLAN 19 on LAN1


• delete entry in the C-VID registration table CVLAN 29 on LAN2.

84 MN.00320.E - 013
6.7.3 Provider edge bridge - Customer network port

PEB-CNP ports
#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: PEB-PORTS-PORTBASED-SRVC
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <LAN1>
bridge port-type customerNetworkPort port-based
switchport ingress-filter
shutdown
exit
interface <LAN2>
bridge port-type customerNetworkPort port-based
switchport ingress-filter
shutdown
exit
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
shutdown
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: PEB-PORTS-PORTBASED-SRVC

The script defines:


• LAN1 as Customer Network Port

• LAN2 as Customer Network Port

• Radio port as Provider Network port

PEB-CNP-PortBased service
#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CNP-PORTBASED-SRVC
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
#============================================================================
vlan 100
ports <LAN1> <RADIO> untagged <LAN1> name siae100

MN.00320.E - 013 85
exit
vlan 200
ports <LAN2> <RADIO> untagged <LAN2> name siae200
exit

# Use of EVC, PVID must be after VLAN section.


interface <LAN1>
# PVID-100-EVC for untagged and priority tagged traffic.
switchport pvid 100
no shutdown
exit
interface <LAN2>
# PVID-200-EVC for untagged and priority tagged traffic.
switchport pvid 200
no shutdown
exit
interface <RADIO>
no shutdown
exit
exit
#==============================================================================
# show interface bridge port-type
# show ethernet uni switch default
# show vlan
# show ethernet evc switch default
# show service vlan switch default
# show ethernet ce-vlan evc map
#==============================================================================
#CONTEXT-EXIT

• Script name: CNP-PORTBASED-SRVC

The script defines:


• Vlan 100 for LAN1

• Vlan 200 for LAN2

• EVC 100 and PVID 100 for LAN1

• EVC 200 and PVID 200 for LAN2

PEB-CNP-PortBased Service + PCP


#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CNP-PORTBASED-SRVC-PCP
#
# Rev.0003
# (siae microelettronica)
################################################################+##############
#============================================================================
vlan 100
ports <LAN1> <RADIO> untagged <LAN1> name siae100
exit

86 MN.00320.E - 013
vlan 200
ports <LAN2> <RADIO> untagged <LAN2> name siae200
exit

# Use of EVC, PVID must be after VLAN section.


interface <LAN1>
# PVID-100-EVC for untagged and priority tagged traffic.
switchport pvid 100
switchport priority default 1

# per port PCP (tagged traffic). Srvc pcp is created:


#---------------------------------------------------------
# - fixing a value or
# - copying customer pcp.
# choose one of the following:
#
switchport svlan-priotype fixed 2
#witchport svlan-priotype copy

no shutdown
exit
interface <LAN2>
# PVID-200-EVC for untagged and priority tagged traffic.
switchport pvid 200
switchport priority default 1

# per port PCP (tagged traffic). Srvc pcp is created:


#---------------------------------------------------------
# - fixing a value or
# - copying customer pcp.
# choose one of the following:
#
switchport svlan-priotype fixed 2
#witchport svlan-priotype copy

no shutdown
exit
interface <RADIO>
no shutdown
exit
exit
#==============================================================================
# show interface bridge port-type
# show ethernet uni switch default
# show vlan
# show ethernet evc switch default
# show service vlan switch default
# show ethernet ce-vlan evc map
#==============================================================================
#CONTEXT-EXIT

• Script name: CNP-PORTBASED-SRVC-PCP

The script defines:

• Vlan 100 for LAN1

• Vlan 200 for LAN2

MN.00320.E - 013 87
• EVC 100, PVID 100 and fixed or copied PCP for LAN1

• EVC 200, PVID 200 and fixed or copied PCP for LAN2.

PEB-CNP-PortBased force untagged traffic


#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CNP-Pb-ForceUTAG
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <LAN1>
switchport egress ether-type 0x0001
switchport ingress ether-type 0x0001
exit
interface <LAN2>
switchport egress ether-type 0x0001
switchport ingress ether-type 0x0001
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: CNP-Pb-ForceUTAG

The script on a defined port allows any packet Untagged or Ctagged or Stagged to transit through the port.

6.7.4 Provider core bridge - Provider network port

PCB-PNP ports

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: PCB-PORTS-STAGGED-SRVC
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <LAN1>
bridge port-type providerNetworkPort
switchport ingress-filter
shutdown
exit
interface <LAN2>
bridge port-type providerNetworkPort
switchport ingress-filter
shutdown

88 MN.00320.E - 013
exit
interface <RADIO>
bridge port-type providerNetworkPort
switchport ingress-filter
shutdown
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: PCB-PORTS-STAGGED-SRVC

The script defines:

• LAN1, LAN2 and Radio in Provider Network Port (PNP)

• Enable ingress filter on LAN1, LAN2, PORTA

PCB-PNP/S-Tagged service
#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: PCB-STAGGED-SRVC
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
vlan 100
ports <LAN1> <RADIO> name siae100
exit
vlan 200
ports <LAN2> <RADIO> name siae200
exit

# Use of EVC, PVID must be after VLAN section.


interface <LAN1>
no shutdown
exit
interface <LAN2>
no shutdown
exit
interface <RADIO>
no shutdown
exit
exit
#==============================================================================
# show interface bridge port-type
# show vlan
# show service vlan switch default
#==============================================================================
#CONTEXT-EXIT

MN.00320.E - 013 89
• Script name: PCB-STAGGED-SRVC

The scripts defines:

• LAN1 and Radio are member tagged of S-VLAN100

• LAN2 and Radio are member tagged of S-VLAN200.

6.8 QUALITY OF SERVICE

In this part are reported some scripts for the setting of priority type and priority values.

Some observations are necessary in order to understand and modify the scripts:

• The most important variable values are kept by "<>" in order to read the script more clearly

• <GEN_PORT> is the port where the setting is to be applied. It can be <LAN1>, <LAN2>, <RADIO>
or <ON_SITE> where:
ALFOplus80HD:

- <LAN1> = gigabitethernet 0/10

- <LAN2> = gigabitethernet 0/6


- <RADIO> = gigabitethernet 0/1

- <ON_SITE> = gigabitethernet 0/9


AGS-20:
- <LAN1> = gigabitethernet 0/9

- <LAN2> = gigabitethernet 0/10

- <RADIO> = gigabitethernet 0/6

- <ON_SITE> = gigabitethernet 0/3


ALFOplus2:

- <LAN1> = gigabitethernet 0/7


- <LAN2> = gigabitethernet 0/9

- <ON_SITE> = gigabitethernet 0/4.

The scripts for the priority configuration are in the following pages.

90 MN.00320.E - 013
PRIORITY MAP DEFAULT VALUES

As default Layer 2 PCP 802.1p is enable in each port.

8 default priority-map (from 1 to 8) are defined and applied to all interfaces. Default priority map can not
be removed but modified.

Default 802.1p PCP-queue mapping (defined by default priority-map from 1 to 8) is according to table be-
low.

Regen Priority (output queue)

0 1 2 3 4 5 6 7
0 

1 

2 
InPriority
3 
(802.1p)
4 

5 

6 

7 

Default IP DSCP-queue mapping

Regen Priority (output queue)

0 1 2 3 4 5 6 7

000xxx 

001xxx 

010xxx 
InPriority
011xxx 
(in DSCP)
100xxx 

101xxx 

110xxx 

111xxx 

6.8.1 Classification PCP

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-CLS-PCP
#
# Enable .1p and customize the map P-Bits/Queues
# Bridge/Vlan= Customer/C-VLAN or Provider/S-VLAN
# (basically the classification is done on the outer tag)
#
# Rev.0003
# (siae microelettronica)
################################################################+##############
#============================================================================

MN.00320.E - 013 91
interface <GEN_PORT>
qos pbit-preference enable
exit
priority-map 10
map interface <GEN_PORT> in-priority-type vlanPri in-priority 0 regen-priority 0
exit
priority-map 11
map interface <GEN_PORT> in-priority-type vlanPri in-priority 1 regen-priority 1
exit
priority-map 12
map interface <GEN_PORT> in-priority-type vlanPri in-priority 2 regen-priority 2
exit
priority-map 13
map interface <GEN_PORT> in-priority-type vlanPri in-priority 3 regen-priority 3
exit
priority-map 14
map interface <GEN_PORT> in-priority-type vlanPri in-priority 4 regen-priority 4
exit
priority-map 15
map interface <GEN_PORT> in-priority-type vlanPri in-priority 5 regen-priority 5
exit
priority-map 16
map interface <GEN_PORT> in-priority-type vlanPri in-priority 6 regen-priority 6
exit
priority-map 17
map interface <GEN_PORT> in-priority-type vlanPri in-priority 7 regen-priority 7
exit
exit
#show priority-map
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-CLS-PCP

The 802.1p (Layer2) priority takes precedence over DSCP (Layer3) and maps the 802.1p priority values in
the 8 relevant queues.

The script enters a classifier (10, 11, 12, 13, 14, 15, 16, 17) for 802.1p priority values 0, 1, 2, 3, 4, 5, 6, 7.

The classification is done on the outer tag and so the relation Bridge/Vlan can be Customer/C-VLAN or Pro-
vider/S-VLAN.

6.8.2 Classification DSCP

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-CLS-DSCP
#
# Enable DSCP and customize the map DSCP values/Queues
# Bridge/Vlan =Customer/C-VLAN or Provider/S-VLAN
# (basically the classification is done on the outer tag)
#

92 MN.00320.E - 013
# Rev.0003
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <GEN_PORT>
qos pbit-preference disable
exit
priority-map 20
# in-priority = 0 = CS0, regen-priority = 0 = IP Precedence.
map interface <GEN_PORT> in-priority-type ipDscp in-priority 0 regen-priority 0
exit
priority-map 21
# in-priority = 8 = CS1, regen-priority = 1 = IP Precedence.
map interface <GEN_PORT> in-priority-type ipDscp in-priority 8 regen-priority 1
exit
priority-map 22
# in-priority = 16 = CS2, regen-priority = 2 = IP Precedence.
map interface <GEN_PORT> in-priority-type ipDscp in-priority 16 regen-priority 2
exit
priority-map 23
# in-priority = 24 = CS3, regen-priority = 3 = IP Precedence.
map interface <GEN_PORT> in-priority-type ipDscp in-priority 24 regen-priority 3
exit
priority-map 24
# in-priority = 32 = CS4, regen-priority = 4 = IP Precedence.
map interface <GEN_PORT> in-priority-type ipDscp in-priority 32 regen-priority 4
exit
priority-map 25
# in-priority = 40 = CS5, regen-priority = 5 = IP Precedence.
map interface <GEN_PORT> in-priority-type ipDscp in-priority 40 regen-priority 5
exit
priority-map 26
# in-priority = 48 = CS6, regen-priority = 6 = IP Precedence.
map interface <GEN_PORT> in-priority-type ipDscp in-priority 48 regen-priority 6
exit
priority-map 27
# in-priority = 56 = CS7, regen-priority = 7 = IP Precedence.
map interface <GEN_PORT> in-priority-type ipDscp in-priority 56 regen-priority 7
exit
exit
#show priority-map
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-CLS-DSCP

The DSCP (Layer3) priority takes precedence over 802.1p (Layer2) and maps the e.g. 0, 7, 15, 23, 31, 39,
47, 63 DSCP priority values in the 8 queues.
Enter a classifier (e.g. 20, 21, 22, 23, 24, 25, 26, 27) for e.g. 0, 7, 15, 23, 31, 39, 47, 63 DSCP priority
only.

The classification is done on the outer tag and so the relation Bridge/Vlan can be Customer/C-VLAN or Pro-
vider/S-VLAN.

MN.00320.E - 013 93
6.8.3 Classification perPORT

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-CLS-PRT
#
# Force all the packets coming from a certain port to a specific queue
# Bridge= Customer or Provider
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <MAC_ACC_LIST_NUM>
permit any any
exit
interface <GEN_PORT>
mac access-group <MAC_ACC_LIST_NUM> in
exit
class-map <CLASS_NUM>
set class <CLASS_ID> regen-priority 7 group-name def_prio_7
match access-group mac-access-list <MAC_ACC_LIST_NUM>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-CLS-PRT

Force all the packets coming from a certain port <GEN_PORT> to a specific priority (priority 7 in the ex-
ample).
Bridge mode = Customer or Provider.

6.8.4 Classification per(PORT&VLAN)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-CLS-PRTVLAN
#
# Force all the packets coming from a certain port and having a spefic
# outer vlan id to a specific queue.
# Bridge mode: Provider
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <MAC_ACC_LIST_NUM>

94 MN.00320.E - 013
permit any any svlan-id 100
exit
interface <GEN_PORT>
mac access-group <MAC_ACC_LIST_NUM> in
exit
class-map <CLASS_NUM>
set class <CLASS_ID> regen-priority 7 group-name def_prio_7
match access-group mac-access-list <MAC_ACC_LIST_NUM>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-CLS-PRTVLAN


Force all the packets coming from a certain port and having a specific outer vlan id to a specific priority.
Bridge mode = Provider

6.8.5 Classification per (PORT & MPLS-EXP)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-CLS-PRT_EXP
#
# Force all mpls packets coming from a certain port and having a spefic
# mpls-exp to a specific queue.
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <MAC_ACC_LIST_NUM>
permit any any priority 1 mpls-exp 7
exit
interface <GEN_PORT>
mac access-group <MAC_ACC_LIST_NUM> in
exit
class-map <CLASS_NUM>
set class <CLASS_ID> regen-priority 7 group-name siae
match access-group mac-access-list <MAC_ACC_LIST_NUM>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-CLS-PRT-EXP

Force all MPLS packet coming from a certain port and having a specific MPLS-EXP to a specific queue.

MN.00320.E - 013 95
6.8.6 Classification per (Port & MPLS & IPV4-DSCP) (IPv4oMPLS frame)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-CLS-PRT_EXP_v4DSCP
#
# Force all mpls-ipv4 packets coming from a certain port and having a spefic
# mpls-exp and ipv4-dscp to a specific queue.
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <MAC_ACC_LIST_NUM>
# DSCP AF22 (dec.20)
permit any any priority 1 ip-over-mpls ip-type ipv4 dscp af22 mpls-exp 3
exit
interface <GEN_PORT>
mac access-group <MAC_ACC_LIST_NUM> in
exit
class-map <CLASS_NUM>
set class <CLASS_ID> regen-priority 7 group-name siae
match access-group mac-access-list <MAC_ACC_LIST_NUM>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-CLS-PRT-MPLS-V4DSCP


Force all MPLS-IPv4 packets coming from a certain port and having a specific IPv4-DSCP to a specific
queue.

6.8.7 Classification per (Port & MPLS & IPv6-DSCP) (IPv6oMPLS frame)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-CLS-PRT_MPLS_v6DSCP
#
# Force all mpls-ipv6 packets coming from a certain port and having a spefic
# ipv6-dscp to a specific queue.
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <MAC_ACC_LIST_NUM>
# DSCP AF22 (dec.20)

96 MN.00320.E - 013
permit any any priority 1 ip-over-mpls ip-type ipv6 dscp af22
exit
interface <GEN_PORT>
mac access-group <MAC_ACC_LIST_NUM> in
exit
class-map <CLASS_NUM>
set class <CLASS_ID> regen-priority 7 group-name siae
match access-group mac-access-list <MAC_ACC_LIST_NUM>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-CLS-PRT-MPLS-V6DSCP


Force all MPLS-IPv6 packets coming from a certain port and having a specific IPv6-DSCP to a specific
queue.

6.8.8 Policing & Ingress filtering (CB CVLAN Meter trTCM cBlind)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-POLINF-CB-CVLAN-Meter_trTCM_cBlind
#
# CIR/EIR on a Customer Bridge and C-VLAN only.
# - ‘de-transmit-set’ option can only be
# applied in case of ‘mac access-group’ out.
#
# “<SET-TRANSMIT>” = “cos-transmit-set 1”
#
# Rev.0006
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <MAC_ACC_LIST_NUM>
permit any any vlan 100 single-tag
exit
interface <GEN_PORT>
mac access-group <MAC_ACC_LIST_NUM> in
exit
class-map <CMAP_NUM>
set class <CLASS_ID>
match access-group mac-access-list <MAC_ACC_LIST_NUM>
exit
meter <METER_NUM>
# NOTE: Must be: cbs < ebs.
#--------------- Kbps -- Kbit -- Kbps -- Kbit
meter-type trTCM cir 100 cbs 100 pir 200 ebs 200
exit
policy-map 10

MN.00320.E - 013 97
#change the .1P value to 1 for yellow packets
#AND drop red packets (green ones unchanged)
set meter <METER_NUM> exceed-action <SET-TRANSMIT> violate-action drop
set policy class <CLASS_ID>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-POLINF-CB-CVLAN-Meter_trTCM_cBlind

For the port <GEN_PORT> and a CVLAN (CVLAN 100 in the script, editable) sets the CIR/PIR CBS/EBS on
a Prov/Cust Bridge and Ingress Port.

Red packets are dropped.

In the script are set default values (edit if necessary).

PIR and EBS have to be considered as maximum Input rate and maximum Burst size.

The rule has to be repeated for all the <GEN_PORT> that need to be set.

6.8.9 Policing & ingress filtering (CB CVLAN&Pri Meter trTCM cBlind)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-POLINF-CB-CVLAN&Pri-Meter_trTCM_cBlind
#
# CIR/EIR on a Customer Bridge and C-VLAN+Prio.
# - ‘de-transmit-set’ option can only be
# applied in case of ‘mac access-group’ out.
#
# “<SET-TRANSMIT>” = “cos-transmit-set 1”
#
# Rev.0006
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <MAC_ACC_LIST_NUM>
permit any any vlan 100 cvlan-priority 7 single-tag
exit
interface <GEN_PORT>
mac access-group <MAC_ACC_LIST_NUM> in
exit
class-map <CMAP_NUM>
set class <CLASS_ID>
match access-group mac-access-list <MAC_ACC_LIST_NUM>
exit
meter <METER_NUM>
# NOTE: Must be: cbs < ebs.
#--------------- Kbps -- Kbit -- Kbps -- Kbit
meter-type trTCM cir 100 cbs 100 pir 200 ebs 200
exit

98 MN.00320.E - 013
policy-map 10
#change the .1P value to 1 for yellow packets
#AND drop red packets (green ones unchanged)
set meter <METER_NUM> exceed-action <SET-TRANSMIT> violate-action drop
set policy class <CLASS_ID>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-POLINF-CB-CVLAN&Pri-Meter_trTCM_cBlind

For the port <GEN_PORT> and a CVLAN and a priority (CVLAN 100 and priority 7 in the script, editable)
sets the CIR/PIR CBS/EBS on a Customer Bridge and Ingress Port with also red-drop and yellow-drop con-
dition.

The script is an example (edit if necessary).

PIR and EBS have to be considered as maximum Input rate and maximum Burst size.

The rule has to be repeated for all the <GEN_PORT> that need to be set.

6.8.10 Policing & ingress filtering (PB CVLAN Meter trTCM cBlind)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-POLINF-PB-CVLAN-Meter_trTCM_cBlind
#
# CIR/EIR on a Provider Bridge and C-VLAN.
# - ‘de-transmit-set’ option can only be
# applied in case of ‘mac access-group’ out.
#
# “<SET-TRANSMIT>” = “cos-transmit-set 1”
#
# Rev.0006
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <MAC_ACC_LIST_NUM>
permit any any vlan 100 double-tag
exit
interface <GEN_PORT>
mac access-group <MAC_ACC_LIST_NUM> in
exit
class-map <CMAP_NUM>
set class <CLASS_ID>
match access-group mac-access-list <MAC_ACC_LIST_NUM>
exit
meter <METER_NUM>
# NOTE: Must be: cbs < ebs.
#--------------- Kbps -- Kbit -- Kbps -- Kbit
meter-type trTCM cir 100 cbs 100 pir 200 ebs 200

MN.00320.E - 013 99
exit
policy-map 10
#change the .1P value to 1 for yellow packets
#AND drop red packets (green ones unchanged)
set meter <METER_NUM> exceed-action <SET-TRANSMIT> violate-action drop
set policy class <CLASS_ID>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-POLINF-PB-CVLAN-Meter_trTCM_cBlind

For the port <GEN_PORT> and a CVLAN (CVLAN 100 in the script, editable) sets the CIR/PIR CBS/EBS on
a Provider Bridge and Ingress Port.

Red packets are dropped.

The script is an example (edit if necessary).

PIR and EBS have to be considered as maximum Input rate and maximum Burst size.

The rule has to be repeated for all the <GEN_PORT> that need to be set.

6.8.11 Policing & ingress filtering (PB CVLAN&Pri Meter trTCM cBlind)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-POLINF-PB-CVLAN&Pri-Meter_trTCM_cBlind
#
# CIR/EIR on a Provider Bridge and C-VLAN+C-Prio.
# - ‘de-transmit-set’ option can only be
# applied in case of ‘mac access-group’ out.
#
# “<SET-TRANSMIT>” = “cos-transmit-set 1”
#
# Rev.0006
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <MAC_ACC_LIST_NUM>
permit any any vlan 100 cvlan-priority 7 double-tag
exit
interface <GEN_PORT>
mac access-group <MAC_ACC_LIST_NUM> in
exit
class-map <CMAP_NUM>
set class <CLASS_ID>
match access-group mac-access-list <MAC_ACC_LIST_NUM>
exit
meter <METER_NUM>
# NOTE: Must be: cbs < ebs.
#--------------- Kbps -- Kbit -- Kbps -- Kbit

100 MN.00320.E - 013


meter-type trTCM cir 100 cbs 100 pir 200 ebs 200
exit
policy-map 10
#change the .1P value to 1 for yellow packets
#AND drop red packets (green ones unchanged)
set meter <METER_NUM> exceed-action <SET-TRANSMIT> violate-action drop
set policy class <CLASS_ID>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-POLINF-PB-CVLAN&Pri-Meter_trTCM_cBlind

For the port <GEN_PORT> and a CVLAN and a priority (CVLAN 100 and priority 7 in the script, editable)
sets the CIR/PIR CBS/EBS on a Provider Bridge and Ingress Port. Red packets are dropped. The script is
an example (edit if necessary).

PIR and EBS have to be considered as maximum Input rate and maximum Burst size.

The rule has to be repeated for all the <GEN_PORT> that need to be set.

6.8.12 Policing & ingress filtering (PB SVLAN Meter trTCM cBlind)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-POLINF-PB-SVLAN-Meter_trTCM_cBlind
#
# CIR/EIR on a Provider Bridge and S-VLAN.
# - ‘de-transmit-set’ option can only be
# applied in case of ‘mac access-group’ out.
#
# “<SET-TRANSMIT>” = “cos-transmit-set 1”
#
# Rev.0005
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <MAC_ACC_LIST_NUM>
permit any any svlan-id 100
exit
interface <GEN_PORT>
mac access-group <MAC_ACC_LIST_NUM> in
exit
class-map <CMAP_NUM>
set class <CLASS_ID>
match access-group mac-access-list <MAC_ACC_LIST_NUM>
exit
meter <METER_NUM>
# NOTE: Must be: cbs < ebs.
#--------------- Kbps -- Kbit -- Kbps -- Kbit
meter-type trTCM cir 100 cbs 100 pir 200 ebs 200

MN.00320.E - 013 101


exit
policy-map 10
#change the .1P value to 1 for yellow packets
#AND drop red packets (green ones unchanged)
set meter <METER_NUM> exceed-action <SET-TRANSMIT> violate-action drop
set policy class <CLASS_ID>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-POLINF-PB-SVLAN-Meter_trTCM_cBlind

For the port <GEN_PORT> and a SVLAN (SVLAN 100 in the script, editable) sets the CIR/PIR CBS/EBS on
a Provider Bridge and Ingress Port.

Red packets are dropped.

The script is an example (edit if necessary).

PIR and EBS have to be considered as maximum Input rate and maximum Burst size.

The rule has to be repeated for all the <GEN_PORT> that need to be set.

6.8.13 Policing & ingress filtering (PB SVLAN&Pri Meter trTCM cBlind)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-POLINF-PB-SVLAN&Pri-Meter_trTCM_cBlind
#
# CIR/EIR on a Provider Bridge and S-VLAN+S-Prio.
# - ‘de-transmit-set’ option can only be
# applied in case of ‘mac access-group’ out.
#
# “<SET-TRANSMIT>” = “cos-transmit-set 1”
#
# Rev.0006
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <MAC_ACC_LIST_NUM>
permit any any svlan-id 100 svlan-priority 7
exit
interface <GEN_PORT>
mac access-group <MAC_ACC_LIST_NUM> in
exit
class-map <CMAP_NUM>
set class <CLASS_ID>
match access-group mac-access-list <MAC_ACC_LIST_NUM>
exit
meter <METER_NUM>
# NOTE: Must be: cbs < ebs.
#--------------- Kbps -- Kbit -- Kbps -- Kbit

102 MN.00320.E - 013


meter-type trTCM cir 100 cbs 100 pir 200 ebs 200
exit
policy-map 10
#change the .1P value to 1 for yellow packets
#AND drop red packets (green ones unchanged)
set meter <METER_NUM> exceed-action <SET-TRANSMIT> violate-action drop
set policy class <CLASS_ID>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-POLINF-PB-SVLAN&Pri-Meter_trTCM_cBlind

For the port <GEN_PORT> and a SVLAN and a priority (SVLAN 100 and priority 7 in the script, editable)
sets the CIR/PIR CBS/EBS on a Provider Bridge and Ingress Port. Red packets are dropped.

The script is an example (edit if necessary).

PIR and EBS have to be considered as maximum Input rate and maximum Burst size.

The rule has to be repeated for all the <GEN_PORT> that need to be set.

6.8.14 Policing & ingress filtering (PB SVLAN&CVLAN Meter trTCM cBlind)

#CONTEXT-ENTRY

configure terminal
#CONTEXT::SM-OS(config)#

###############################################################################

# Script name: APP-POLINF-PB-SVLAN&CVLAN-Meter_trTCM_cBlind

# CIR/EIR on a Provider Bridge and S-VLAN+C-VLAN.

# - ‘de-transmit-set’ option can only be


# applied in case of ‘mac access-group’ out.

# “<SET-TRANSMIT>” = “cos-transmit-set 1”

# Rev.0006

# (siae microelettronica)

################################################################+##############

#============================================================================

mac access-list extended <MAC_ACC_LIST_NUM>


permit any any vlan 200 svlan-id 100 double-tag

exit

interface <GEN_PORT>

mac access-group <MAC_ACC_LIST_NUM> in

exit

class-map <CMAP_NUM>

set class <CLASS_ID>

MN.00320.E - 013 103


match access-group mac-access-list <MAC_ACC_LIST_NUM>

exit

meter <METER_NUM>

# NOTE: Must be: cbs < ebs.


#--------------- Kbps -- Kbit -- Kbps -- Kbit

meter-type trTCM cir 100 cbs 100 pir 200 ebs 200

exit

policy-map 10

#change the .1P value to 1 for yellow packets

#AND drop red packets (green ones unchanged)

set meter <METER_NUM> exceed-action <SET-TRANSMIT> violate-action drop

set policy class <CLASS_ID>

exit

exit
#==============================================================================

#CONTEXT-EXIT

• Script name: APP-POLINF-PB-SVLAN&CVLAN-Meter_trTCM_cBlind

For the port <GEN_PORT> and a SVLAN and a CVLAN (CVLAN200 and SVLAN 100 in the script, editable)
sets the CIR/PIR CBS/EBS on a Provider Bridge and Ingress Port. Red packets are dropped.
The script is an example (edit if necessary).

PIR and EBS have to be considered as maximum Input rate and maximum Burst size.

The rule has to be repeated for all the <GEN_PORT> that need to be set.

6.8.15 Policing & ingress filtering (srcMacBased)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-POLINF-srcMacBASED
#
# To permit the access only to a certain src mac (on a certain port)
# ------------------------------------------------------------------
# PLEASE NOTE THAT THE 'DENY' PRIO IS LOWER THAN THE 'PERMIT' ONES
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
mac access-list extended <DENY_NUM>
deny any any priority 1
exit
mac access-list extended <PERMIT_NUM1>
permit host 00:90:90:90:09:09 any priority 2
exit
mac access-list extended <PERMIT_NUM2>

104 MN.00320.E - 013


permit host 00:90:90:90:09:0a any priority 2
exit
interface <GEN_PORT>
mac access-group <DENY_NUM> in
mac access-group <PERMIT_NUM1> in
mac access-group <PERMIT_NUM2> in
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-POLINF-PB-srcMacBASED

The purpose of this script is to permit the access only to a certain src mac (on port <GEN_PORT>).

In this case the 'deny' priority is lower than the 'permit' priority. Source MAC address must be inserted one
by one.

The rule has to be repeated for all the <GEN_PORT> that need to be set.

6.8.16 Congestion avoidanceE Tail-Drop

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-CNG-TD
#
# Set the tail drop on a certain queue (it is the default algo)
# Rev.0002
# (siae microelettronica)
################################################################+##############
#============================================================================
queue-type <Q_ALGO_NUM>
set algo-type tailDrop
exit
queue 1 interface <GEN_PORT> qtype <Q_ALGO_NUM>
end
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-CNG-TD

For the port <GEN_PORT> sets the queue drop algorithm as tail drop (default). Generally set for most of
the queue. To be repeated for all the queues that need to be set.

6.8.17 Congestion avoidance WRED

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################

MN.00320.E - 013 105


# Script name: APP-CNG-WRED
#
# WRED: Drop Profiles -> Colors & Traffic Types:
# ----------------------------------------------
# DP 0: TCP green packets.
# DP 1: TCP yellow packets.
# DP 2: Reserved.
# DP 3: non-TCP green packets.
# DP 4: non-TCP yellow packets.
# DP 5: Reserved.
#
# Rev.0004
# (siae microelettronica)
################################################################+##############
#============================================================
# Egress Queue <- 'WRED Queue Template' dis-association:
# 'qtype 1' acts as 'trash qtype'.
queue 1 interface <GEN_PORT> qtype 1
queue 2 interface <GEN_PORT> qtype 1
queue 3 interface <GEN_PORT> qtype 1
queue 4 interface <GEN_PORT> qtype 1
queue 5 interface <GEN_PORT> qtype 1
queue 6 interface <GEN_PORT> qtype 1
queue 7 interface <GEN_PORT> qtype 1
queue 8 interface <GEN_PORT> qtype 1
# Delete 'WRED Queue Template':
queue-type 10
set algo-type wred queue-drop-algo disable
no random-detect dp 0; no random-detect dp 1
no random-detect dp 3; no random-detect dp 4
exit

#============================================================
# Create 'WRED Queue Template':
queue-type 10
#-------------------------------------------------
# - min & max thres. range: 1-50000.
# - MPD=mark-probability-denominator.
# - MDP=max-drop-probability.
# - MPD acts as MDP: (1..50..100)%
#-------------------------------------------------
# All traffic is WRED processed:
# 1.non-TCP traffic:
random-detect dp 4 min-threshold 6500 max-threshold 7800 mark-probability-denominator
65
random-detect dp 3 min-threshold 10400 max-threshold 11700 mark-probability-denominator
50
# 2.TCP traffic:
random-detect dp 1 min-threshold 6500 max-threshold 7800 mark-probability-denominator
65
random-detect dp 0 min-threshold 10400 max-threshold 11700 mark-probability-denominator
50
#-------------------------------------------------
set algo-type wred queue-drop-algo enable

106 MN.00320.E - 013


exit
# Egress Queue <- 'WRED Queue Template' association:
queue 1 interface <GEN_PORT> qtype 10
queue 2 interface <GEN_PORT> qtype 10
queue 3 interface <GEN_PORT> qtype 10
queue 4 interface <GEN_PORT> qtype 10
queue 5 interface <GEN_PORT> qtype 10
queue 6 interface <GEN_PORT> qtype 10
queue 7 interface <GEN_PORT> qtype 10
queue 8 interface <GEN_PORT> qtype 10
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-CNG-WRED

For the port <GEN_PORT> sets the queue drop algorithm as WRED. To be repeated for all the queues that
need to be set.

Congestion avoidance WRED (UNDO)


#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#################################################################
# Script name: APP-CNG-WRED(undo)
#
# WRED: Drop Profiles -> Colors & Traffic Types:
# ----------------------------------------------
# DP 0: TCP green packets.
# DP 1: TCP yellow packets.
# DP 2: Reserved.
# DP 3: non-TCP green packets.
# DP 4: non-TCP yellow packets.
# DP 5: Reserved.
#
# Rev.0003
# (siae microelettronica)
################################################################+
#============================================================
# Egress Queue <- 'WRED Queue Template' dis-association:
# 'qtype 1' acts as 'trash qtype'.
queue 1 interface <GEN_PORT> qtype 1
queue 2 interface <GEN_PORT> qtype 1
queue 3 interface <GEN_PORT> qtype 1
queue 4 interface <GEN_PORT> qtype 1
queue 5 interface <GEN_PORT> qtype 1
queue 6 interface <GEN_PORT> qtype 1
queue 7 interface <GEN_PORT> qtype 1
queue 8 interface <GEN_PORT> qtype 1
# Delete 'WRED Queue Template':
queue-type 10
set algo-type wred queue-drop-algo disable
no random-detect dp 0; no random-detect dp 1

MN.00320.E - 013 107


no random-detect dp 3; no random-detect dp 4
exit
exit
#=================================================================
#CONTEXT-EXIT

• Script name: APP-CNG-WRED (UNDO)

The script disables WRED queue template.

6.8.18 Scheduling SP (Strict-Priority)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-SCH-SP
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
scheduler 1 interface <GEN_PORT> sched-algo strict-priority
end
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-SCH-SP

For the port <GEN_PORT> sets the packet scheduling algorithm as strict priority.

6.8.19 Scheduling WRR (Weight Round-Robin)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-SCH-WRR
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
scheduler 1 interface <GEN_PORT> sched-algo wrr
queue 1 interface <GEN_PORT> weight 1
queue 2 interface <GEN_PORT> weight 2
queue 3 interface <GEN_PORT> weight 3
queue 4 interface <GEN_PORT> weight 4
queue 5 interface <GEN_PORT> weight 5
queue 6 interface <GEN_PORT> weight 6

108 MN.00320.E - 013


queue 7 interface <GEN_PORT> weight 7
queue 8 interface <GEN_PORT> weight 8
end
#==============================================================================

• Script name: APP-SCH-WRR

For the port <GEN_PORT> sets the packet scheduling algorithm as weighted round-robin with weight e.g.
8, 7, 6, 5, 4, 3, 2, 1 (values 1÷127) for queues 8, 7, 6, 5, 4, 3, 2, 1.

6.8.20 Scheduling SP+WRR

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-SCH-SPWRR
#
# queue 8..5> SP part.
# queue 4..1> WRR part.
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
scheduler 1 interface <GEN_PORT> sched-algo wrr
queue 8 interface <GEN_PORT> weight 0
queue 7 interface <GEN_PORT> weight 0
queue 6 interface <GEN_PORT> weight 0
queue 5 interface <GEN_PORT> weight 0
queue 4 interface <GEN_PORT> weight 4
queue 3 interface <GEN_PORT> weight 3
queue 2 interface <GEN_PORT> weight 2
queue 1 interface <GEN_PORT> weight 1
end
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-SCH-SPWRR


For the port <GEN_PORT> sets the packet scheduling algorithm as strict priority for queues 8, 7, 6, 5 and
as weighted round-robin with weight e.g. 4, 3, 2, 1 (values 1÷127) for queues 4, 3, 2, 1.

6.8.21 Scheduling RR (Round-Robin)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-SCH-RR
#

MN.00320.E - 013 109


# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
#RR Scheduling: WRR + all same weigths.
scheduler 1 interface <GEN_PORT> sched-algo wrr
queue 1 interface <GEN_PORT> weight 1
queue 2 interface <GEN_PORT> weight 1
queue 3 interface <GEN_PORT> weight 1
queue 4 interface <GEN_PORT> weight 1
queue 5 interface <GEN_PORT> weight 1
queue 6 interface <GEN_PORT> weight 1
queue 7 interface <GEN_PORT> weight 1
queue 8 interface <GEN_PORT> weight 1
end
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-SCH-RR

For the port <GEN_PORT> sets the packet scheduling algorithm as round-robin with same weight 1 for all
the queue. The user can edit the weights according his needs.

6.8.22 Shaping perPort

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-SHP-PRT
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <GEN_PORT>
#(kbps)
rate-limit output rate-value 10000 burst-value 10000
exit
end
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-SHP-PRT

The purpose of this script is to apply the shaping that is the rate limit at the output port with 1st value as
max rate (kbps) and the 2nd value as max burst size (kbp).

To be repeated for all the <GEN_PORT> that need to be set.

110 MN.00320.E - 013


6.8.23 Shaping perQUEUE

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-SHP-QUE
#
# Rev.0003
# (siae microelettronica)
################################################################+##############
#============================================================================
#(kbps)
shape-template <SHAPE_TEMP_NUM> cir 100 pir 200
queue 1 interface <GEN_PORT> shaper <SHAPE_TEMP_NUM>
end
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-SHP-QUE

The purpose of this script is to apply the shape template <SHAPE_TEMP_NUM> with a defined CIR/PIR to
the scheduler (1, in this example) of <GEN_PORT> port.
To be repeated for all the schedulers that need to be set.

6.8.24 Storm Control

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: APP-STR
#
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <GEN_PORT>
storm-control broadcast level 100
storm-control multicast level 100
storm-control dlf level 100
exit
end
#==============================================================================
#CONTEXT-EXIT

• Script name: APP-STR


The purpose of this script is to set a limit for Broadcast packets, Multicast packets and Unicast (destination
lookup failure) packets as input of <GEN_PORT> port. The numbers are total number of packets per sec-
onds.

To be repeated for all the <GEN_PORT> that need to be set.

MN.00320.E - 013 111


6.8.25 Hierarchical QoS - perSCHEMA Approach

The feature Hierarchical QoS is available from:

• AGS-20 N31030 01.08.00

• ALFOplus80HD N40052 01.07.00

Figure - Reference
4x8 - SCHEDULERS x QUEUES - SCHEMA

#############################################################################
# DEFAULT CONFIGURATION
# ---------------------
# H-LVLs: 4th 3rd 2nd 1st
# REMAP L2 L1 L0 P0
# |P| > Q1 ======== SP
# VLAN |b| > : : : +---(1)
# GRP4 |i| > : : : | 4 |--
# |t| > : : : +---+ \
# |s| > Q8 ======== \
# |
# |P| > Q9 ======== SP |
# VLAN |b| > : : : +---(1) |
# GRP5 |i| > : : : | 5 |-- |
# |t| > : : : +---+ \ |WDRR
# |s| > Q16 ======== +---+
# | 1 |--
# |P| > Q17 ======== SP +---+ \
# VLAN |b| > : : : +---(1)/ | \
# GRP6 |i| > : : : | 6 |-- | |
# |t| > : : : +---+ | |LO-SP
# |s| > Q24 ======== | +---+
# | | 0 |- - - >[PORT]
# |P| > Q25 ======== SP / +---+
# VLAN |b| > : : : +---(1)/ |HI-SP
# GRP7 |i| > : : : | 7 |-- |
# |t| > : : : +---+ |
# |s| > Q32 ======== /
# +---+ /
# GOLD| 2 |--
# |P| > Q33 ======== SP +---+
# VLAN |b| > : : : +---(1)/ WDRR (emul.SP)
# GRP3 |i| > : : : | 3 |--
# |t| > : : : +---+
# |s| > Q40 ========
#
#############################################################################

Declare a perPort 4x8 (Schedulers x Queues) Schema

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-SCH4x8-ADM
#

112 MN.00320.E - 013


# Rev.0001
# (siae microelettronica)
##############################################################+################
hierarchical-scheduler interface <PORT> schema hqos-schema4x8
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-SCH4x8-ADM

Apply a perPort 4x8 Schema

#CONTEXT-ENTRY
###############################################################################
# Script name: HQOS-SCH4x8-OPR
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
reload
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-SCH4x8-OPR

Declare a HQoS map: VLAN Templates and no-form

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-MAP-VLAN
#
# NOTE
# - qos vlan-map allows 1 vlanId only.
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
# STD
qos vlan-map 10; map vlan <VLANx>; exit
qos vlan-map 11; map vlan <VLANy>; exit
qos vlan-map 12; map vlan <VLANw>; exit
qos vlan-map 13; map vlan <VLANz>; exit
#-----------------------------------------------------------
# GOLD
qos vlan-map 20; map vlan <gVLAN>; exit
qos vlan-map 21; map vlan <gMNGT>; exit

exit
#==============================================================================

MN.00320.E - 013 113


#CONTEXT-EXIT

• Script name: HQOS-MAP-VLAN

NO-FORM

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-MAP-VLAN-NO
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
no qos vlan-map <VLAN-MAP-ID>

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-MAP-VLAN-NO

Declare a HQoS map: vlanPCP Templates and no-form

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-MAP-PCP
#
# NOTE
# - This Pbits remapping function acts as example only.
# - A full map or a single entry implementing the default
# Que = Pbits + 1
# can not be declared. So:
# - Only remap exceptions can be declared inside the map.
#
# Que = (8 - pcp)
# --------------------
# Q
# P 1 2 3 4 5 6 7 8
# 0 x
# 1 x
# 2 x
# 3 x
# 4 x
# 5 x
# 6 x
# 7 x
#
# Rev.0001

114 MN.00320.E - 013


# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
scheduler-priority-map <Ix>
map in-priority-type vlanPri in-priority 7 queue-id 1
map in-priority-type vlanPri in-priority 6 queue-id 2
map in-priority-type vlanPri in-priority 5 queue-id 3
map in-priority-type vlanPri in-priority 4 queue-id 4
map in-priority-type vlanPri in-priority 3 queue-id 5
map in-priority-type vlanPri in-priority 2 queue-id 6
map in-priority-type vlanPri in-priority 1 queue-id 7
map in-priority-type vlanPri in-priority 0 queue-id 8
exit

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-MAP-PCP

NO-FORM (selected PCP)

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-MAP-PCP1-NO
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
scheduler-priority-map <Ix>
no map in-priority-type vlanPri in-priority <PRIx>
no map in-priority-type vlanPri in-priority <PRIy>
exit

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-MAP-PCP1-NO

NO-FORM (PCP-MAP)

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-MAP-PCP8-NO
#
# Rev.0001
# (siae microelettronica)

MN.00320.E - 013 115


##############################################################+################
#-----------------------------------------------------------
no scheduler-priority-map <Ix>

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-MAP-PCP8-NO

Declare a HQoS map: VLAN + vlanPCP Templates and no-form

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-MAP-VLAN-PCP
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
# STD
qos vlan-map 10; map vlan <VLANx> scheduler-priority-map <Ix> scheduler-priority-type
vlanPri; exit
qos vlan-map 11; map vlan <VLANy> scheduler-priority-map <Iy> scheduler-priority-type
vlanPri; exit
qos vlan-map 12; map vlan <VLANw> scheduler-priority-map <Iw> scheduler-priority-type
vlanPri; exit
qos vlan-map 13; map vlan <VLANx> scheduler-priority-map <Iz> scheduler-priority-type
vlanPri; exit
#-----------------------------------------------------------
# GOLD
qos vlan-map 20; map vlan <gVLAN> scheduler-priority-map <Ix> scheduler-priority-type
vlanPri; exit
qos vlan-map 21; map vlan <gMNGT> scheduler-priority-map <Ix> scheduler-priority-type
vlanPri; exit

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-MAP-VLAN-PCP

NO-FORM (PRI-MAP only)

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-MAP-VLAN-PRI-NO
#
# Rev.0001
# (siae microelettronica)

116 MN.00320.E - 013


##############################################################+################
#-----------------------------------------------------------
qos vlan-map 10; no scheduler-priority-map; exit

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-MAP-VLAN-PRI-NO

NO-FORM (VLAN-MAP) - see script: HQOS-MAP-VLAN-NO

Declare a HQoS map: Shape Templates and no-form

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-MAP-SHAPE
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
# STD
shape-template 10 cir <Kbps1> pir <Kbps1>
shape-template 11 cir <Kbps2> pir <Kbps2>
shape-template 12 cir <Kbps3> pir <Kbps3>
shape-template 13 cir <Kbps4> pir <Kbps4>
#-----------------------------------------------------------
# GOLD
shape-template 20 cir <KbpsG> pir <KbpsG>
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-MAP-SHAPE

NO-FORM

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-MAP-SHAPE-NO
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
no shape-template <Ix>
exit

MN.00320.E - 013 117


#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-MAP-SHAPE-NO

Apply a HQoS VLAN map to schedulers and no-form

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-SCHED-VLANMAP
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
# STD
scheduler 4 interface <PORT> vlan-map 10
scheduler 5 interface <PORT> vlan-map 11
scheduler 6 interface <PORT> vlan-map 12
scheduler 7 interface <PORT> vlan-map 13
#-----------------------------------------------------------
# GOLD
scheduler 3 interface <PORT> vlan-map 20
scheduler 3 interface <PORT> vlan-map 21

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-SCHED-VLANMAP

NO-FORM

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-SCHED-VLANMAP-NO
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
no scheduler <Ix> interface <PORT> vlan-map <Iy>

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-SCHED-VLANMAP-NO

118 MN.00320.E - 013


Apply a HQoS Shape map to schedulers and no-form

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-SCHED-SHAPE
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
# STD
scheduler 4 interface <PORT> shape 10
scheduler 5 interface <PORT> shape 11
scheduler 6 interface <PORT> shape 12
scheduler 7 interface <PORT> shape 13
#-----------------------------------------------------------
# GOLD
scheduler 3 interface <PORT> shape 20

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-SCHED-SHAPE

NO-FORM

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-SCHED-SHAPE-NO
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
scheduler <Ix> interface <PORT> shape 0

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-SCHED-SHAPE-NO

Change WRR weights @ L1-L0 schedulers stage

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-SCHED-L0-WGHT

MN.00320.E - 013 119


#
# 2nd LEVEL BW ALLOCATION
# -----------------------
# weight -> BW% allocation:
# BW%ofSch(4) = 1 / (1+2+3+4) => 10%
# BW%ofSch(5) = 2 / (1+2+3+4) => 20%
# BW%ofSch(6) = 3 / (1+2+3+4) => 30%
# BW%ofSch(7) = 4 / (1+2+3+4) => 40%
#
# BW%: The assured BW% in case of congestion.
# Additional BW% is available in case of non-congestion.
#
# NOTE
# A syntax constraint:
# - hierarchy-level “2” refers to L1 scheduler level.
# It is a constant value in the Schema.
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
sched-hierarchy interface <PORT> hierarchy-level 2 sched-id 4 weight 1
sched-hierarchy interface <PORT> hierarchy-level 2 sched-id 5 weight 2
sched-hierarchy interface <PORT> hierarchy-level 2 sched-id 6 weight 3
sched-hierarchy interface <PORT> hierarchy-level 2 sched-id 7 weight 4

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-SCHED-L0-WGHT

Set a full SP algo @ L2-L1 queues-scheduler stage

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-SCHED-L1-ALGO-SP
#
# 3rd LEVEL BW ALLOCATION (NESTED TO THE 2nd LEVEL)
# -------------------------------------------------
# L1-SP:
# traffic Que(i) stops Que(i-1)
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
scheduler 4 interface <PORT> sched-algo strict-priority
scheduler 5 interface <PORT> sched-algo strict-priority
scheduler 6 interface <PORT> sched-algo strict-priority
scheduler 7 interface <PORT> sched-algo strict-priority

exit

120 MN.00320.E - 013


#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-SCHED-L1-ALGO-SP

Set a full WRR algo and weights @ L2-L1 queues-scheduler stage

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS- SCHED-L1-ALGO-WRR
#
# 3rd LEVEL BW ALLOCATION (NESTED TO THE 2nd LEVEL)
# -------------------------------------------------
# weight -> BW% allocation:
# BW%ofQue(1) = 5 / (5+10+15+20+20+15+10+5) => 5%
# BW%ofQue(2) = 10 / (5+10+15+20+20+15+10+5) => 10%
# BW%ofQue(3) = 15 / (5+10+15+20+20+15+10+5) => 15%
# BW%ofQue(4) = 20 / (5+10+15+20+20+15+10+5) => 20%
# BW%ofQue(5) = 20 / (5+10+15+20+20+15+10+5) => 20%
# BW%ofQue(6) = 15 / (5+10+15+20+20+15+10+5) => 15%
# BW%ofQue(7) = 10 / (5+10+15+20+20+15+10+5) => 10%
# BW%ofQue(8) = 5 / (5+10+15+20+20+15+10+5) => 5%
#
# BW%: The assured BW% in case of congestion.
# Additional BW% is available in case of non-congestion.
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
scheduler 4 interface <PORT> sched-algo wrr
#-----------------------------------------------------------
queue 1 interface <PORT> weight 5
queue 2 interface <PORT> weight 10
queue 3 interface <PORT> weight 15
queue 4 interface <PORT> weight 20
queue 5 interface <PORT> weight 20
queue 6 interface <PORT> weight 15
queue 7 interface <PORT> weight 10
queue 8 interface <PORT> weight 5
#-----------------------------------------------------------
scheduler 5 interface <PORT> sched-algo wrr
#-----------------------------------------------------------
queue 9 interface <PORT> weight 5
queue 10 interface <PORT> weight 10
queue 11 interface <PORT> weight 15
queue 12 interface <PORT> weight 20
queue 13 interface <PORT> weight 20
queue 14 interface <PORT> weight 15
queue 15 interface <PORT> weight 10
queue 16 interface <PORT> weight 5

MN.00320.E - 013 121


#-----------------------------------------------------------
scheduler 6 interface <PORT> sched-algo wrr
#-----------------------------------------------------------
queue 17 interface <PORT> weight 5
queue 18 interface <PORT> weight 10
queue 19 interface <PORT> weight 15
queue 20 interface <PORT> weight 20
queue 21 interface <PORT> weight 20
queue 22 interface <PORT> weight 15
queue 23 interface <PORT> weight 10
queue 24 interface <PORT> weight 5
#-----------------------------------------------------------
scheduler 7 interface <PORT> sched-algo wrr
#-----------------------------------------------------------
queue 25 interface <PORT> weight 5
queue 26 interface <PORT> weight 10
queue 27 interface <PORT> weight 15
queue 28 interface <PORT> weight 20
queue 29 interface <PORT> weight 20
queue 30 interface <PORT> weight 15
queue 31 interface <PORT> weight 10
queue 32 interface <PORT> weight 5

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-SCHED-L1-ALGO-WRR

Set a SP + WRR algo and weights @ L2-L1 queues-scheduler stage

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-SCHED-L1-ALGO-MIX
#
# 3rd LEVEL BW ALLOCATION (NESTED TO THE 2nd LEVEL)
# -------------------------------------------------
# L1-SP:
# traffic Que(i) stops Que(i-1)
#
# L1-WRR:
# weight -> BW% allocation:
# BW%ofQue(q+1) = 5 / (5+10+15+20+20+15+10+5) => 5%
# BW%ofQue(q+2) = 10 / (5+10+15+20+20+15+10+5) => 10%
# BW%ofQue(q+3) = 15 / (5+10+15+20+20+15+10+5) => 15%
# BW%ofQue(q+4) = 20 / (5+10+15+20+20+15+10+5) => 20%
# BW%ofQue(q+5) = 20 / (5+10+15+20+20+15+10+5) => 20%
# BW%ofQue(q+6) = 15 / (5+10+15+20+20+15+10+5) => 15%
# BW%ofQue(q+7) = 10 / (5+10+15+20+20+15+10+5) => 10%
# BW%ofQue(q+8) = 5 / (5+10+15+20+20+15+10+5) => 5%
#

122 MN.00320.E - 013


# BW%: The assured BW% in case of congestion.
# Additional BW% is available in case of non-congestion.
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#-----------------------------------------------------------
scheduler 4 interface <PORT> sched-algo strict-priority
#-----------------------------------------------------------
#-----------------------------------------------------------
scheduler 5 interface <PORT> sched-algo strict-priority
#-----------------------------------------------------------
#-----------------------------------------------------------
scheduler 6 interface <PORT> sched-algo wrr
#-----------------------------------------------------------
queue 17 interface <PORT> weight 5
queue 18 interface <PORT> weight 10
queue 19 interface <PORT> weight 15
queue 20 interface <PORT> weight 20
queue 21 interface <PORT> weight 20
queue 22 interface <PORT> weight 15
queue 23 interface <PORT> weight 10
queue 24 interface <PORT> weight 5
#-----------------------------------------------------------
scheduler 7 interface <PORT> sched-algo wrr
#-----------------------------------------------------------
queue 25 interface <PORT> weight 5
queue 26 interface <PORT> weight 10
queue 27 interface <PORT> weight 15
queue 28 interface <PORT> weight 20
queue 29 interface <PORT> weight 20
queue 30 interface <PORT> weight 15
queue 31 interface <PORT> weight 10
queue 32 interface <PORT> weight 5

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-SCHED-L1-ALGO-MIX

Set a SP + WRR algo and weights @ L2 queues stage

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-QUE-L2-ALGO-MIX
#
# 4th LEVEL BW ALLOCATION (NESTED TO THE 3rd LEVEL)
# -------------------------------------------------
# L2-WRR:
# weight -> BW% allocation:

MN.00320.E - 013 123


# BW%ofQue(q+1) = 5 / (5+10+15+20+20+15+10+5) => 5%
# BW%ofQue(q+2) = 10 / (5+10+15+20+20+15+10+5) => 10%
# BW%ofQue(q+3) = 15 / (5+10+15+20+20+15+10+5) => 15%
# BW%ofQue(q+4) = 20 / (5+10+15+20+20+15+10+5) => 20%
# L2-SP:
# BW%ofQue(q+5) = 0 = SP: stops Que(q+4)
# BW%ofQue(q+6) = 0 = SP: stops Que(q+5)
# BW%ofQue(q+7) = 0 = SP: stops Que(q+6)
# BW%ofQue(q+8) = 0 = SP: stops Que(q+7)
#
# BW%: The assured BW% in case of congestion.
# Additional BW% is available in case of non-congestion.
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
queue 1 interface <PORT> weight 5
queue 2 interface <PORT> weight 10
queue 3 interface <PORT> weight 15
queue 4 interface <PORT> weight 20
queue 5 interface <PORT> weight 0
queue 6 interface <PORT> weight 0
queue 7 interface <PORT> weight 0
queue 8 interface <PORT> weight 0

exit
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-QUE-L2-ALGO-MIX

Return to a perPort Standard QoS

#CONTEXT-ENTRY
configure terminal
###############################################################################
# Script name: HQOS-SCH4x8-OFF
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
no hierarchical-scheduler interface <PORT>
exit
reload
#==============================================================================
#CONTEXT-EXIT

• Script name: HQOS-SCH4x8-OFF

124 MN.00320.E - 013


Show HQoS Info

show hierarchical-sched
show hierarchical-sched interface <i>
show sched-hierarchy
show sched-hierarchy interface <i>
show scheduler-priority-map
show scheduler-priority-map <map-id>
show scheduler-priority-map queue-id <1..8>
show qos vlan-map
show qos vlan-map <map-id>

show hierarchical-sched interface <i> graphical-mode


show scheduler
show scheduler <sched-id>
show scheduler interface <i>
show queue
show queue interface <i>

MN.00320.E - 013 125


6.9 COUNTERS AND STATISTICS

6.9.1 Ethernet Performance Monitoring - RMON

RMON (Remote Monitoring) is a standard to provide a set of services of statistics count, monitoring and
alarm report with reference to the activity of a LAN network.

SIAE equipment support RMONv1, first MIB, as defined in RFC2819. This MIB contains real-time LAN sta-
tistics e.g. utilization, collisions and CRC errors. These counters are managed locally into the radio equip-
ment and are defined independently for each port of the device (LAN and Radio interfaces).

SIAE NMS5UX systems collects periodically this data and stores it into the network database. More in de-
tails, the RMON implementation in SIAE Network Elements is classified into:

• RMON – Ethernet Statistics: These are the counters data collected in real time by the Network
Equipment. These data are stored in the network equipment itself and, the NMS5UX Statistics view-
er (or WebLCT) can visualize this data with the “Refresh” button.

• RMON – Ethernet History: This is managed by the NMS5UX through the collection of the counters
data from the Network Equipment. After a periodical polling to the Network Element, NMS5UX col-
lects all data and these data may be shown as the RMON History. The “RMON Ethernet Statistics
and Ethernet History” are collected and stored in the Network Equipment.

• RMON – Ethernet Service Statistics: These are the counters data collected in real time by the Net-
work Equipment related to a specific priority or a specific CVID or a specific SVID. These data are
stored in the network equipment itself and, the NMS5UX Statistics viewer (or WebLCT) can visualize
this data with the “Refresh” button.

• RMON – Ethernet Service History: This is managed by the NMS5UX through (or WebLCT) the col-
lection of the counters data from the Network Equipment related to a specific priority or a specific
CVID or a specific SVID. After a periodical polling to the Network Element, the NMS5UX collects all
the data and these data are seen as the RMON Ethernet Service History.

6.9.1.1 RMON Settings

With RMON Settings the following detail can be defined:

Ethernet statistics

• Index= any number between 1 and 65535 not already used,

• Data source = select port,

• Owner = web or NMS5UX (written automatically by NMS5UX)

Ethernet History

• Index= any number between 1 and 65535 not already used,

• Data source = select port,

• Owner = web or NMS5UX (written automatically by NMS5UX)

• Bucket request = number of instances of measurement produced

• Interval (s) = interval in seconds where the instances of measurement will be produced

Ethernet Service Statistics

• Index= any number between 1 and 65535 not already used,

126 MN.00320.E - 013


• Data source = select port,

• Owner = web or NMS5UX (written automatically by NMS5UX)

• Select service = according a particular priority or CVID or SVID

• Priority = If priority was selected into Select service, select the internal queue to perform the meas-
urement

• CVID = If priority was selected into Select service, select one of used CVID

Ethernet Service History

• Index= any number between 1 and 65535 not already used,

• Data source = select port,

• Owner = web or NMS5UX (written automatically by NMS5UX)

• Bucket request = number of instances of measurement produced

• Interval (s) = interval in seconds where the instances of measurement will be produced

• Select service = according a particular priority or CVID or SVID


• Priority = If priority was selected into Select service, select the internal queue to perform the meas-
urement

• CVID = If priority was selected into Select service, select one of used CVID

6.9.1.2 RMON Ethernet Statistics and History

RMON Ethernet Statistics show the counters for each port of the device that are stored into the equipment
on site.
Into the equipment it can be chosen to store the values with a sampling period that can be defined by
Interval (s), the most used values are: 1 min and 15 min. For each sampling period the counters values
are stored into the equipment. After a predefined period (polling period), all the RMON data stored by the
equipment are get by the NMS5UX. The polling period can be either less than 4 hours (if the sampling pe-
riod is 1 min) or 1 day (in case the sampling period is 15 min). The NMS5UX aggregates the files received
to create a bigger database with the History of the Performance Monitoring samples.

Here below are described the RMON counters for Ethernet History available for each device interface (LAN
and radio ports):

• DropEvents (RX): Total number of events (frames, or whole queue contents) in which packets were
dropped by the interface due to lack of resources.

• Octets (RX): Total number of octets of data (including those in bad packets) received by the inter-
face.

• Pkts (RX): Total number of packets (including bad packets, broadcast packets, and multicast pack-
ets) received.

• Broadcast Pkts (RX): Total number of good packets received that were directed to the broadcast
address.

• Multicast Pkts (RX): Total number of good packets received that were directed to a multicast ad-
dress.

• Undersize Pkts (RX): Total number of packets received that were less than 64 octets long and were
otherwise well formed.

• Oversize Pkts (RX): The number of packets received during this sampling interval that were longer
than maximum allowable length (excluding framing bits but including FCS octets) but were other-
wise well formed.

• Fragments (RX): Total number of packets received that were less than 64 octets in length and had
either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad
FCS with a non integral number of octets (Alignment Error).

• CRC Align Errors (RX): Total number of packets received that had a length between 64 and the Max
Packet Size configured on the equipment switch (in any case not exceeding 10240 bytes) with bad

MN.00320.E - 013 127


Frame Check Sequence (FCS) and an integral number of octets (FCS Error) or a bad FCS with a non-
integral number of octets (Alignment Error).

• Utilization (RX): The best estimate of the mean physical layer network utilization on this interface
during this sampling interval, in hundredths of a percent. The percentage is always referred to a
1Gbit/s port speed. So, it represents the mean RX throughput measured on the port during the sam-
pling period and it is expressed as a percentage of a port speed.

For Ethernet Statistics the available counter (all into RX) are: DropEvents, Octets, Pkts, Broadcast Pkts,
Multicast Pkts, Undersize Pkts, Oversize Pkts, Fragments, CRC Align Errors, Pkts 64 Octets, Pkts 65 to 127
Octets, Pkts 128 to 255 Octets, Pkts 256 to 511 Octets, Pkts 512 to 1023 Octets, Pkts > 1024 Octets.

6.9.1.3 RMON Limits

All the counters described above are part of the RMON statistics and it is not possible to collect only a sub-
set of them. It is however possible to select on which equipment interface activate the RMON statistics (for
example, they can be enabled only on the one LAN port). This allows reducing the total amount of PM data,
for example avoiding data collection from unused LAN interfaces. This can be done on all Payload Interfaces
(regardless if electrical or optical), the Radio interfaces are included as well.

Warning: on Radio port of ALFOplus80HD the reference speed is 2,5Gbit/s, so 2Gbit/s of traffic gives an
Utilization around 80%.

ALFOplus80HD RMON limits

Warning: the following RMON limitations apply:

• RMON recommended maximum instance number: 84

• RMON recommended per service maximum instance number: 40 (within the previous 84 instances)
• RMON recommended maximum bucket number: 2400

• RMON recommended minimum sampling time: 1 minute

• RMON recommended sampling time: 60s, 300s, 600s, 900s, 1800s, 3600s
• For high values of Buckets, acquisition from WebLCT may be slow in this case it is suggested to use
CLI commands for RMON.

• Ethernet Service Statistics and Ethernet Service History include also wrong FCS frames or too long
frames. This can be verified with port counters.

AGS-20 RMON limits

Warning: the following RMON limitations apply:

• RMON Statistics recommended maximum instance number: 74 (max 10 per port and max 64 per
service)

• RMON recommended per service maximum instance number: 64 (within this max 40 Vlan instanc-
es)

• RMON recommended maximum History 1 minute instances: 74 (with a maximum 240 buckets each)
• RMON recommended minimum sampling time: 1 minute

• RMON recommended sampling time: 60s, 300s, 600s, 900s, 1800s, 3600s

• For high values of Buckets, acquisition from WebLCT may be slow in this case it is suggested to use
CLI commands for RMON.

• Ethernet Service Statistics and Ethernet Service History include also wrong FCS frames or too long
frames. This can be verified with port counters.

Examples:

Interval(s) 900 (15min) and 96 Buckets Requested (exact value is correct).

Interval(s) 60 (1 min) and 10 Buckets this shows only the 10 last measurements

128 MN.00320.E - 013


6.9.1.4 Ethernet Service and Service History

Into SM-OS switch it is possible to set RMON counters per Service (Vlan or Priority Queues). The Service
counters can be activated with the following variables.

• Received Pkts: Total number of packets (including bad packets, broadcast packets, and multicast
packets) received.

• Sent Pkts: Total number of packets transmitted.

• Received Octets: Total number of octets of data (including those in bad packets) received by the
interface.

• Sent Octets: Total number of octets of data (including those in bad packets) transmitted.
• Received Discard Pkts: Total number of inbound packets which were discarded due to forbidden for-
warding or policing violation.

• Sent Discard Pkts: Total number of outbound packets which were discarded. Reasons for discarding
such packets could be buffer space lack due to output shaping, rate limitation or egress MTU ex-
ceeded.

• Received Unicast Pkts: Total number of inbound Unicast packets

• Sent Unicast Pkts: Total number of outbound Unicast packets

• Received Non Unicast Pkts: Total number of inbound Multicast and Broadcat packets

• Sent Non Unicast Pkts: Total number of outbound Multicast and Broadcat packets

The RMON Ethernet Service History can be activated and collected from WebLCT or NMS5UX (Network
Management System).

RMON STATS
#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CNTR-RMON-STATS
#
# Rev.0003
# (siae microelettronica)
################################################################+##############
set rmon enable
#============================================================================
interface <LAN1>
rmon collection stats 1 owner rmonObserver1
exit
interface <LAN2>
rmon collection stats 2 owner rmonObserver2
exit
interface <RADIO>
rmon collection stats 3 owner rmonObserver3
exit
exit
#==============================================================================
#show rmon
#show rmon statistics
#show rmon statistics 1
#show rmon statistics 2
#show rmon statistics 3
#==============================================================================
#CONTEXT-EXIT

MN.00320.E - 013 129


• Script name: CNTR-RMON-STATS

This command enables RMON statistic collection on the selected interface.

Identifies an entry in the alarm table: the entry defines a diagnostic sample at a particular level for a MIB
object in the device and allows the user to enter the name of the owner of the RMON group of statistics (in
this case the owner is rmonObserver1 for LAN1, rmonObserver2 for LAN2, rmonObserver3 for RADIO).

RMON STATS per VLAN


#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CNTR-RMON-STATS-VLAN
#
# - VLAN refers to C-VLAN in case of CB.
# - VLAN refers to S-VLAN in case of PxB.
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
set rmon enable
#============================================================================
interface <LAN1>
service collection stats 1 owner serviceObserver1 vlan <VLAN1>
exit
interface <LAN2>
service collection stats 2 owner serviceObserver2 vlan <VLAN2>
exit
interface <RADIO>
service collection stats 3 owner serviceObserver3 vlan <VLAN3>
exit
exit
#==============================================================================
#show service
#show service statistics
#show service statistics 1
#show service statistics 2
#show service statistics 3
#==============================================================================
#CONTEXT-EXIT

• Script name: CNTR-RMON-STATS-VLAN

This command enables RMON statistic collection for a defined VLAN on the selected interface.

Identifies an entry in the alarm table: the entry defines a diagnostic sample at a particular level for a MIB
object in the device and allows the user to enter the name of the owner of the RMON group of statistics (in
this case the owner is rmonObserver1 for LAN1, rmonObserver2 for LAN2, rmonObserver3 for RADIO).

130 MN.00320.E - 013


RMON STATS per PCP
#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CNTR-RMON-STATS-PCP
#
# - PRI refers to C-PCP in case of CB.
# - PRI refers to S-PCP in case of PxB.
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
set rmon enable
#============================================================================
interface <LAN1>
service collection stats 1 owner serviceObserver1 priority <PRI>
exit
interface <LAN2>
service collection stats 2 owner serviceObserver2 priority <PRI>
exit
interface <RADIO>
service collection stats 3 owner serviceObserver3 priority <PRI>
exit
exit
#==============================================================================
#show service
#show service statistics
#show service statistics 1
#show service statistics 2
#show service statistics 3
#==============================================================================
#CONTEXT-EXIT

• Script name: CNTR-RMON-STATS-PCP

This command enables RMON statistic collection for a defined priority PCP on the selected interface.

Identifies an entry in the alarm table: the entry defines a diagnostic sample at a particular level for a MIB
object in the device and allows the user to enter the name of the owner of the RMON group of statistics (in
this case the owner is rmonObserver1 for LAN1, rmonObserver2 for LAN2, rmonObserver3 for RADIO).

RMON history
#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CNTR-RMON-HIST
#
# Rev.0003
# (siae microelettronica)
################################################################+##############
set rmon enable
#============================================================================

MN.00320.E - 013 131


interface <LAN1>
#---------------------------------- sec.
rmon collection history 1 buckets 10 interval 60 owner rmonObserver1 persistence <en-
able|disable>
exit
interface <LAN2>
#---------------------------------- sec.
rmon collection history 2 buckets 10 interval 60 owner rmonObserver2 persistence <en-
able|disable>
exit
interface <RADIO>
#---------------------------------- sec.
rmon collection history 3 buckets 10 interval 60 owner rmonObserver3 persistence <en-
able|disable>
exit
exit
#==============================================================================
#show rmon
#show rmon history
#show rmon history 1
#show rmon history 2
#show rmon history 3
#==============================================================================
#CONTEXT-EXIT

• Script name: CNTR-RMON-HIST


This command enables RMON History with the number of buckets and interval time on the selected inter-
face.

RMON history - perVLAN


#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CNTR-RMON-HIST-VLAN
#
# - VLAN refers to C-VLAN in case of CB.
# - VLAN refers to S-VLAN in case of PxB.
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
set rmon enable
#============================================================================
interface <LAN1>
#------------------------------------- sec.
service collection history 1 buckets 10 interval 60 owner serviceObserver1 vlan <VLAN1>
persistence <enable|disable>
exit
interface <LAN2>
#------------------------------------- sec.
service collection history 2 buckets 10 interval 60 owner serviceObserver2 vlan <VLAN2>
persistence <enable|disable>

132 MN.00320.E - 013


exit
interface <RADIO>
#------------------------------------- sec.
service collection history 3 buckets 10 interval 60 owner serviceObserver3 vlan <VLAN3>
persistence <enable|disable>
exit
exit
#==============================================================================
#show service
#show service history
#show service history 1
#show service history 2
#show service history 3
#==============================================================================
#CONTEXT-EXIT

• Script name: CNTR-RMON-HIST-VLAN


This command enables RMON History per VLAN with the number of buckets and interval time on the se-
lected interface.

RMON history - perPCP


#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CNTR-RMON-HIST-PCP
#
# - PRI refers to C-PCP in case of CB.
# - PRI refers to S-PCP in case of PxB.
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
set rmon enable
#============================================================================
interface <LAN1>
#------------------------------------- sec.
service collection history 1 buckets 10 interval 60 owner serviceObserver1 priority
<PRI> persistence <enable|disable>
exit
interface <LAN2>
#------------------------------------- sec.
service collection history 2 buckets 10 interval 60 owner serviceObserver2 priority
<PRI> persistence <enable|disable>
exit
interface <RADIO>
#------------------------------------- sec.
service collection history 3 buckets 10 interval 60 owner serviceObserver3 priority
<PRI> persistence <enable|disable>
exit
exit
#==============================================================================
#show service

MN.00320.E - 013 133


#show service history
#show service history 1
#show service history 2
#show service history 3
#==============================================================================
#CONTEXT-EXIT

• Script name: CNTR-RMON-HIST-PCP

This command enables RMON History per PCP with the number of buckets and interval time on the selected
interface.

6.9.2 Clear Counters

#CONTEXT-ENTRY
###############################################################################
# Script name: CNTR-CLR-STATS
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
clear counters
#==============================================================================
#CONTEXT-EXIT

• Script name: CNTR-CLR-STATS


The purpose of this script is to clear all the current interface counters statistics.

134 MN.00320.E - 013


6.10 GENERAL FEATURES

6.10.1 System MTU

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-SYS-MTU
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
system mtu <46-12266>
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: FEAT-SYS-MTU

The purpose of this script is to define the MTU into the switch.

6.10.2 VLAN rewriting PNP

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#################################################################
# Script name: FEAT-PNP-VLAN-REWR
#
# - This command configures a VLAN translation entry for a PNP.
# VLAN translation works on bidirectional way once it is
# configured on a port.
# No need to declare <EXT-VLAN> on vlan table: switch works
# on relayed <VLAN>.
#
# Rev.0001
# (siae microelettronica)
################################################################+
#==============================================================
interface <PNP_PORT>
switchport service vlan mapping <EXT-VLAN> <VLAN>
no shutdown
exit
exit
#================================================================
#CONTEXT-EXIT

MN.00320.E - 013 135


• Script name: FEAT-PNP-VLAN-REWR

The purpose of this script is to configure a VLAN translation entry for a PNP. VLAN translation works on
bidirectional way once it is configured on a port.

6.10.3 Port isolation

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-PORT-IS
#
# Before After
# <LAN1> +-----------+ <LAN1> +--------------+
# <--> o <-->| | <--> o <--> \ |
# <LAN2> | |<--> o <--> <LAN2> | > <--> o <-->
# <--> o <-->| | <RADIO> <--> o <--> / | <RADIO>
# +-----------+ +--------------+
# multipoint rooted-multipoint
#
# Rev.0002
# (siae microelettronica)
################################################################+##############
#============================================================================
# set <LAN1> <--> <LAN2> isolation
interface <LAN1>
port-isolation <RADIO>
exit
interface <LAN2>
port-isolation <RADIO>
exit
interface <RADIO>
port-isolation <LAN1> <LAN2>
exit
exit
#==============================================================================
show port-isolation
#==============================================================================
#CONTEXT-EXIT

• Script name: FEAT-PORT-IS

The script configures the list of ports through which the traffic is allowed.

LAN1 and LAN2 port can send traffic to RADIO port. RADIO Port can send traffic to both LAN1 and LAN2
ports.

LAN1 and LAN2 ports can not send traffic each other.

136 MN.00320.E - 013


6.10.4 MAC addresses aging time

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-MAC
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
set mac-learning [enable|disable]
mac-address-table aging-time <10..1000000>
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: FEAT-MAC


The script enable/disable mac learning and defines aging time.

6.10.5 MAC address clear

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-MAC-CLR
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
clear mac-address-table dynamic
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: FEAT-MAC -CLR

Clear MAC address table.

6.10.6 Jumbo frame

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-JUMBO
#

MN.00320.E - 013 137


# Rev.0003
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <GEN_PORT>
shutdown
mtu <46-12266>
no shutdown
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: FEAT-JUMBO


The port <GEN_PORT> is enabled to accept traffic with frame with max size mtu = <46-12266> in Byte.

Messages larger than the MTU are divided into smaller packets before transmission.

6.10.7 Ethertype

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-ETHER
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <PNP_PORT>
switchport egress ether-type 0x8100
switchport ingress ether-type 0x8100
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: FEAT-ETHER

This script forces the Ethertype 8100 both in TX and RX on the port <PNP-PORT>.

138 MN.00320.E - 013


6.10.8 Loopback

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-LOOP-LL
#
# +--PHY--+ +---
# --> o --.-- | --> |
# line | | | switch
# <-- o <- X | <-- |
# +-------+ +---
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <LINE_PORT>
loopback local
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: FEAT-LOOP-LL

This command enables the lineloop at the indicated Ethernet port.

6.10.9 Port mirroring

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-PORT-MIR
#
# <LAN1> +-----------+
# <--> o <-->| |
# <LAN2> | |<--> o <-->
# <--> o <-->| | <RADIO>
# +-----------+
# Redirect <LAN1> (rx|tx|both) traffic to <LAN2>.
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
monitor session 1 source interface <LAN1> [tx|rx|both]
monitor session 1 destination interface <LAN2>
exit
#==============================================================================
#CONTEXT-EXIT

MN.00320.E - 013 139


• Script name: FEAT-PORT-MIR

This script allows to monitor the traffic rx or tx or both on a specific port (LAN1) and send it to another
port (LAN2).

6.10.10 Mediatype

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-MEDIA
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <LINE_PORT>
media-type [copper|fiber]
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: FEAT-MEDIA

Set the port Media-type as copper/fiber for the combo interfaces (IDU AGS-20).

140 MN.00320.E - 013


6.10.11 Autocrossover

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-MDIX
#
# - Enables the MDI/MDIX Auto Crossover of the interface.
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <LINE_PORT>
mdix auto
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: FEAT-MDIX


This script enable Autonegotiation on electrical interface.

6.10.12 MDIX

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-MEDIA-DIX
#
# - Set the MDIX at the port interface.
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <LINE_PORT>
set port mdix
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: FEAT-MEDIA-DIX


This script enable MDIX on electrical interface.

MN.00320.E - 013 141


6.10.13 MDI

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: FEAT-MEDIA-DI
#
# - Set the MDI at the port interface.
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
interface <LINE_PORT>
set port mdi
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: FEAT-MEDIA-DI


This script enable MDI on electrical interface.

6.11 ADVANCED FEATURE

6.11.1 PEB - PNP + VLAN rewriting

#CONTEXT-ENTRY
###############################################################################
# Script name: FEAT-ADV-PNP-ETHVLAN-REWR
#
# - This command configures a VLAN translation entry for a PNP.
# VLAN translation works on bidirectional way once it is
# configured on a port.
# No need to declare <USR_VLAN> on vlan table: switch works
# on relayed <NTW_VLAN>.
# - Changing Ingress/Egress TPID to 0x8100, PNP acts as CBP,
# emulating a Customer-Bridge and operating VLAN translation
# on C-VLAN.
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
bridge-mode provider-edge
#============================================================================

142 MN.00320.E - 013


interface <USR_PORT>
bridge port-type providerNetworkPort
switchport ingress-filter
switchport ingress ether-type 0x8100
switchport egress ether-type 0x8100
switchport service vlan mapping <USR_VLAN> <NTW_VLAN>
no shutdown
exit
interface <NTW_PORT>
bridge port-type providerNetworkPort
switchport ingress-filter
switchport ingress ether-type 0x8100
switchport egress ether-type 0x8100
no shutdown
exit
vlan <NTW_VLAN>
ports <USR_PORT> <NTW_PORT>
exit
exit
#==============================================================================
#CONTEXT-EXIT

PEB-PNP: ETHERTYPE +VLAN REWRITING

• Script name: FEAT-ADV-PNP-ETHVLAN-REWR


This script, on the port <USR_PORT>, in case of PEB PNP changes Ethertype to 8100, emulating a CB, and
operating a VLAN translation.

6.12 PWE3 (PSEUDOWIRE EMULATED EDGE TO EDGE)

The feature PWE3 is available from:

• AGS-20 N31030 01.03.00

6.12.1 PWE3 - Feature Configs

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#######################################################################
# Script name: PWE3-FEAT-DO
#
# Rev.0001
# (siae microelettronica)
################################################################+######
# enables pwe3 feature on the equipment
pwe3 enable
exit
#======================================================================

MN.00320.E - 013 143


#CONTEXT-EXIT

• Script name: PWE3-FEAT-DO

6.12.2 PWE3 - Feature Config (UNDO)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#######################################################################
# Script name: PWE3-FEAT-UNDO
#
# Rev.0001
# (siae microelettronica)
################################################################+######
# disables pwe3 feature on the equipment
pwe3 disable
exit
#======================================================================
#CONTEXT-EXIT

• Script name: PWE3-FEAT-UNDO

6.12.3 PWE3 - Alarms

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#######################################################################
# Script name: PWE3-ALARMS
#
# Rev.0001
# (siae microelettronica)
################################################################+######
#====================================================================
# changes severity codes associated to pwe3 alarms:
# <alarm-type>: localTdmDown |localPsnDown |remoteTdmDown |remotePsnDown
# <severity-code>: disable
# |statusTrapEnable |warningTrapEnable |minorTrapEnable |majorTrapEnable
|criticalTrapEnable
# |statusTrapDisable|warningTrapDisable|minorTrapDisable|majorTrapDis-
able|criticalTrapDisable
#
pwe3 alarm <alarm-type> severity <severity-code>
exit
#======================================================================
#CONTEXT-EXIT

• Script name: PWE3-ALARMS

144 MN.00320.E - 013


6.12.4 PWE3 - Profile Configs

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#######################################################################
# Script name: PWE3-PROF-CONFIG-DO
#
# Rev.0001
# (siae microelettronica)
################################################################+######
pwe3 profile <integer(1-32)>
# configures pwe3 profile:
# <encapsulation> = { mef8
# | mpls { label <integer(0-1048575)> }
# | udp { udp-port <integer(0-1048575)>
# type { ipv4
# | ipv6
# }
# src-ip <string(32)>
# dest-ip <string(32)>
# }
# }
# c-tag <integer(2-4094)>
# dest-mac-address <mac_addr>
set encapsulation <encapsulation>

# changes profile label:


set label <string(31)>

# changes tolerated Packet Delay Variation:


set tolerated pdv <integer(1-16)>

# changes payload size:


set payload <integer(38-1024)>

# disables/enables RTP header insertion:


set rtp header {disable | enable}

# changes 802.1p CVlan priority:


set C-priority <integer(0-7)>

# changes dscp priority:


set dscp-priority <integer(0-63)>

# changes mpls exp bits priority:


set mpls-priority <integer(0-7)>
exit
exit
#======================================================================
#CONTEXT-EXIT

• Script name: PWE3-PROF-CONFIG-DO

MN.00320.E - 013 145


6.12.5 PWE3 - Profile Configs (UNDO)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#######################################################################
# Script name: PWE3-PROF-CONFIG-UNDO
#
# Rev.0001
# (siae microelettronica)
################################################################+######
# deletes pwe3 profile
no pwe3 profile <integer(1-32)>
exit
#======================================================================
#CONTEXT-EXIT

• Script name: PWE3-PROF-CONFIG-UNDO

6.12.6 PWE3 - E1 Controller Configs

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#######################################################################
# Script name: PWE3-E1-CONFIG
#
# Rev.0001
# (siae microelettronica)
################################################################+######
pwe3 controller E1 <integer(1-32)>
# bind controller E1 to a given profile
# and sets channel identifier according to encapsulation type
add to profile <integer(0-32)> as pwe3-id <integer(0-1048575)>

# unbind controller E1 from a given profile


# and resets channel identifier
add to profile 0 as pwe3-id 0

#changes controller E1 label


set label <string(31)>

#disables/enables retiming
set retiming {disable | enable}
exit
exit
#======================================================================
#CONTEXT-EXIT

• Script name: PWE3-E1-CONFIG

146 MN.00320.E - 013


6.12.7 PWE3 - Shows

#CONTEXT-ENTRY
#######################################################################
# Script name: PWE3-SHOWS
#
# Rev.0001
# (siae microelettronica)
################################################################+######
# shows pwe3 status:
show pwe3 status

# shows severity codes associated to pwe3 alarms:


show pwe3 alarm severity

# shows pwe3 profile:


# - prof_id not specified means all profiles
# - output changes according to encapsulation type
show pwe3 profile <integer(1-32)>

# shows pwe3 controller E1:


# - e1_id not specified means all E1 controllers
show pwe3 controller E1 <integer(1-32)>

# shows pwe3 controller E1 alarms:


# - e1_id not specified means all E1 controllers
show pwe3 controller E1 alarms <integer(1-32)>

# shows pwe3 controller E1 statistic counters:


# - e1_id not specified means all E1 controllers
show pwe3 controller E1 statistics <integer(1-32)>

# resets all pwe3 controller E1 statistic counters:


pwe3 clear statistics

#======================================================================
#CONTEXT-EXIT
• Script name: PWE3-SHOWS

6.13 SYSTEM ADMINISTRATION

6.13.1 Hitless restart

#CONTEXT-ENTRY
###############################################################################
# Script name: SYS-ADM-HLRST
#
# Rev.0001
# (siae microelettronica)
################################################################+##############
#============================================================================
set hitless-restart enable

MN.00320.E - 013 147


sleep 5
reload
#==============================================================================
#CONTEXT-EXIT

HITLESS RESTART

• Script name: SYS-ADM-HLRRST

This script must be added at the end of any configuration script.

148 MN.00320.E - 013


7 PROTOCOLS

The feature L2PT is available from:

• ALFOplus80HD N40052 01.02.00

• AGS-20 N31030 01.04.00

• ALFOplus2 N50052 01.00.02.

7.1 LAYER2 PROTOCOL TUNNELING

7.1.1 L2PT tunnel

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: APP-L2PT
#
# Rev.0001
# (siae microelettronica)
##############################################################+
# cos/pcp for encapsulated packet:
l2protocol-tunnel cos 3
interface <LINE_PORT>
l2protocol-tunnel stp
l2protocol-tunnel dot1x
l2protocol-tunnel lacp
l2protocol-tunnel gmrp
l2protocol-tunnel gvrp
l2protocol-tunnel mmrp
l2protocol-tunnel mvrp
l2protocol-tunnel igmp

l2protocol-tunnel lldp
exit
#CONTEXT::SM-OS(config)#
exit
#==============================================================
#show l2protocol tunnel-mac-address
#show l2protocol-tunnel summary
#show l2protocol-tunnel
#==============================================================
#CONTEXT-EXIT

MN.00320.E - 013 149


• Script name: APP-L2PT

The script configures tunnels for some protocols:

• Dot1x

• LACP
• STP

• GVRP

• GMRP

• IGMP

• LLDP

For each protocol the status can be

• Tunnel: protocol is passing through the defined port

• Peer (default) protocol is terminated on the defined port to communicate with remote peer

• Discard: protocol packet is dropped at the defined port

The status can be read by WebLCT.

7.1.2 L2PT peer

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS (config)#
###############################################################
# Script name: APP-L2PT-P
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <LINE_PORT>
l2protocol-peer stp
l2protocol-peer lacp
exit
#CONTEXT::iss(config)#
exit
#==============================================================
#CONTEXT-EXIT

• Script name: APP-L2PT-P

The script configures peer for some protocols:

• STP
• LACP

7.1.3 L2PT (Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################

150 MN.00320.E - 013


# Script name: APP-L2PT-UNDO
#
# Rev.0002
# (siae microelettronica)
##############################################################+
# cos/pcp for encapsulated packet:
no l2protocol-tunnel cos
interface <LINE_PORT>
l2protocol-discard stp
l2protocol-discard dot1x
l2protocol-discard lacp
l2protocol-discard gmrp
l2protocol-discard gvrp
l2protocol-discard mmrp
l2protocol-discard mvrp
l2protocol-discard igmp

l2protocol-discard lldp
exit
#CONTEXT::SM-OS(config)#
exit
#==============================================================
#show l2protocol-discard statistics
#==============================================================
#CONTEXT-EXIT

• Script name: APP-L2PT-UNDO

The script discards some protocols:

• Dot1x

• LACP

• STP

• GVRP

• GMRP

• IGMP

• LLDP.

The status can be read by WebLCT.

7.2 ETHERNET LINE PROTECTION

The feature ELP is available from:

• ALFOplus80HD N40052 01.04.00

• AGS-20 N31030 01.02.00

• ALFOplus2 N50052 01.01.00.

MN.00320.E - 013 151


7.2.1 ELP

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CPLANE-ELP
#
# ELP is available as a special LAG case (max-ports 1).
# This template builds a ELP with the following properties:
# - aggregator interface: po100.
# - aggregated interfaces: LAN1, LAN2.
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#============================================================================
# Global init
no shutdown port-channel
set port-channel enable
set port-channel independentmode disable

interface port-channel 100


no default port
exit

# LAN1 connector
interface <LAN1>
no channel-group
exit
# LAN2 connector
interface <LAN2>
no channel-group
exit

#============================================================================
# Per-aggregator configuration
interface port-channel 100
shutdown
mtu 1500
no shutdown

#-------------------------------------------------------
# Insert below one of the following bridge port-types:
# - providerNetworkPort.
# - customerNetworkPort port-based.
# - customerNetworkPort s-tagged.
# - customerEdgePort (N/A).
# - customerBridgePort.
#-------------------------------------------------------
bridge port-type <BRIDGE_PORT_TYPE>
switchport ingress-filter

152 MN.00320.E - 013


port-channel max-ports 1
no default port
exit

#============================================================================
# Per-intf configuration

# LAN1 connector
interface <LAN1>
#-------------------------------------------------------
# bind this interface to the aggregator po 100:
channel-group 100 mode on
exit

# LAN2 connector
interface <LAN2>
#-------------------------------------------------------
# bind this interface to the aggregator po 100:
channel-group 100 mode on
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: CPLANE-ELP

The script configures Ethernet Line Protection on L1 and L2.


Warning: it is recommended to apply the same conditions/settings to each ports used in ELP, to avoid un-
predictable behaviour in the switch, referring to:

• PCP classification

• DSCP classification

• port classification

• scheduling
• output port shaping

• output queue shaping

• storm control

• L2 access list classification

• negotiation/no negotiation

• speed (only if not auto neg.).

7.3 LINK AGGREGATION 802.3AD

The feature LAG is available from:

• ALFOplus80HD N40052 01.03.00

• AGS-20 N31030 01.02.00

• ALFOplus2 N50052 01.01.00.

MN.00320.E - 013 153


7.3.1 LAG-Basic

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CPLANE-LAG-BASIC
#
# This template builds a LAG with the following properties:
# - aggregator interface: po100.
# - aggregated interfaces: LAN1, LAN2.
# - Hot-standby ports: NO.
# - LACP: YES, mode active, rate normal (30s).
# - load balance: src-dest-mac.
#
# The above profile allows interoperability with sm legacy
# equipments.
#
# If needed, additional aggregator and/or aggregated
# interfaces can be included in this template.
#
# Rev.0001
# (siae microelettronica)
##############################################################+################
#============================================================================
# Global init
no shutdown port-channel
set port-channel enable
set port-channel independentmode disable

interface port-channel 100


no default port
exit

# LAN1 connector
interface <LAN1>
no channel-group
exit
# LAN2 connector
interface <LAN2>
no channel-group
exit

#============================================================================
# Per-aggregator configuration
interface port-channel 100
shutdown
mtu 1500
no shutdown

#-------------------------------------------------------
# Insert below one of the following bridge port-types:
# - providerNetworkPort.

154 MN.00320.E - 013


# - customerNetworkPort port-based.
# - customerNetworkPort s-tagged.
# - customerEdgePort (N/A).
# - customerBridgePort.
#-------------------------------------------------------
bridge port-type <BRIDGE_PORT_TYPE>
switchport ingress-filter

port-channel max-ports 2
no default port
exit

port-channel load-balance src-dest-mac

# set defaults (optional):


no lacp system-priority

#============================================================================
# Per-intf configuration

# LAN1 connector
interface <LAN1>
#lacp port-identifier : default is <LAN1>, conn. is 1.
lacp port-identifier 1
#-------------------------------------------------------
# bind this interface to the aggregator po 100:
channel-group 100 mode active

#-------------------------------------------------------
# set defaults (optional):
no lacp port-priority
no lacp rate
#-------------------------------------------------------
# set new:
lacp rate normal
exit

# LAN2 connector
interface <LAN2>
#lacp port-identifier : default is <LAN2>, conn. is 2.
lacp port-identifier 2
#-------------------------------------------------------
# bind this interface to the aggregator po 100:
channel-group 100 mode active

#-------------------------------------------------------
# set defaults (optional):
no lacp port-priority
no lacp rate
#-------------------------------------------------------
# set new:
lacp rate normal
exit

MN.00320.E - 013 155


exit
#==============================================================================
#CONTEXT-EXIT

• Script name: CPLANE-LAG-BASIC

The script configures a Link Aggregation Protocol (Layer L2), with LACP protocol active in both LAN1 and
LAN2 ports.

7.3.2 LAG-STD-MAN

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CPLANE-LAG-STD-MAN
#
# This template builds a LAG with the following properties:
# - aggregator interface: po100.
# - aggregated interfaces: LAN1, LAN2.
# - Manual: YES.
# - LACP: NO.
# - load balance: src-dest-mac, src-ip, dest-ip, src-dest-ip
#
# If needed, additional aggregator and/or aggregated
# interfaces can be included in this template.
#
# Rev.0002
# (siae microelettronica)
##############################################################+################
#============================================================================
# Global init
no shutdown port-channel
set port-channel enable
set port-channel independentmode disable

interface port-channel 100


no default port
exit

# LAN1 connector
interface <LAN1>
no channel-group
exit
# LAN2 connector
interface <LAN2>
no channel-group
exit

#============================================================================
# Per-aggregator configuration
interface port-channel 100

156 MN.00320.E - 013


shutdown
mtu 1500
no shutdown

#-------------------------------------------------------
# Insert below one of the following bridge port-types:
# - providerNetworkPort.
# - customerNetworkPort port-based.
# - customerNetworkPort s-tagged.
# - customerEdgePort (N/A).
# - customerBridgePort.
#-------------------------------------------------------
bridge port-type <BRIDGE_PORT_TYPE>
switchport ingress-filter

port-channel max-ports 2
no default port
exit

# Choose one of the supported distribution.


# - <Load distribution>: src-dest-mac, src-ip, dest-ip, src-dest-ip.
port-channel load-balance <load-distribution>

# set defaults (optional):


no lacp system-priority

#============================================================================
# Per-intf configuration

# LAN1 connector
interface <LAN1>
#lacp port-identifier : default is <LAN1>, conn. is 1.
lacp port-identifier 1
#-------------------------------------------------------
# bind this interface to the aggregator po 100:
channel-group 100 mode on
exit

# LAN2 connector
interface <LAN2>
#lacp port-identifier : default is <LAN2>, conn. is 2.
lacp port-identifier 2
#-------------------------------------------------------
# bind this interface to the aggregator po 100:
channel-group 100 mode on
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: CPLANE-LAG-STD-MAN

The script configures a Link Aggregation Protocol (Layer L2), with LACP protocol disabled in both LAN1 and
LAN2 ports.

MN.00320.E - 013 157


7.3.3 LAG-STD-HSBY

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################################
# Script name: CPLANE-LAG-STD-HSBY
#
# This template builds a LAG with the following properties:
# - aggregator interface: po100.
# - aggregated interfaces: LAN1, LAN2, LAN4.
# - Hot-standby ports: YES, LAN4.
# - LACP: YES, mode active/passive,
# rate normal(30s)/fast(1s).
# - load balance: src-dest-mac, src-ip, dest-ip, src-dest-ip.
#
# If needed, additional aggregator and/or aggregated
# interfaces can be included in this template.
#
# Rev.0002
# (siae microelettronica)
##############################################################+################
#============================================================================
# Global init
no shutdown port-channel
set port-channel enable
set port-channel independentmode disable

interface port-channel 100


no default port
exit

# LAN1 connector
interface <LAN1>
no channel-group
exit
# LAN2 connector
interface <LAN2>
no channel-group
exit
# LAN4 connector
interface <LAN4>
no channel-group
exit

#============================================================================
# Per-aggregator configuration
interface port-channel 100
shutdown
mtu 1500
no shutdown
#-------------------------------------------------------
# Insert below one of the following bridge port-types:
# - providerNetworkPort.

158 MN.00320.E - 013


# - customerNetworkPort port-based.
# - customerNetworkPort s-tagged.
# - customerEdgePort (N/A).
# - customerBridgePort.
#-------------------------------------------------------
bridge port-type <BRIDGE_PORT_TYPE>
switchport ingress-filter

#-------------------------------------------------------
# Select max-ports according to the scheme:
# LAN1 LAN2 LAN4
# SCHEME 1> (Bndl)(Bndl)(Bndl) -> MAX-PORTS = 3
# SCHEME 2> (Bndl)(Bndl)(HSby) -> MAX-PORTS = 2
#-------------------------------------------------------
port-channel max-ports <MAX-PORTS>
no default port
exit

# Choose one of the supported distribution.


# - <Load distribution>: src-dest-mac, src-ip, dest-ip, src-dest-ip.
port-channel load-channel <load-distribution>

# set defaults (optional):


no lacp system-priority

#============================================================================
# Per-intf configuration

# LAN1 connector
interface <LAN1>
#lacp port-identifier : default is <LAN1>, conn. is 1.
lacp port-identifier 1
#-------------------------------------------------------
# Insert below one of the following mode:
# - active | passive.
# bind this interface to the aggregator po 100:
channel-group 100 mode <MODE>

#-------------------------------------------------------
# set defaults (optional):
no lacp port-priority
no lacp rate
#-------------------------------------------------------
# Insert below one of the following rate:
# - normal | fast.
lacp rate <RATE>
exit

# LAN2 connector
interface <LAN2>
#lacp port-identifier : default is <LAN2>, conn. is 2.
lacp port-identifier 2
#-------------------------------------------------------
# Insert below one of the following mode:

MN.00320.E - 013 159


# - active | passive.
# bind this interface to the aggregator po 100:
channel-group 100 mode <MODE>

#-------------------------------------------------------
# set defaults (optional):
no lacp port-priority
no lacp rate
#-------------------------------------------------------
# Insert below one of the following rate:
# - normal | fast.
lacp rate <RATE>
exit

# LAN4 connector
interface <LAN4>
#lacp port-identifier : default is <LAN4>, conn. is 4.
lacp port-identifier 4
#-------------------------------------------------------
# Insert below one of the following mode:
# - active | passive.
# bind this interface to the aggregator po 100:
channel-group 100 mode <MODE>

#-------------------------------------------------------
# set defaults (optional):
no lacp port-priority
no lacp rate
#-------------------------------------------------------
# Insert below one of the following rate:
# - normal | fast.
lacp rate <RATE>
exit
exit
#==============================================================================
#CONTEXT-EXIT

• Script name: CPLANE-LAG-STD-HSBY

The script configures a Link Aggregation Protocol (Layer L2), considering two schemes:

• IF <MAX-PORTS>=2 LAN1 and LAN2 have LACP protocol active and LAN4, in stand-by,
used for protection

• IF <MAX-PORTS>=3 LAN1, LAN2 and LAN4 have LACP protocol active.

7.4 LINK DISCOVERY

The feature LLDP is available from:

• AGS-20 N31030 01.08.00

160 MN.00320.E - 013


7.4.1 LLDP - Device Config

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP
#
# To enable lldp and set lldp version
#
# Rev.0001
# (siae microelettronica)
##############################################################+
set lldp enable
set lldp version [v1|v2]
no shutdown lldp
exit
#==============================================================
#CONTEXT-EXIT

• • Script name: CPLANE-LLDP

7.4.2 LLDP – Device Config Undo

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-UNDO
#
# To disable and shutdown lldp
#
# Rev.0001
# (siae microelettronica)
##############################################################+
set lldp disable
shutdown lldp
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-UNDO

7.4.3 LLDP – (Chassis profile)

#CONTEXT-ENTRY
configure terminal

MN.00320.E - 013 161


#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-CHASSIS
#
# Configurations for chassis-id TLV
#
# Rev.0001
# (siae microelettronica)
##############################################################+
lldp chassis-id-subtype chassis-comp <string(255)>
lldp chassis-id-subtype if-alias
lldp chassis-id-subtype port-comp <string(255)>
lldp chassis-id-subtype mac-addr
lldp chassis-id-subtype nw-addr
lldp chassis-id-subtype if-name
lldp chassis-id-subtype local <string(255)>
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-CHASSIS

7.4.4 LLDP – (Timers)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-TIMER
#
# Configurations for lldp timers
# NOTE: about specific v1/v2 sections, please use only the
# required one.
#
# Rev.0001
# (siae microelettronica)
##############################################################+
lldp transmit-interval <seconds(5-32768)>
lldp reinitialization-delay <seconds(1-10)>
lldp holdtime-multiplier <value(2-10)>
lldp notification-interval <seconds(5-3600)>
#LLDP VERSION 1 ONLY
lldp tx-delay <seconds(1-8192)>
#END FOR LLDP VERSION 1:

#LLDP VERSION 2 ONLY


lldp MessageFastTx <seconds(1-3600)>
lldp txCreditMax <value (1-10)>
lldp txFastInit <value (1-8)>
#END LLDP VERSION ONLY
exit

162 MN.00320.E - 013


#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-TIMER

7.4.5 LLDP – (Timers Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-TIMER-UNDO
#
# Rev.0001
# (siae microelettronica)
##############################################################+
no lldp notification-interval
no lldp holdtime-multiplier
no lldp reinitialization-delay
no lldp transmit-interval

#LLDP VERSION 1 ONLY


no lldp tx-delay
#END LLDP VERSION 1 ONLY

#LLDP VERSION 2 ONLY


# empty section.
#END LLDP VERSION ONLY

exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-TIMER-UNDO

7.4.6 LLDP – (Port config)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT
#
# Configurations for lldp trasmit and receive
# Configurations for lldp traps notification
# Configurations for port-id TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured

MN.00320.E - 013 163


#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
lldp transmit
lldp receive
lldp notification mis-configuration
lldp notification remote-table-chg
lldp notification mis-configuration remote-table-chg
lldp port-id-subtype if-alias
lldp port-id-subtype port-comp <string(255)>
lldp port-id-subtype mac-addr
lldp port-id-subtype if-name
lldp port-id-subtype local <string(255)>

#LLDP VERSION 2 ONLY


lldp dest-mac <mac_addr>
lldp transmit mac-address <mac_addr>
lldp receive mac-address <mac_addr>
lldp notification mis-configuration remote-table-chg mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT

7.4.7 LLDP – (Port config Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-UNDO
#
# Undo configurations for lldp trasmit and receive
# Undo configurations for lldp traps notification
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp transmit
no lldp receive
no lldp notification

# LLDP VERSION 2 ONLY

164 MN.00320.E - 013


no lldp dest-mac <mac_addr>
no lldp transmit mac-address <mac_addr>
no lldp receive mac-address <mac_addr>
no lldp notification mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-UNDO

7.4.8 LLDP – TLV (Sys Capability TLV)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-SYSC
#
# Enabling lldp basic optional sys-capab TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
lldp tlv-select basic-tlv sys-capab
#LLDP VERSION 2 ONLY
lldp tlv-select basic-tlv sys-capab mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-SYSC

7.4.9 LLDP – TLV (Sys Capability TLV Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-SYSC-UNDO
#
# Undo lldp basic optional sys-capab TLV

MN.00320.E - 013 165


# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp tlv-select basic-tlv sys-capab
#LLDP VERSION 2 ONLY
no lldp tlv-select basic-tlv sys-capab mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-SYSC-UNDO

7.4.10 LLDP – TLV (Sys Name TLV)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-SYSN
#
# Enabling lldp basic optional sys-name TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
lldp tlv-select basic-tlv sys-name
#LLDP VERSION 2 ONLY
lldp tlv-select basic-tlv sys-name mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-SYSN

7.4.11 LLDP – TLV (Sys Name TLV Undo)

#CONTEXT-ENTRY
configure terminal

166 MN.00320.E - 013


#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-SYSN-UNDO
#
# Undo lldp basic optional sys-name TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp tlv-select basic-tlv sys-name
#LLDP VERSION 2 ONLY
no lldp tlv-select basic-tlv sys-name mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-SYSN-UNDO

7.4.12 LLDP – TLV (Sys Desc TLV)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-SYSD
#
# Enabling lldp basic optional sys-descr TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
lldp tlv-select basic-tlv sys-descr
#LLDP VERSION 2 ONLY
lldp tlv-select basic-tlv sys-descr mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-SYSD

MN.00320.E - 013 167


7.4.13 LLDP – TLV (Sys Desc TLV Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-SYSD-UNDO
#
# Undo lldp basic optional sys-descr TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp tlv-select basic-tlv sys-descr
#LLDP VERSION 2 ONLY
no lldp tlv-select basic-tlv sys-descr mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-SYSD-UNDO

7.4.14 LLDP – TLV (Port Desc TLV)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-PRTD
#
# Enabling lldp basic optional port-descr TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
lldp tlv-select basic-tlv port-descr
#LLDP VERSION 2 ONLY
lldp tlv-select basic-tlv port-descr mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

168 MN.00320.E - 013


• Script name: CPLANE-LLDP-PRT-TLV-PRTD

7.4.15 LLDP – TLV (Port Desc TLV Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: : CPLANE-LLDP-PRT-TLV-PRTD-UNDO
#
# Undo lldp basic optional port-descr TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp tlv-select basic-tlv port-descr
#LLDP VERSION 2 ONLY
no lldp tlv-select basic-tlv port-descr mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-PRTD-UNDO

7.4.16 LLDP – TLV (MNGT Adrs TLV)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-MNGT
#
# Enabling lldp basic optional mgmt-addr TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
lldp tlv-select basic-tlv mgmt-addr all
lldp tlv-select basic-tlv mgmt-addr ipv4 <ucast_addr>
#LLDP VERSION 2 ONLY
lldp tlv-select basic-tlv mgmt-addr all mac-address <mac_addr>
lldp tlv-select basic-tlv mgmt-addr ipv4 <ucast_addr> mac-address <mac_addr>

MN.00320.E - 013 169


#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-MNGT

7.4.17 LLDP – TLV (MNGT Adrs TLV Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-MNGT-UNDO
#
# Undo lldp basic optional mgmt-addr TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp tlv-select basic-tlv mgmt-addr all
no lldp tlv-select basic-tlv mgmt-addr ipv4 <ucast_addr>
#LLDP VERSION 2 ONLY
no lldp tlv-select basic-tlv mgmt-addr all mac-address <mac_addr>
no lldp tlv-select basic-tlv mgmt-addr ipv4 <ucast_addr> mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-MNGT-UNDO

7.4.18 LLDP – TLV – DOT1 (PortVID TLV)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT1-PortVID
#
# Enabling lldp 802.1 defined port-vlan-id TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001

170 MN.00320.E - 013


# (siae microelettronica)
##############################################################+
interface <INTF>
lldp tlv-select dot1tlv port-vlan-id
#LLDP VERSION 2 ONLY
lldp tlv-select dot1tlv port-vlan-id mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-PortVID

7.4.19 LLDP – TLV – DOT1 (PortVID TLV Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT1-PortVID-UNDO
#
# Undo lldp 802.1 defined port-vlan-id TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp tlv-select basic-tlv port-vlan-id
#LLDP VERSION 2 ONLY
no lldp tlv-select dot1tlv port-vlan-id mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-PortVID-UNDO

7.4.20 LLDP – TLV – DOT1 (ProtVID TLV)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT1-ProtVID

MN.00320.E - 013 171


#
# Enabling lldp 802.1 defined protocol-vlan-id TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
lldp tlv-select dot1tlv protocol-vlan-id <vlan-id>
lldp tlv-select dot1tlv protocol-vlan-id all
#LLDP VERSION 2 ONLY
lldp tlv-select dot1tlv protocol-vlan-id <vlan-id> mac-address <mac_addr>
lldp tlv-select dot1tlv protocol-vlan-id all mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-ProtVID

7.4.21 LLDP – TLV – DOT1 (ProtVID TLV Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT1-ProtVID-UNDO
#
# Undo lldp 802.1 defined protocol-vlan-id TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp tlv-select dot1tlv protocol-vlan-id <vlan-id>
no lldp tlv-select dot1tlv protocol-vlan-id all
#LLDP VERSION 2 ONLY
no lldp tlv-select dot1tlv protocol-vlan-id <vlan-id> mac-address <mac_addr>
no lldp tlv-select dot1tlv protocol-vlan-id all mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-ProtVID-UNDO

172 MN.00320.E - 013


7.4.22 LLDP – TLV – DOT1 (VIDName TLV)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT1-VIDName
#
# Enabling lldp 802.1 defined vlan-name TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
lldp tlv-select dot1tlv vlan-name <vlan-id>
lldp tlv-select dot1tlv vlan-name all
#LLDP VERSION 2 ONLY
lldp tlv-select dot1tlv vlan-name <vlan-id> mac-address <mac_addr>
lldp tlv-select dot1tlv vlan-name all mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-VIDName

7.4.23 LLDP – TLV – DOT1 (VIDName TLV Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT1-VIDName-UNDO
#
# Undo lldp 802.1 defined vlan-name TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp tlv-select dot1tlv vlan-name <vlan-id>
no lldp tlv-select dot1tlv vlan-name all
#LLDP VERSION 2 ONLY
no lldp tlv-select dot1tlv vlan-name <vlan-id> mac-address <mac_addr>
no lldp tlv-select dot1tlv vlan-name all mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit

MN.00320.E - 013 173


exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-VIDName-UNDO

7.4.24 LLDP – TLV – DOT1 (MngtVID TLV – V2)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: : CPLANE-LLDP-PRT-TLV-DOT1-MngtVID
#
# Enabling lldp 802.1 defined mgmt-vid TLV. V2 only
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
#LLDP VERSION 2 ONLY
lldp tlv-select dot1tlv mgmt-vid
lldp tlv-select dot1tlv mgmt-vid mac-address <mac_addr>
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-MngtVID

7.4.25 LLDP – TLV – DOT1 (MngtVID TLV – V2 Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT1-MngtVID-UNDO
#
# Undo lldp 802.1 defined mgmt-vid TLV. V2 only
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface gigabitethernet <INTF>
#LLDP VERSION 2 ONLY
no lldp tlv-select dot1tlv mgmt-vid
no lldp tlv-select dot1tlv mgmt-vid mac-address <mac_addr>

174 MN.00320.E - 013


exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-MngtVID-UNDO

7.4.26 LLDP – TLV – DOT1 (VIDDgst TLV – V2)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT1-VIDDgst
#
# Enabling lldp 802.1 defined vid-usage-digest TLV. V2 only
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
#LLDP VERSION 2 ONLY
lldp tlv-select dot1tlv vid-usage-digest
lldp tlv-select dot1tlv vid-usage-digest mac-address <mac_addr>
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-VIDDgst

7.4.27 LLDP – TLV – DOT1 (VIDDgst TLV – V2 Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT1-VIDDgst-UNDO
#
# Undo lldp 802.1 defined vid-usage-digest TLV. V2 only
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface gigabitethernet <INTF>
#LLDP VERSION 2 ONLY
no lldp tlv-select dot1tlv vid-usage-digest

MN.00320.E - 013 175


no lldp tlv-select dot1tlv vid-usage-digest mac-address <mac_addr>
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-VIDDgst-UNDO

7.4.28 LLDP – TLV – DOT1 (LAG TLV – V2)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT1-LAG
#
# Enabling lldp 802.1 defined link-aggregation TLV. V2 only
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
#LLDP VERSION 2 ONLY
lldp tlv-select dot1tlv link-aggregation
lldp tlv-select dot1tlv link-aggregation mac-address <mac_addr>
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-LAG

7.4.29 LLDP – TLV – DOT1 (LAG TLV – V2 Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT1-LAG-UNDO
#
# Undo lldp 802.1 defined link-aggregation TLV. V2 only
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface gigabitethernet <INTF>
#LLDP VERSION 2 ONLY

176 MN.00320.E - 013


no lldp tlv-select dot1tlv link-aggregation
no lldp tlv-select dot1tlv link-aggregation mac-address <mac_addr>
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT1-LAG-UNDO

7.4.30 LLDP – TLV – DOT3 (MacPhy TVL)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT3-MAC
#
# Enabling lldp 802.3 defined macphy-config TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
lldp tlv-select dot3tlv macphy-config
#LLDP VERSION 2 ONLY
lldp tlv-select dot3tlv macphy-config mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT3-MAC

7.4.31 LLDP – TLV – DOT3 (MacPhy TVL Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT3-MAC-UNDO
#
# Undo lldp 802.3 defined macphy-config TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001

MN.00320.E - 013 177


# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp tlv-select dot3tlv macphy-config
#LLDP VERSION 2 ONLY
no lldp tlv-select dot3tlv macphy-config mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT3-MAC-UNDO

7.4.32 LLDP – TLV – DOT3 (MaxFrameSize TVL)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT3-FSZ
#
# Enabling lldp 802.3 defined max-framesize TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
lldp tlv-select dot3tlv max-framesize
#LLDP VERSION 2 ONLY
lldp tlv-select dot3tlv max-framesize mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT3-FSZ

7.4.33 LLDP – TLV – DOT3 (MaxFrameSize TVL Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT3-FSZ-UNDO

178 MN.00320.E - 013


#
# Undo lldp 802.3 defined max-framesize TLV
# NOTE: Please remove LLDPv2 section in case of v1 configured
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp tlv-select dot3tlv max-framesize
#LLDP VERSION 2 ONLY
no lldp tlv-select dot3tlv max-framesize mac-address <mac_addr>
#END LLDP VERSION 2 ONLY
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT3-FSZ-UNDO

7.4.34 LLDP – TLV – DOT3 (LAG TVL – V1)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-LLDP-PRT-TLV-DOT3-LAG
#
# Enabling lldp 802.3 defined link-aggregation TLV. V1 only
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
lldp tlv-select dot3tlv link-aggregation
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT3-LAG

7.4.35 LLDP – TLV – DOT3 (LAG TVL – V1 Undo)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################

MN.00320.E - 013 179


# Script name: CPLANE-LLDP-PRT-TLV-DOT3-LAG-UNDO
#
# Undo lldp 802.3 defined link-aggregation TLV
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
no lldp tlv-select dot3tlv link-aggregation
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-LLDP-PRT-TLV-DOT3-LAG-UNDO

7.5 SPANNING TREE

The feature RSTP/STP is available from:

• AGS-20 N31030 01.01.00

• ALFOplus2 N50052 01.00.01.

7.5.1 STP/RSTP-Device Configs

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-RSTP
#
# Rev.0001
# (siae microelettronica)
##############################################################+
spanning-tree mode rst
spanning-tree priority 36864
spanning-tree hello-time 1
spanning-tree forward-time 15
spanning-tree max-age 20
spanning-tree transmit hold-count 6
no shutdown spanning-tree
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-RSTP

180 MN.00320.E - 013


7.5.2 STP/RSTP-Device Configs (UNDO)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::MS-OS(config)#
###############################################################
# Script name: CPLANE-RSTP-UNDO
#
# Rev.0001
# (siae microelettronica)
##############################################################+
shutdown spanning-tree
no spanning-tree
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-RSTP-UNDO

7.5.3 STP/RSTP-Port Configs

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-RSTP-PRT
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
spanning-tree cost 2000
spanning-tree port-priority 32
no spanning-tree disable
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-RSTP-PRT

7.5.4 STP/RSTP-Port Configs (UNDO)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-RSTP-PRT-UNDO
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>

MN.00320.E - 013 181


spanning-tree disable
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-RSTP-PRT-UNDO

7.5.5 RSTP-Port Config


#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-RSTP-PRT-1W
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
spanning-tree mode dot1w enable
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-RSTP-PRT-1W

7.5.6 RSTP-Port config (UNDO)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-RSTP-PRT-1W-UNDO
#
# Rev.0001
# (siae microelettronica)
##############################################################+
interface <INTF>
spanning-tree mode dot1w disable
exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-RSTP-PRT-1W-UNDO

182 MN.00320.E - 013


7.6 SERVICE OAM - CONFIGURATION FAULT MANAGEMENT

The feature IEEE 802.1ag OAM (CFM) is available from:

• ALFOplus80HD N40052 01.05.00

• AGS-20 N31030 01.03.00

• ALFOplus2 N50052 01.01.00.

The feature Y.1731 is available from:

• AGS-20 N31030 01.07.00


• ALFOplus2 N50052 01.03.00

Below the scripts to enable connectivity fault management:


• IEEE 802.1ag (device script ->paragraph 7.6.1 ECFM IEEE 802.1ag (default) - Device config and
port script -> paragraph 7.6.2 ECFM IEEE 802.1ag (default) - Port config)

• ITU-T Y.1731 (see paragraph 7.6.3 ITU-T Y.1731 - Device config and 7.6.4 ITU-T Y.1731 - Port con-
fig)

The logical sequence to active the continuity check message:

• create domain, level and service (see paragraph 7.6.5 Domain, level and service)
• add MEP and MIP (see paragraph 7.6.6 MEP and MIP)

• active CCM (see paragraph 7.6.7 CCM Activation)

The logical sequence to deactive the continuity check message:


• deactive CCM (see paragraph 7.6.8 CCM Activation (UNDO))

• remove MEP and MIP (see paragraph7.6.9 MEP and MIP (UNDO))

• remove domain, level and service (see paragraph 7.6.10 Domain, level and service (UNDO)).

7.6.1 ECFM IEEE 802.1ag (default) - Device config

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-SYS-DEV-8021
#
# SM-OS supports both ieee802.1ag and itu-t y.1731 std.
# -----------------------------------------------------
# This script enables a device to be compliant to the
# ieee802.1ag standard at device level.
# A per-port setup is also available to change the active std.
# to be y.1731.
# A static rmep archive has been choosed too.
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#======================================================
ethernet cfm start
ethernet cfm enable

MN.00320.E - 013 183


no ethernet cfm y1731 enable
no mep archive-hold-time
#======================================================
exit

• Script name: CPLANE-ECFM-SYS-DEV-8021

7.6.2 ECFM IEEE 802.1ag (default) - Port config

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-SYS-PRT-8021
#
# SM-OS supports both ieee802.1ag and itu-t y.1731 std.
# -----------------------------------------------------
# This script enables a port to be compliant to the
# ieee802.1ag standard.
# A per-device setup is also available to change the active std.
# to be y.1731.
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#======================================================
interface <INTFx>
no ethernet cfm y1731 enable
exit
#======================================================
exit

• Script name: CPLANE-ECFM-SYS-PRT-8021

7.6.3 ITU-T Y.1731 - Device config

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-SYS-DEV-1731
#
# SM-OS supports both itu-t y.1731 and ieee802.1ag std.
# -----------------------------------------------------
# This script enables a device to be compliant to the
# itu-t y.1731 standard at device level.
# A per-port setup is also available to change the active std.

184 MN.00320.E - 013


# to be 802.1ag.
# A static rmep archive has been choosed too.
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#======================================================
ethernet cfm start
ethernet cfm enable
ethernet cfm y1731 enable
no mep archive-hold-time
#======================================================
exit

• Script name: CPLANE-ECFM-SYS-DEV-1731

7.6.4 ITU-T Y.1731 - Port config

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-SYS-PRT-1731
#
# SM-OS supports both itu-t y.1731 and ieee802.1ag std.
# -----------------------------------------------------
# This script enables a port to be compliant to the
# itu-t y.1731 standard.
# A per-device setup is also available to change the active std.
# to be 802.1ag.
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#======================================================
interface <INTFx>
ethernet cfm y1731 enable
exit
#======================================================
exit

• Script-name: CPLANE-ECFM-SYS-PRT-1731

MN.00320.E - 013 185


7.6.5 Domain, level and service

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-DL-MA
# Rev.0001
# (siae microelettronica)
##############################################################+
#====================================================
ethernet cfm domain name <DomainName> level <LVL>
service name <ServiceName> vlan 1000
# mep list of device1:
mep crosscheck mpid 1101 vlan 1000
mep crosscheck mpid 1102 vlan 1000
# mep list of device2:
mep crosscheck mpid 1201 vlan 1000
mep crosscheck mpid 1202 vlan 1000
## mep list of device<n>:
#mep crosscheck mpid <mpid> vlan 1000
#mep crosscheck mpid <mpid> vlan 1000
#-----------------------------------
set mip-creation-criteria default
exit
exit

• Script name: CPLANE-ECFM-DL-MA

7.6.6 MEP and MIP

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-MEP-MIP
#
# Rev.0002
# (siae microelettronica)
##############################################################+
#====================================================
# UP MEP
interface <INTF-1>
ethernet cfm mep level <LVL> inward mpid 1101 vlan 1000 active
exit
exit
#====================================================
# DOWN MEP
interface <INTF-2>
ethernet cfm mep level <LVL> mpid 1201 vlan 1000 active
exit

186 MN.00320.E - 013


exit
#====================================================
# MIP
interface <INTF-3>
ethernet cfm mip level <LVL> vlan 1000 active
exit
exit
exit

• Script name: CPLANE-ECFM-MEP-MIP

• Create MEP (Maintenance End Point) in the interface and define the direction:

- UP MEP: unidirectional CCM internal to the switch

- DOWN MEP: unidirectional CCM outgoing from the switch

• MEP is an “active” End Point at the edge of a domain; it can generate the CCM (Continuity Check
Message)

• MIP is a “passive” Maintenance Intermediate Point of a domain; it can reply at the LBM (LoopBack
Message) and LTM (Link Trace Message).

7.6.7 CCM Activation

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-CCM
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#====================================================
#----------------------------------( sec. )
# ... interval three-hundred-hertz ( 0,003)
# ten-ms ( 0,010)
# hundred-ms ( 0,100) def. when PM.
# one-sec ( 1,000) def. when FM.
# ten-sec ( 10,000)
# one-min ( 60,000)
# ten-min (600,000)
ethernet cfm cc domain <DmnName> service <SrvName> interval <INTRVL>
ethernet cfm cc enable domain <DmnName> service <SrvName>
# OR:
ethernet cfm cc domain <DmnName> vlan 1000 interval <INTRVL>
ethernet cfm cc enable domain <DmnName> vlan 1000
# OR:
ethernet cfm cc level <LVL> vlan 1000 interval <INTRVL>
ethernet cfm cc enable level <LVL> vlan 1000
exit

• Script name: CPLANE-ECFM-CCM

MN.00320.E - 013 187


7.6.8 CCM Activation (UNDO)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-CCM-undo
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#====================================================
no ethernet cfm cc enable domain <DmnName> service <SrvName>
# OR:
no ethernet cfm cc enable domain <DmnName> vlan 1000
# OR:
no ethernet cfm cc enable level <LVL> vlan 1000
exit

• Script name: CPLANE-ECFM-CCM-UNDO

7.6.9 MEP and MIP (UNDO)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-MEP-MIP-undo
#
# Rev.0002
# (siae microelettronica)
##############################################################+
#====================================================
# UP MEP
interface <INTF-1>
no ethernet cfm mep level <LVL> inward mpid 1101 vlan 1000 active
exit
#====================================================
# DOWN MEP
interface <INTF-2>
no ethernet cfm mep level <LVL> mpid 1201 vlan 1000 active
exit
#====================================================
# MIP
interface <INTF-3>
no ethernet cfm mip level <LVL> vlan 1000 active
exit
exit

• Script name: CPLANE-ECFM-MEP-MIP-UNDO

188 MN.00320.E - 013


7.6.10 Domain, level and service (UNDO)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-DL-MA-undo
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#====================================================
ethernet cfm domain name <DomainName> level <LVL>
# mep list of device1:
no mep crosscheck mpid 1101 vlan 1000
no mep crosscheck mpid 1102 vlan 1000
# mep list of device2:
no mep crosscheck mpid 1201 vlan 1000
no mep crosscheck mpid 1202 vlan 1000
## mep list of device<n>:
# no mep crosscheck mpid <mpid> vlan 1000
# no mep crosscheck mpid <mpid> vlan 1000
no service name <ServiceName> vlan 1000
#-----------------------------------
exit
no ethernet cfm domain name <DomainName> level <LVL>
exit

• Script name: CPLANE-ECFM-DL-MA-UNDO

7.6.11 MEP lowest priority defect notification

This command configures the MEP lowest priority defect that is allowed to generate a fault alarm.

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-MEP-LOWEST-THRS
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#====================================================
# up MEP: <DIR> = inward
# down MEP: <DIR> = <blank>
interface <INTF-1>
ethernet cfm mep level <LVL> <DIR> mpid 1101 vlan 1000 active
#-- lowest-priority-defect:
# <lpd-thres> = all-Defects
# <lpd-thres> = mac-Rem-Err-Xcon-Defects

MN.00320.E - 013 189


# <lpd-thres> = rem-Err-Xcon-Defects
# <lpd-thres> = err-Xcon-Defects
# <lpd-thres> = defect xcon-Defects
# <lpd-thres> = noXcon-Defects
set lowest-priority-defect <lpd-thres>
exit
exit
exit

• Script name: CPLANE-ECFM-MEP-LOWEST-THRS

7.6.12 MEP lowest priority defect notification (default)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-MEP-LOWEST-THRS-DEF
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#====================================================
# up MEP: <DIR> = inward
# down MEP: <DIR> = <blank>
interface <INTF-1>
ethernet cfm mep level <LVL> <DIR> mpid 1101 vlan 1000 active
#-- lowest-priority-defect:
set lowest-priority-defect mac-Rem-Err-Xcon-Defects
exit
exit
exit

• Script name: CPLANE-ECFM-MEP-LOWEST-THRS-DEF

7.6.13 RMEP crosscheck state machine

This command enables/disables the cross-checking functionality between the MEPs configured in the cross-
check list at the specified level and Vlan.

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
##############################################################+
exit
ethernet cfm mep crosscheck [enable|disable] level <LVL> vlan <VLANID>

190 MN.00320.E - 013


7.6.14 CFM loopback (based on MAC or MPID)

This command sends unicast or multicast loopback messages.

###############################################################
# Script name: CPLANE-ECFM-PING
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#
#== ping by mac
ping ethernet mac <aa:bb:cc:dd:ee:ff> level <LVL> vlan 1000 count 5
#
#== ping by mpid
ping ethernet mpid <MPID> level <LVL> vlan 1000 count 5

• Script name: CPLANE-ECFM-PING

Example: ping from a IEEE 802.1ag port

SM-OS# ping ethernet mac 00:00:33:33:83:09 level 1 vlan 2000 count 5


Ping is initiated from first Possible MEP 2401
Please use Interface Index and Direction to initiate from Specific MEP
Sending 5 Ethernet CFM loopback messages, timeout is 5 seconds
Success rate is 100.0 percent 5/5
SM-OS#

Example: ping from a ITU-T Y.1731 port

SM-OS# ping ethernet mac 00:00:33:33:84:09 level 1 vlan 2000 count 5


Ping is initiated from first Possible MEP 2301
Please use Interface Index and Direction to initiate from Specific MEP
PING 00:00:33:33:84:09 from 00:00:33:33:83:09 with 0(27) bytes of data.
64 bytes from 00:00:33:33:84:09: seq_no=0 time=100 ms
64 bytes from 00:00:33:33:84:09: seq_no=1 time=100 ms
64 bytes from 00:00:33:33:84:09: seq_no=2 time=100 ms
64 bytes from 00:00:33:33:84:09: seq_no=3 time=100 ms
64 bytes from 00:00:33:33:84:09: seq_no=4 time=100 ms
--- 00:00:33:33:84:09 ping statistics ---
packets sent = 5, packets received = 5, packets lost = 0 (0.000% loss),
unexpected received = 0, duplicate received = 0, bad received = 0,
checksum errors = 0, responders = 1, average packets per responder = 5,
rtt min/avg/max = 100/100/100 ms
SM-OS#

7.6.15 CFM traceroute caching enable

This command enables caching of Ethernet Connectivity Fault Management (CFM) data learned through
traceroute (link trace replies) message.
#CONTEXT-ENTRY

MN.00320.E - 013 191


configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-TRACE-EN
#
# Rev.0001
# (siae microelettronica)
##############################################################+
ethernet cfm traceroute cache
exit

• Script name: CPLANE-ECFM-TRACE-EN

7.6.16 CFM traceroute caching disable

#CONTEXT-ENTRY
configure terminal
#CONTEXT::MS-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-TRACE-DIS
#
# Rev.0001
# (siae microelettronica)
##############################################################+
exit
clear ethernet cfm traceroute-cache
configure terminal
no ethernet cfm traceroute cache
exit

• Script name: CPLANE-ECFM-TRACE-DIS

7.6.17 CFM traceroute clear

This command removes the contents of the traceroute cache.


###############################################################
# Script name: CPLANE-ECFM-TRACE-CLR
#
# Rev.0001
# (siae microelettronica)
##############################################################+
clear ethernet cfm traceroute-cache

• Script name: CPLANE-ECFM-TRACE-CLR

192 MN.00320.E - 013


7.6.18 CFM traceroute (based on MAC or MPID)

This command initiates linktrace message by providing MEP identifier of the destination MEP (Maintenance
End Point) or the MAC address of the MEP or MIP.
###############################################################
# Script name: CPLANE-ECFM-TRACE
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#
#== traceroute by mac
traceroute ethernet mac <aa:bb:cc:dd:ee:ff> level <LVL> vlan 1000 time-to-live 5
#
#== traceroute by mpid
traceroute ethernet mpid <MPID> level <LVL> vlan 1000 time-to-live 5

• Script name: CPLANE-ECFM-TRACE

Example: traceroute from a 802.1ag port through Y.1731 and 802.1ag devices

SM-OS# traceroute ethernet mac 00:00:33:33:85:08 level 2 vlan 2000 time-to-live 5


Trace is initiated from first Possible MEP 2304
Please use Interface Index and Direction to initiate from Specific MEP

Traceroute to Macaddress 00:00:33:33:85:08 in domain provDomain at level 2


with vlanId 2000
--------------------------------------------------------------------------------
Hops Host Ingress MAC Ingress Action Relay Action
Next Host Egress MAC Egress Action Fwd Status
--------------------------------------------------------------------------------
1 00:b0:ac:06:37:7f:00:08 NONE IngNoTlv RlyFDB
00:b0:ac:06:37:7f:00:08 00:00:33:33:83:09 EgrOK Forwarded

2 00:00:00:00:00:00:00:00 00:00:33:33:84:09 IngOK RlyFDB


00:00:00:00:00:00:00:00 00:00:33:33:84:10 EgrOK Not Forwarded

3 00:b0:ac:06:37:cf:00:0a 00:00:33:33:85:10 IngOK RlyHit


00:b0:ac:06:37:a7:00:08 00:00:33:33:85:08 EgrOK Terminal MEP

HOPS - 1 :
------------
LTR Management Address: No management address was present in the LTR
Ingress PortId Subtype: NONE
Ingress PortId : NONE
Egress PortId Subtype : 1
Egress PortId : Slot0/9

HOPS - 2 :
------------
LTR Management Address: No management address was present in the LTR

MN.00320.E - 013 193


Ingress PortId Subtype: 0
Ingress PortId :
Egress PortId Subtype : 0
Egress PortId :

HOPS - 3 :
------------
LTR Management Address: No management address was present in the LTR
Ingress PortId Subtype: 1
Ingress PortId : Slot0/10
Egress PortId Subtype : 1
Egress PortId : Slot0/8

Note: NONE - contents of this object are meaningless

SM-OS#

Example: traceroute from a Y.1731 port through 802.1ag and Y.1731 devices

SM-OS# traceroute ethernet mac 00:00:33:33:85:08 level 2 vlan 2000 time-to-live 5


Trace is initiated from first Possible MEP 2304
Please use Interface Index and Direction to initiate from Specific MEP

Traceroute to Macaddress 00:00:33:33:85:08 in domain provDomain at level 2


with vlanId 2000
--------------------------------------------------------------------------------
Hops Host Ingress MAC Ingress Action Relay Action
Next Host Egress MAC Egress Action Fwd Status
--------------------------------------------------------------------------------
1 00:b0:ac:06:37:7f:00:08 NONE IngNoTlv RlyFDB
00:b0:ac:06:37:7f:00:08 00:00:33:33:83:09 EgrOK Forwarded

2 00:00:00:00:00:00:00:00 00:00:33:33:84:09 IngOK RlyFDB


00:00:00:00:00:00:00:00 00:00:33:33:84:10 EgrOK Not Forwarded

3 00:b0:ac:06:37:cf:00:0a 00:00:33:33:85:10 IngOK RlyHit


00:b0:ac:06:37:a7:00:08 00:00:33:33:85:08 EgrOK Terminal MEP

HOPS - 1 :
------------
LTR Management Address: No management address was present in the LTR
Ingress PortId Subtype: NONE
Ingress PortId : NONE
Egress PortId Subtype : 1
Egress PortId : Slot0/9

HOPS - 2 :
------------
LTR Management Address: No management address was present in the LTR
Ingress PortId Subtype: 0
Ingress PortId :

194 MN.00320.E - 013


Egress PortId Subtype : 0
Egress PortId :

HOPS - 3 :
------------
LTR Management Address: No management address was present in the LTR
Ingress PortId Subtype: 1
Ingress PortId : Slot0/10
Egress PortId Subtype : 1
Egress PortId : Slot0/8

Note: NONE - contents of this object are meaningless

SM-OS#

7.6.19 OAM Link Monitor - Start single ended

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-ETH-LM-SingleEnded-ST
#
# ETH-CC must be already configured.
#
# BUFSIZE Size of Buffer (def. 1024)
# LVL Level of LM is applied.
# VLAN Vlan of LM is applied.
# RMEP RMEP of LM is applied.
# CNT No. of transaction.
#
# Rev.0001
# (siae microelettronica)
##############################################################+
ethernet cfm frame loss buffer size <BUFSIZE>
exit
ethernet cfm frame loss start level <LVL> vlan <VLAN> mpid <RMEP> count <CNT>
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-ECFM-ETH-LM-SINGLE ENDED-ST

MN.00320.E - 013 195


7.6.20 OAM Link Monitor - Stop single ended

#CONTEXT-ENTRY
###############################################################
# Script name: CPLANE-ECFM-ETH-LM-SingleEnded-SP
#
# Rev.0001
# (siae microelettronica)
##############################################################+
ethernet cfm frame loss stop level <LVL> vlan <VLAN> mpid <RMEP> count <CNT>
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-ECFM-ETH-LM-SINGLE ENDED-SP

7.6.21 OAM Link Monitor - Show single ended

#CONTEXT-ENTRY
###############################################################
#
# Rev.0001
# (siae microelettronica)
##############################################################+
show ethernet cfm frame loss buffer detail single-ended
#==============================================================
#CONTEXT-EXIT

Example

SM-OS# sho eth cfm frame loss buffer detail single-ended

FL Buffer maximum size configured : 10

Interface : Gi0/8
MEP-ID : 14
Level : 0
VLAN-ID : 1001
ISID : -

peer mac-address near-end loss far-end loss measurement time taken


----------------- ------------- ------------ ----------------------
00:b0:ac:06:e1:a7 0 0 50ms
00:b0:ac:06:e1:a7 0 0 50ms
00:b0:ac:06:e1:a7 0 0 50ms
00:b0:ac:06:e1:a7 0 0 50ms
00:b0:ac:06:e1:a7 0 0 50ms
00:b0:ac:06:e1:a7 0 0 50ms
00:b0:ac:06:e1:a7 0 0 50ms
00:b0:ac:06:e1:a7 0 0 50ms
00:b0:ac:06:e1:a7 0 0 50ms

196 MN.00320.E - 013


00:b0:ac:06:e1:a7 0 0 50ms

--- 00:b0:ac:06:37:d7 single-ended frame loss statistics ---


timestamp = 24 Jul 2016 05:16:5, packets sent = 100, packets received = 100,
near-end loss max/avg/min = 0/0/0,
far-end loss max/avg/min = 0/0/0

SM-OS#

7.6.22 OAM Link Monitor - Start dual ended

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS (config)#
###############################################################
# Script name: CPLANE-ECFM-ETH-LM-DualEnded-ST
#
# ETH-CC must be already configured.
#
# BUFSIZE Size of Buffer (def. 1024)
# LVL Level of LM is applied.
# VLAN Vlan of LM is applied.
#
# INTRVL must be compliant with ccm interval:
#----------------------------------( sec. )
# ... interval three-hundred-hertz ( 0,003)
# ten-ms ( 0,010)
# hundred-ms ( 0,100) def. when PM.
# one-sec ( 1,000) def. when FM.
# ten-sec ( 10,000)
# one-min ( 60,000)
# ten-min (600,000)
#
# Rev.0001
# (siae microelettronica)
##############################################################+
ethernet cfm frame loss buffer size <BUFSIZE>
clear ethernet cfm frame loss buffer
ethernet cfm cc level <LVL> vlan <VLAN> interval <INTRVL> role performance-monitoring
#==============================================================
exit

• Script name: CPLANE-ECFM-ETH-LM-DUAL ENDED-ST

MN.00320.E - 013 197


7.6.23 OAM Link Monitor - Stop dual ended

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS (config)#
###############################################################
# Script name: CPLANE-ECFM-ETH-LM-DualEnded-SP
#
# LVL, VLAN, INTRVL See Start script.
#
# Rev.0001
# (siae microelettronica)
##############################################################+
ethernet cfm cc level <LVL> vlan <VLAN> interval <INTRVL> role fault-management
#==============================================================
exit

• Script name: CPLANE-ECFM-ETH-LM-DUAL ENDED-SP

7.6.24 OAM Link Monitor - Show dual ended

#CONTEXT-ENTRY
###############################################################
# Rev.0001
# (siae microelettronica)
##############################################################+
show ethernet cfm frame loss buffer detail dual-ended
#==============================================================
#CONTEXT-EXIT

Example

SM-OS#
SM-OS# show ethernet cfm frame loss buffer detail dual-ended

FL Buffer maximum size configured : 10

Interface : Gi0/8
MEP-ID : 14
Level : 1
VLAN-ID : 1002
ISID : -

peer mac-address near-end loss far-end loss measurement time taken


----------------- ------------- ------------ ----------------------
00:b0:ac:06:e1:a7 0 0 200ms
00:b0:ac:06:e1:a7 0 0 200ms
00:b0:ac:06:e1:a7 0 0 200ms
00:b0:ac:06:e1:a7 0 0 200ms
00:b0:ac:06:e1:a7 0 0 200ms

198 MN.00320.E - 013


00:b0:ac:06:e1:a7 0 0 200ms
00:b0:ac:06:e1:a7 0 0 300ms
00:b0:ac:06:e1:a7 0 0 500ms
00:b0:ac:06:e1:a7 0 0 200ms
00:b0:ac:06:e1:a7 0 0 200ms

--- 00:b0:ac:06:37:d7 dual-ended frame loss statistics ---


timestamp = 24 Jul 2016 02:49:0, packets received = 1076,
near-end loss max/avg/min = 0/0/0,
far-end loss max/avg/min = 0/0/0

SM-OS#

7.6.25 OAM Link Monitor - Clear

#CONTEXT-ENTRY
###############################################################
# Rev.0001
# (siae microelettronica)
##############################################################+
clear ethernet cfm frame loss buffer
#==============================================================
#CONTEXT-EXIT

7.6.26 OAM Frame Delay Measurement - Start one way

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-ETH-DM-OneWay-ST
#
# ETH-CC must be already configured.
#
# BUFSIZE Size of Buffer (def. 1024)
# LVL Level of DM is applied.
# VLAN Vlan of DM is applied.
# RMEP RMEP of DM is applied.
# CNT No. of transaction.
#
# Rev.0001
# (siae microelettronica)
##############################################################+
ethernet cfm frame delay buffer size <BUFSIZE>
exit
clear ethernet cfm frame delay buffer
ethernet cfm frame delay start type one-way level <LVL> vlan <VLAN> mpid <RMEP> count <CNT>
#==============================================================

MN.00320.E - 013 199


exit

• Script name: CPLANE-ECFM-ETH-DM-ONEWAY-ST

7.6.27 OAM Frame Delay Measurement - Stop one way

#CONTEXT-ENTRY
###############################################################
# Script name: CPLANE-ECFM-ETH-DM-OneWay-SP
#
# Rev.0001
# (siae microelettronica)
##############################################################+
ethernet cfm frame delay stop type one-way level <LVL> vlan <VLAN> mpid <RMEP> count <CNT>
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-ECFM-ETH-DM-ONEWAY-SP

7.6.28 OAM Frame Delay Measurement - Show one way

#CONTEXT-ENTRY
###############################################################
#
# Rev.0001
# (siae microelettronica)
##############################################################+
show ethernet cfm frame delay buffer detail one-way
#==============================================================
#CONTEXT-EXIT

Example on peer

SM-OS#
SM-OS# sho eth cfm frame delay buffer detail one-way

DM Buffer maximum size configured : 1024

Interface : Gi0/8
MEP-ID : 11
Level : 0
VLAN-ID : 1001
ISID : -

peer mac-address frame-delay IFDV FDV


----------------- ----------- ---- ---
00:b0:ac:06:37:d7 340.0ms 0.000ms 0.000ms

200 MN.00320.E - 013


00:b0:ac:06:37:d7 330.0ms 0.000ms 10.00ms
00:b0:ac:06:37:d7 330.0ms 0.000ms 0.000ms
00:b0:ac:06:37:d7 330.0ms 0.000ms 0.000ms
00:b0:ac:06:37:d7 330.0ms 0.000ms 0.000ms
00:b0:ac:06:37:d7 330.0ms 0.000ms 0.000ms
00:b0:ac:06:37:d7 330.0ms 0.000ms 0.000ms
00:b0:ac:06:37:d7 330.0ms 0.000ms 0.000ms
00:b0:ac:06:37:d7 350.0ms 20.00ms 20.00ms
00:b0:ac:06:37:d7 340.0ms 10.00ms 10.00ms
00:b0:ac:06:37:d7 330.0ms 0.000ms 10.00ms

--- 00:b0:ac:06:e1:a7 one-way frame delay statistics ---


timestamp = 23 Jun 2016 11:35:2, packets received = 50,
delay min/avg/max = 330.0ms/334.2ms/390.0ms,
variation avg IFDV/FDV = 4.081ms/6.326ms

SM-OS#

7.6.29 OAM Frame Delay Measurement - Start two way

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-ETH-DM-TwoWay-ST
#
# ETH-CC must be already configured.
#
# BUFSIZE Size of Buffer (def. 1024)
# LVL Level of DM is applied.
# VLAN Vlan of DM is applied.
# RMEP RMEP of DM is applied.
# CNT No. of transaction.
#
# Rev.0001
# (siae microelettronica)
##############################################################+
ethernet cfm frame delay buffer size <BUFSIZE>
exit
clear ethernet cfm frame delay buffer
ethernet cfm frame delay start type two-way level <LVL> vlan <VLAN> mpid <RMEP> count <CNT>
#==============================================================
exit

• Script name: CPLANE-ECFM-ETH-DM-TWOWAY-ST

MN.00320.E - 013 201


7.6.30 OAM Frame Delay Measurement - Stop two way

#CONTEXT-ENTRY
###############################################################
# Script name: CPLANE-ECFM-ETH-DM-TwoWay-SP
#
# Rev.0001
# (siae microelettronica)
##############################################################+
ethernet cfm frame delay stop type two-way level <LVL> vlan <VLAN> mpid <RMEP> count <CNT>
#==============================================================
#CONTEXT-EXIT

• Script name: CPLANE-ECFM-ETH-DM-TWOWAY-SP

7.6.31 OAM Frame Delay Measurement - Show two way

#CONTEXT-ENTRY
###############################################################
#
# Rev.0001
# (siae microelettronica)
##############################################################+
show ethernet cfm frame delay buffer detail two-way

#==============================================
#CONTEXT-EXIT

Example

SM-OS#
SM-OS# sho eth cfm frame delay buffer detail two-way

DM Buffer maximum size configured : 10

Interface : Gi0/8
MEP-ID : 14
Level : 0
VLAN-ID : 1001
ISID : -

peer mac-address frame-delay IFDV FDV


----------------- ----------- ---- ---
00:b0:ac:06:e1:a7 0.000ms 0.000ms 0.000ms
00:b0:ac:06:e1:a7 0.000ms 0.000ms 0.000ms
00:b0:ac:06:e1:a7 0.000ms 0.000ms 0.000ms
00:b0:ac:06:e1:a7 0.000ms 0.000ms 0.000ms
00:b0:ac:06:e1:a7 0.000ms 0.000ms 0.000ms
00:b0:ac:06:e1:a7 0.000ms 0.000ms 0.000ms
00:b0:ac:06:e1:a7 0.000ms 0.000ms 0.000ms
00:b0:ac:06:e1:a7 10.00ms 10.00ms 10.00ms
00:b0:ac:06:e1:a7 0.000ms 0.000ms 10.00ms

202 MN.00320.E - 013


00:b0:ac:06:e1:a7 0.000ms 0.000ms 0.000ms

--- 00:b0:ac:06:37:d7 two-way frame delay statistics ---


timestamp = 30 Aug 2016 09:25:5, packets sent = 100, packets received = 100,
delay min/avg/max = 0.000ms/1.000ms/10.00ms,
variation avg IFDV/FDV = 1.111ms/2.222ms

SM-OS#

7.6.32 OAM Frame Delay Measurement - Clear

#CONTEXT-ENTRY
###############################################################
# Rev.0001
# (siae microelettronica)
##############################################################+
clear ethernet cfm frame delay buffer
#==============================================================
#CONTEXT-EXIT

7.6.33 Ethernet Alarm Indication Signal - Enable

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-ETH-AIS-EN
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#===========================================================
# ADAPTATION FUNC.
ethernet cfm domain name <DOMAIN> level <LVL>
service name <SERVICE> vlan <VLAN>
mep crosscheck mpid <LMEP> vlan <VLAN>
# AIS or LCK ---------------------------------------------
client-layer-level <LVL+n>
exit
#===========================================================
# TERMINATION FUNC.
interface <INTF>
ethernet cfm mep level <LVL> mpid <LMEP> vlan <VLAN> active
set ais enable interval one-sec
exit
exit
#=============================================================
#=============================================================
exit

MN.00320.E - 013 203


• Script name: CPLANE-ECFM-ETH-AIS-EN

7.6.34 Ethernet Alarm Indication Signal - Disable

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-ETH-AIS-DIS
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#===========================================================
ethernet cfm domain name <DOMAIN> level <LVL>
# AIS or LCK ---------------------------------------------
no client-layer-level
exit

interface <INTF>
ethernet cfm mep level <LVL> mpid <LMEP> vlan <VLAN> active
set ais disable
exit
exit
#=============================================================
#=============================================================
exit

• Script name: CPLANE-ECFM-ETH-AIS-DIS

7.6.35 Show Ethernet CFM Service

#CONTEXT-ENTRY
###############################################################
#
# Rev.0001
# (siae microelettronica)
##############################################################+
show ethernet cfm maintenance-points local detail mpid <LMEP>
#==============================================================
#CONTEXT-EXIT

204 MN.00320.E - 013


7.6.36 Show Ethernet CFM Error

#CONTEXT-ENTRY
###############################################################
#
# Rev.0001
# (siae microelettronica)
##############################################################+
show ethernet cfm errors
#==============================================================
#CONTEXT-EXIT

7.6.37 Ethernet CFM Service - Lock

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-ETH-LCK-EN
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#===========================================================
# ADAPTATION FUNC.
ethernet cfm domain name <DOMAIN> level <LVL>
service name <SERVICE> vlan <VLAN>
mep crosscheck mpid <LMEP> vlan <VLAN>
# AIS or LCK ---------------------------------------------
client-layer-level <LVL+n>
exit
#===========================================================
# TERMINATION FUNC.
interface <INTF>
ethernet cfm mep level <LVL> mpid <LMEP> vlan <VLAN> active
set out-of-service enable interval one-sec
exit
exit
#=============================================================
#=============================================================
exit

• Script name: CPLANE-ECFM-ETH-LCK-EN

7.6.38 Ethernet CFM Service - Unlock

#CONTEXT-ENTRY
configure terminal

MN.00320.E - 013 205


#CONTEXT::SM-OS(config)#
###############################################################
# Script name: CPLANE-ECFM-ETH-LCK-DIS
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#===========================================================
ethernet cfm domain name <DOMAIN> level <LVL>
# AIS or LCK ---------------------------------------------
no client-layer-level
exit

interface <INTF>
ethernet cfm mep level <LVL> mpid <LMEP> vlan <VLAN> active
set out-of-service disable
exit
exit
#=============================================================
#=============================================================
exit

• Script name: CPLANE-ECFM-ETH-LCK-DIS

7.7 DYNAMIC PROTOCOL

7.7.1 DHCP-LAO

The feature DHCP is available only on LCT port from:

• AGS-20 N31030 01.06.00.

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: MNGT-LAO
#
# - Availability: AGS-20.
#
# Rev.0001
# (siae microelettronica)
##############################################################+
#CONTEXT::SM-OS(config)
interface cpu0
ip address <DOT_IP_ADRS> <DOT_IP_MASK>
# above network parameters must be compliant to the DHCP
# config parameters.

206 MN.00320.E - 013


exit
exit
#==============================================================
#CONTEXT-EXIT

• Script name: MNGT-LAO

The script configures the static IP address on CPU interface.

7.7.2 DHCP-Enable

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: MNGT-DHCP
#
# Rev.0001
# (siae microelettronica)
##############################################################+
# the DHCP service enabling:
service dhcp-server
ip dhcp ping packets

# the DHCP service configuration ( below network parameters


# must be compliant to the ‘interface cpu0’ configuration):
ip dhcp pool 1
# addresses pool range:
network <DOT_IP_NET> <DOT_IP_MASK> <LAST_DOT_IP_ADRS>
# excluded addresses (in pool) range:
excluded-address <INITIAL_IP_ADRS> <LAST_DOT_IP_ADRS>
# validity period:
lease infinite | <days (0-365)> [<hours (0-23)> [<minutes (1-59)>]]
# additional network parameters:
dns-server <DOT_IP_ADRS>
default-router <DOT_IP_ADRS>
option 1 ip <DOT_IP_MASK>
exit
#CONTEXT::SM-OS(config)#
exit
#==============================================================
# show ip dhcp server information
# show ip dhcp server pools
# show ip dhcp server binding
# show ip dhcp server statistics
#==============================================================
#CONTEXT-EXIT

• Script name: MNGT-DHCP

The script configures the parameters of DHCP server.

MN.00320.E - 013 207


7.7.3 DHCP-Disable

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: MNGT-DHCP-UNDO
#
# Rev.0001
# (siae microelettronica)
##############################################################+
# the DHCP service disabling:
no service dhcp-server

#CONTEXT::SM-OS(config)#
exit
#==============================================================
#CONTEXT-EXIT

• Script name: MNGT-DHCP-UNDO

The script disables the parameters of DHCP server.

7.8 NETWORK FUNCTIONS

7.8.1 Management C-Tag on port CNP/CEP

The feature management C-Tag on port CNP/CEP is available from:

• ALFOplus80HD N40052 01.05.00

• AGS-20 N31030 01.04.00

• ALFOplus2 N50052 01.01.00.

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
#########################################################################
# Script name: SYS-PEB-C_CxP
# <MNGT_VLAN>: default is 1.
#
# INB-LAN1: CEP.
# INB-LAN2: CNP port-based.
#
# CPU
# +----o----+
# | | |

208 MN.00320.E - 013


# Lan1(gi-0/9) –o----, |
# Lan2(gi-0/10)-o----,----o-(gi-0/6)ODU/Lan-A.
# MNGT-Lan3(gi-0/3) –o---- o-(gi-0/7)ODU/Lan-B.
# Lan4(gi-0/8) –o o-(gi-0/1)ODU/Lan-C.
# Lan5(gi-0/4) -o o-(gi-0/2)ODU/Lan-D.
# Lan6(gi-0/5) -o |
# | |
# +---------+
#
# - Availability: AGS-20 1.3.0 and next.
# --------------------------------------
#
# Rev.0001
# (siae microelettronica)
##########################################################+##############
#========================================================================
interface gigabitethernet 0/3
bridge port-type propProviderNetworkPort
no shutdown
exit
interface gigabitethernet 0/6
bridge port-type providerNetworkPort
no shutdown
exit
interface gigabitethernet 0/9
bridge port-type customerEdgePort
no shutdown
exit
interface gigabitethernet 0/10
bridge port-type customerNetworkPort port-based
no shutdown
exit
vlan <MNGT_VLAN>
# CQCQ:
# 1. Lan1(gi0/9) is a CEP attached to a vlan as tagged port.
# 2. Lan2(gi0/10) is a CNP attached to a vlan as tagged port.
#
# Both conditions 1 and 2 are accepted and activate the following
# feature. At customer ports:
# - C-VLAN(<MNGT_VLAN>) frames are switched and
# C->S tags are remapped.
# - Other frames are handled according to customer port rules.
#
ports gigabitethernet 0/9 gigabitethernet 0/10 name mngt1
ports add gigabitethernet 0/6
ports add gigabitethernet 0/3 untagged gigabitethernet 0/3
exit

default ip vlan id <MNGT_VLAN>


default ip address <DOT_IP_ADRS> subnet-mask <DOT_IP_MASK>
default gateway route <DOT_IP_GATEWAY>

#To redirect mng packets to the higher queue

MN.00320.E - 013 209


mac access-list extended 1
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 2
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 3
permit any any vlan <MNGT_VLAN>
exit
mac access-list extended 4
permit any any vlan <MNGT_VLAN>
exit

interface gigabitethernet 0/3


switchport priority default 7
switchport ingress-filter
mac access-group 1 in
exit
interface gigabitethernet 0/6
switchport priority default 7
switchport ingress-filter
mac access-group 2 in
exit
interface gigabitethernet 0/9
switchport priority default 7
switchport ingress-filter
mac access-group 3 in
exit
interface gigabitethernet 0/10
switchport priority default 7
switchport ingress-filter
mac access-group 4 in
exit

class-map 10
match access-group mac-access-list 1
set class 10 regen-priority 7 group-name mng_group_1
exit
class-map 20
match access-group mac-access-list 2
set class 20 regen-priority 7 group-name mng_group_2
exit
class-map 30
match access-group mac-access-list 3
set class 30 regen-priority 7 group-name mng_group_3
exit
class-map 40
match access-group mac-access-list 4
set class 40 regen-priority 7 group-name mng_group_4
exit
#----------------------------------------------------------------------
# MNGT-LAN3,2,1,A already handled above.

210 MN.00320.E - 013


#---------------------------------
# LINE INTERFACES
interface gigabitethernet 0/8
# This is the LAN4.
switchport ingress-filter
exit
interface gigabitethernet 0/4
# This is the LAN5.
switchport ingress-filter
exit
interface gigabitethernet 0/5
# This is the LAN6.
switchport ingress-filter
exit

#----------------------------------------------------------------------
# LAN / RADIO INTERFACES
interface gigabitethernet 0/7
# This is the LAN-ODU-B.
switchport ingress-filter
exit
interface gigabitethernet 0/1
# This is the LAN-ODU-C.
switchport ingress-filter
exit
interface gigabitethernet 0/2
# This is the LAN-ODU-D.
switchport ingress-filter
exit
exit
#========================================================================
#CONTEXT-EXIT

• Script name: SYS-PEB-C_CXP.

With this script, SM-OS switch accepts the management C-Tagged on port CNP/CEP in case of Provider
Edge Bridge mode and classifies <MNGT-VLAN> at priority 7.

7.8.2 Static IP routing

The feature Static IP routing is available only on LCT port from:

• AGS-20 N31030 01.03.00.

#CONTEXT-ENTRY
configure terminal
#CONTEXT::MS-OS(config)#
###############################################################
# Script name: MNGT-IP-ROUT
#
# - Availability: AGS-20 1.3.0 and next.
# --------------------------------------

MN.00320.E - 013 211


#
# Rev.0001
# (siae microelettronica)
##############################################################+
set mgmt-port routing enable
exit
#==============================================================
#CONTEXT-EXIT

• Script name: MNGT-IP-ROUT

The script enables the routing of LCT port.

7.8.3 Static IP routing (UNDO)

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: MNGT-IP-ROUT-UNDO
#
# - Availability: AGS-20 1.3.0 and next.
# --------------------------------------
#
# Rev.0001
# (siae microelettronica)
##############################################################+
set mgmt-port routing disable
exit
#==============================================================
#CONTEXT-EXIT

• Script name: MNGT-IP-ROUT-UNDO

The script disables the routing of LCT port.

7.8.4 MNG access control list

The feature ACL L3 is available from:

• ALFOplus80HD N40052 01.05.00

• AGS-20 N31030 01.03.00


• ALFOplus2 N50052 01.01.00.

#CONTEXT-ENTRY
configure terminal
#CONTEXT: :SM-OS (config) #
#################################################################
# Script name: MNGT-ACL-LIST
#
#

212 MN.00320.E - 013


# Rev.0001
# (siae microelettronica)
#################################################################
#Create and configure the rule
SM-OS(config)# mgmt access-list <ID_ACL>
SM-OS(config-mng-acl)# [permit/deny] {host <src-ip-address> | <src-ip-address> <mask>} [1-
255]
SM-OS(config-mng-acl)# exit
#Make the rule effective
SM-OS(config)# int vlan <ID_IF>
SM-OS(config-if)# mgmt access-group <ID_ACL> in
SM-OS(config-if)# exit

#Show current configuration


#SM-OS# show mng access-list [(id <ID>) (order-by [id/priority])]

#===============================================================
#CONTEXT-EXIT

• Script name: MNGT-ACL-LIST

Fields in [] brackets are mandatory while () brackets contain optional fields.

The following list summarizes the requirements of the ACL L3 feature:

• up to 20 rules can be created

• for each rule the user shall be able to configure the SRC IP address to be BLOCKED/FORWARDED
and relevant IP MASK (if not configured the default MASK is 255.255.255.255) and assign a certain
priority to the rule. IP and priority are mandatory fields

• priority goes from 1 to 255 where 255 is the higher one

• rules need to be associated to a specific MNG interface before becoming active

• one rule can be associated to more than one MNG interface

• rules shall be applied only to incoming packets, no check on outgoing packets

• the first rule matching starting from higher priority shall be executed and then no other rule shall
be checked/executed. Inside the same group rules are ordered by ID (higher wins)

• if no rule matches packet goes ahead to upper layers


• once the rule has been made active it will be immediately added to the list of active rules and will
begin to be effective for each new TCP connection/UDP stream, i.e. a filter is required to be added
to the IP stack checking for the type of the packet: a TCP packet shall be dropped only if the SYN
bit (and only this one) is set to 1 while UDP and all the other IP packets matching the criteria shall
be always dropped. Please notice that to avoid dropping packets directed to other peers the check
must be obviously done on the (SRC IP, DST IP) couple.

7.9 SNTP

The feature SNTP is available from:

• AGS-20 N31030 01.06.00

MN.00320.E - 013 213


• ALFOplus2 N50052 01.02.00

7.9.1 Enable SNTP

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: SNTP-ENABLE
#
# Rev.0001
# (siae microelettronica)
##############################################################+
# the SNTP service enabling:
sntp
set sntp client version v4
set sntp client addressing-mode unicast
set sntp unicast-server ipv4 <1°_server_IP_Address> primary version 3
set sntp unicast-server ipv4 <2°_server_IP_Address> secondary version 3
set sntp client enabled
exit
#==============================================================

• Script name: SNTP-ENABLE

7.9.2 Disable SNTP

#CONTEXT-ENTRY
configure terminal
#CONTEXT::SM-OS(config)#
###############################################################
# Script name: SNTP-DISABLE
#
# Rev.0001
# (siae microelettronica)
##############################################################+
# the SNTP service disabling:
sntp
no sntp unicast-server ipv4 <2°_server_IP_Address>
no sntp unicast-server ipv4 <1°_server_IP_Address>
set sntp client disabled
exit
#==============================================================

• Script name: SNTP-DISABLE

214 MN.00320.E - 013


8 FREQUENTLY USED COMMANDS

8.1 SHOW COMMANDS

Warning: never use show command in (config) mode.

8.1.1 Interfaces & VLAN configuration

show interfaces status


The command displays interfaces summary status.

Example: SM-OS# show interfaces status


Port Status Duplex Speed Negotiation Capability
---- ------ ------ ----- ----------- ----------
Gi0/1 connected Full 2.5 Gbps No-Negotiation Auto-MDIX on
Gi0/2 not connected Full 1 Gbps Auto Auto-MDIX on
Gi0/3 not connected Full 1 Gbps Auto Auto-MDIX on
Gi0/4 not connected Half - Auto Auto-MDIX on
Gi0/5 not connected Full 1 Gbps Auto Auto-MDIX on
Gi0/6 not connected Full 1 Gbps Auto Auto-MDIX on
Gi0/7 not connected Full 1 Gbps Auto Auto-MDIX on
Gi0/8 not connected Full 1 Gbps Auto Auto-MDIX on
Gi0/9 connected Full 100 Mbps Auto Auto-MDIX on
Gi0/10 connected Full 1 Gbps No-Negotiation Auto-MDIX on
SM-OS#

show interfaces description


The command displays interfaces description for ALFOplus80HD.

Example: SM-OS# show interfaces description

Interface Status Protocol Description


--------- ------ -------- -----------
Gi0/9 up down MGMT
Gi0/2 up down AUX
Gi0/3 up down
Gi0/4 up down
Gi0/5 up down
Gi0/6 up up LAN-2
Gi0/7 up down
Gi0/8 up down
Gi0/1 up up RADIO
Gi0/10 up up LAN-1
vlan1 up up
SM-OS#

MN.00320.E - 013 215


The command displays interfaces description for AGS-20.

Example: SM-OS# show interfaces description

Interface Status Protocol Description


--------- ------ -------- -----------
Gi0/3 up up LAN 3
Gi0/2 down down ODU/LAN D
Gi0/1 down down ODU/LAN C
Gi0/4 down down LAN 5
Gi0/5 down down LAN 6
Gi0/6 up up ODU/LAN A
Gi0/7 down down ODU/LAN B
Gi0/8 down down LAN 4
Gi0/9 up up LAN 1
Gi0/10 down down LAN 2
vlan1 up up
SM-OS#

show vlan
It displays VLAN entry related information of all active VLANs and VLANs (that are not active) for which the
port details are configured.

Example: SM-OS# show vlan


Vlan database
-------------
Vlan ID : 1
Member Ports : Gi0/9
Untagged Ports : Gi0/9
Forbidden Ports : None
Name : MNG
Status : Permanent
----------------------------------------------------
Vlan ID : 200
Member Ports : Gi0/1, Gi0/10
Untagged Ports : Gi0/10
Forbidden Ports : None
Name :
Status : Permanent
----------------------------------------------------
SM-OS#

216 MN.00320.E - 013


show vlan port config port gigabitethernet 0/1
It displays the VLAN related port specific info for all interfaces available in the switch / all contexts.

Example: SM-OS# show vlan port config port gigabitethernet 0/10


Vlan Port configuration table
-------------------------------
Port Gi0/10
Bridge Port Type : Customer Bridge Port
Port Vlan ID : 200
Port Acceptable Frame Type : Admit All
Port Mac Learning Status : Enabled
Port Ingress Filtering : Enabled
Port Mode : Hybrid
Port Gvrp Status : Disabled
Port Gmrp Status : Disabled
Port Gvrp Failed Registrations : 2
Gvrp last pdu origin : 00:00:00:00:00:00
Port Restricted Vlan Registration : Disabled
Port Restricted Group Registration : Unknown
Mac Based Support : Disabled
Subnet Based Support : Disabled
Port-and-Protocol Based Support : Enabled
Default Priority : 0
Dot1x Protocol Tunnel Status : Peer
LACP Protocol Tunnel Status : Peer
Spanning Tree Tunnel Status : Peer
MVRP Protocol Tunnel Status : Peer
MMRP Protocol Tunnel Status : Peer
GVRP Protocol Tunnel Status : Peer
GMRP Protocol Tunnel Status : Peer
IGMP Protocol Tunnel Status : Peer
Filtering Utility Criteria : Default
Port Protected Status : Disabled
-------------------------------------------------------
SM-OS#

show vlan device info


It displays the VLAN global information that is applicable to all VLANs created in the switch/all contexts.

Example: SM-OS# show vlan device info


Vlan device configurations
--------------------------
Vlan Status : Enabled
Vlan Oper status : Enabled
Gvrp status : Disabled
Gmrp status : Disabled
Gvrp Oper status : Disabled
Gmrp Oper status : Disabled
Mac-Vlan Status : Disabled
Subnet-Vlan Status : Disabled
Protocol-Vlan Status : Enabled
Bridge Mode : Customer Bridge
Base-Bridge Mode : Vlan Aware Bridge

MN.00320.E - 013 217


Traffic Classes : Enabled
Vlan Operational Learning Mode : IVL
Hybrid Default Learning Mode : IVL
Version number : 1
Max Vlan id : 4066
Max supported vlans : 256
Global mac learning status : Enabled
Filtering Utility Criteria : Enabled
Unicast mac learning limit : 950
SM-OS#

show provider-bridge port config port gigabitethernet 0/6


The command displays Service VLAN port information (only in provider-bridge mode)

Example: SM-OS# show provider-bridge port config port g 0/6


Provider Bridge Port configuration table
-----------------------------------------
Port Gi0/6
Port Type : Customer Network Port(Port-Based)
Dot1x Protocol Tunnel Status : Peer
LACP Protocol Tunnel Status : Peer
Spanning Tree Tunnel Status : Tunnel
MVRP Protocol Tunnel Status : Tunnel
MMRP Protocol Tunnel Status : Tunnel
GVRP Protocol Tunnel Status : Tunnel
GMRP Protocol Tunnel Status : Tunnel
IGMP Protocol Tunnel Status : Tunnel
Service Vlan Classification : PVID
Ingress EtherType : 0x88a8
Egress EtherType : 0x88a8
EtherType Swap Status : Disable
Service Vlan Translation Status : Disable
Require Drop Encoding : False
Use_Dei : False
PCP Selection Row : 8P0D
Unicast Mac Learning Status : Enable
Unicast Mac Learning Limit : 950
Allowable TPID 1 : 0x0
Allowable TPID 2 : 0x0
Allowable TPID 3 : 0x0
SVLAN Priority Type : NONE
SM-OS#

218 MN.00320.E - 013


show interface bridge port-type
This command displays all type of bridge port configured

Example: SM-OS# show interface bridge port-type


Gi0/1 Bridge port type is Customer Bridge Port
Gi0/2 Bridge port type is Customer Bridge Port
Gi0/3 Bridge port type is Customer Bridge Port
Gi0/4 Bridge port type is Customer Bridge Port
Gi0/5 Bridge port type is Customer Bridge Port
Gi0/6 Bridge port type is Customer Bridge Port
Gi0/7 Bridge port type is Customer Bridge Port
Gi0/8 Bridge port type is Customer Bridge Port
SM-OS#

show service vlan


This command displays C-VLAN to S-VLAN mapping and related informations on CEP port.

Example: SM-OS# show service vlan

Service Vlan Classification


-------------------------------
Service Vlan Port Customer Vlan Untag-pep Untag-cep Relay CVlan Id
SVLAN Pri Type SVLANPrio
----------------------------------------------------------------------------
----------------------------
100 Gi0/6 10 False False 10
NONE NA
100 Gi0/6 20 False False 20
NONE NA
100 Gi0/6 30 False False 30
NONE NA
100 Gi0/6 40 False False 40
NONE NA
100 Gi0/6 50 False False 50
NONE NA
100 Gi0/6 55 False True 55
NONE NA
Service Vlan Port pvid
-----------------------------------------------------------
1 Gi0/9 1
1 Gi0/2 1
1 Gi0/3 1
1 Gi0/4 1
1 Gi0/5 1
100 Gi0/6 100
1 Gi0/7 1
1 Gi0/8 1
1 Gi0/1 1
1 Gi0/10 1
SM-OS#

MN.00320.E - 013 219


show interface mtu
This command displays MTU of all the interfaces

Example: SM-OS# show interface mtu


Gi0/9 MTU size is 9216
Gi0/10 MTU size is 9216
SM-OS#

show port-isolation
This command displays isolation between switch ports

Example: M-OS# show port-isolation


Ingress Port VlanId StorageType Egress List
============ ====== =========== ===========
Gi0/1 - Non-Volatile Gi0/6,Gi0/9
Gi0/10 - Non-Volatile Gi0/6

show monitor session 1


This command displays all mirroring session enabled

Example: SM-OS# show monitor session 1


Mirroring is globally Enabled.
Session : 1
-------
Source Ports
Rx: Gi0/9
Tx: None
Both: None
Destination Ports: Gi0/6
SM-OS#

8.1.1.1 EVC mapping and services

show ethernet uni


This command displays attributes for all configured UNI for CEP Ports

Example: SM-OS# show ethernet uni


Switch default

Gi0/10, Status : Active


UNI Identifier : UNI02
Speed Auto-speed, MTU 1500 bytes
Multplexing : Enabled
Bundling : Enabled
All-to-One Bundling : Disabled

220 MN.00320.E - 013


Default CE-VLAN 1, Max number of EVCs 256

UNI L2CP Processing


Dot1x : Peer
LA : Peer
STP : Peer
GVRP : Tunnel
GMRP : Tunnel
MVRP : Tunnel
MMRP : Tunnel
LLDP : Discard
ELMI : Peer
SM-OS#

show ethernet evc


It displays attributes for all configured EVC for CEP Ports

Example: SM-OS# show ethernet evc


Switch default
EVC : 100
EVC Identifier : evc100
EVC Type : Point-to-Point (E-Line)
Max UNIs : 2
VLAN ID preservation : Disabled
CoS preservation : Disabled
Status : Active
SM-OS#

show ethernet ce-vlan evc map


This command displays CE-VLAN <-> EVC mapping for CEP ports
Example: SM-OS# show ethernet ce-vlan evc map
Switch default
---------------------
CE-VLAN and EVC Mapping Information

CE-VLAN UNI EVC Status


10 Gi0/10 100 Active
SM-OS#

MN.00320.E - 013 221


8.1.2 Counters

show interfaces counters


It displays counters for all interfaces. [clear counters]

Example: SM-OS# show interfaces counters


Port InOctet InUcast InMcast InBcast InDiscard InErrs InHCOc
---- ------- ------- ------- ------- --------- ------ --
Gi0/1 968670208 20561084 0 0 884622 0 5263637504
Gi0/2 0 0 0 0 0 0 0
Gi0/3 0 0 0 0 0 0 0
Gi0/4 0 0 0 0 0 0 0
Gi0/6 9649131 28440 9120 40927 10760 0 964
Gi0/8 0 0 0 0 0 0 0

8.1.3 RMON

show rmon statistics


It displays the currently RMON statistics

Example: SM-OS# show rmon statistics


RMON is enabled
Collection 1 on ge/1 is active, and owned by monitor,
Monitors ifEntry.1.1 which has
Received 2474088679 octets, 2872459476 packets,
0 broadcast and 0 multicast packets,
0 undersized and 0 oversized packets,
0 fragments and 0 jabbers,
0 CRC alignment errors and 0 collisions.
0 out FCS errors,
# of packets received of length (in octets):
64: 5743372, 65-127: 910560499, 128-255: 1938741604,
256-511: 4190228122, 512-1023: 2922720215, 1024-1518: 56037922,
1519-1522: 32002534
Collection 10 on Gi0/10 is active, and owned by monitor,
Monitors ifEntry.1.10 which has
Received 2377004569 octets, 3591580589 packets,
2871546 broadcast and 0 multicast packets,
0 undersized and 0 oversized packets,
0 fragments and 0 jabbers,
11 CRC alignment errors and 0 collisions.
0 out FCS errors,
# of packets received of length (in octets):
64: 6307357, 65-127: 465449862, 128-255: 973209432,
256-511: 2101347636, 512-1023: 3605037102, 1024-1518: 15184687,
1519-1522: 0
Number of statistics collection on interface: 2

222 MN.00320.E - 013


show running-config rmon
The command displays the currently RMON operating configuration in the system

Example: SM-OS# sh running-config rmon


interface gigabitethernet 0/1
rmon collection stats 1 owner monitor
!
set rmon enable
!
end

show rmon history


The command displays the stored bucket RMON statistics history
Example SM-OS# show rmon history

RMON is enabled
Entry 1 is active, and owned by monitor
Monitors ifEntry.1.1 every 60 second(s)
Requested # of time intervals, ie buckets, is 240,
Granted # of time intervals, ie buckets, is 50,
Sample 1 began measuring at Apr 11 11:53:07 2014
Received 47074 octets, 493 packets,
274 broadcast and 41 multicast packets,
0 undersized and 0 oversized packets,
0 fragments and 0 jabbers,
0 CRC alignment errors and 0 collisions,
# of dropped packet events is 0
Network utilization is estimated at 0

MN.00320.E - 013 223


show service statistics
It displays the current RMON service statistics for C-VLAN, S-VLAN, outer PCP

Example: SM-OS# show service statistics

RMON is enabled
Collection 1 on Interface Gi0/1, service type port+outerPriority,
Outer Vid 0, Inner Vid 0, Priority 7,
active, owned by monitor,
Packets Rx msn 0 | lsn 0,
Packets Tx msn 0 | lsn 0,
Bytes Rx msn 0 | lsn 0,
Bytes Tx msn 0 | lsn 0,
Discard Packets Rx msn 0 | lsn 0,
Discard Packets Tx msn 0 | lsn 0,
Unicast Packets Rx msn 0 | lsn 0,
Unicast Packets Tx msn 0 | lsn 0,
Not Unicast Packets Rx msn 0 | lsn 0,
Not Unicast Packets Tx msn 0 | lsn 0
Total number of service collection statistics: 1
Number of service port-outerVlan collection statistics: 0
Number of service port-priority collection statistics: 1

SM-OS#

show service history


It displays the stored history bucket RMON service statistics for C-VLAN, S-VLAN, outer PCP
Example: SM-OS# show rmon history

RMON is enabled
Entry 1 is active, and owned by monitor
Monitors ifEntry.1.1 every 60 second(s)
Requested # of time intervals, ie buckets, is 240,
Granted # of time intervals, ie buckets, is 50,
Sample 1 began measuring at Apr 11 11:53:07 2014
Received 47074 octets, 493 packets,
274 broadcast and 41 multicast packets,
0 undersized and 0 oversized packets,
0 fragments and 0 jabbers,
0 CRC alignment errors and 0 collisions,
# of dropped packet events is 0
Network utilization is estimated at 0

224 MN.00320.E - 013


8.1.4 MAC address

show vlan learning params


It displays the VLAN global information for MAC address learning.

Example: SM-OS# sh vlan learning params


Unicast MAC Learning Paramters
-------------------------------------
Vlan Id : 1
Mac Learning Admin-Status : Default
Mac Learning Oper-Status : Enable
Mac Learning Limit : 100
-------------------------------------
Vlan Id : 100
Mac Learning Admin-Status : Default
Mac Learning Oper-Status : Enable
Mac Learning Limit : 500
-------------------------------------
Vlan Id : 300
Mac Learning Admin-Status : Default
Mac Learning Oper-Status : Enable
Mac Learning Limit : 100
-------------------------------------
SM-OS#

show mac-address-table
It displays all static / dynamic unicast and multicast MAC entries created in the MAC address table.

Example: SM-OS# show mac-address-table


Vlan Mac Address Type ConnectionId Ports
---- ----------- ---- ----------- -----
1 00:0f:90:72:27:c3 Learnt Gi0/7
1 00:1b:3f:61:d8:f8 Learnt Gi0/7
1 00:50:04:bf:ae:4b Learnt Gi0/7
1 00:b0:ac:00:df:24 Learnt Gi0/7
1 00:b0:ac:03:ef:91 Learnt Gi0/7
1 00:b0:ac:04:ea:96 Learnt Gi0/7
1 08:00:09:8b:0d:a0 Learnt Gi0/7
1 08:00:27:3b:eb:39 Learnt Gi0/7
1 d4:be:d9:52:ff:fc Learnt Gi0/7

Total Mac Addresses displayed: 9


SM-OS#

MN.00320.E - 013 225


show mac-address-table count
It displays the total number of static / dynamic unicast and multicast MAC address entries created in the
FDB table.

Example: SM-OS# show mac-address-table count


Mac Entries for Vlan 1:
--------------------------
Dynamic Unicast Address Count : 9
Dynamic Multicast Address Count : 0
Static Unicast Address Count : 0
Static Multicast Address Count : 0
----------------------------------------

Mac Entries for Vlan 200:


--------------------------
Dynamic Unicast Address Count : 0
Dynamic Multicast Address Count : 0
Static Unicast Address Count : 0
Static Multicast Address Count : 0
----------------------------------------
SM-OS#

show mac-address-table aging-time


This command displays the configured aging-time for MAC address table.

Example: SM-OS# show mac-address-table aging-time

Mac Address Aging Time: 300

SM-OS#

8.1.5 L2CP Tunnelling

show l2protocol-tunnel summary


It displays for each interfaces L2CP protocols that are tunneled.

Example: SM-OS# show l2protocol-tunnel summary

COS for Encapsulated Packet : 7

Port Protocol Status


---- -------- ------
Gi0/10 STP up
Gi0/10 GVRP up
Gi0/10 GMRP up
Gi0/10 MVRP up
Gi0/10 MMRP up
Gi0/10 IGMP up

226 MN.00320.E - 013


SM-OS#

show l2protocol tunnel-mac-address


It displays for each L2CP protocols that are tunneled.

Example: SM-OS# show l2protocol tunnel-mac-address


VLAN tunnel MAC address
--------------------------
Dot1x tunnel MAC address : 01:00:0c:cd:cd:d3
LACP tunnel MAC address : 01:00:0c:cd:cd:d4
STP tunnel MAC address : 01:00:0c:cd:cd:d0
MVRP tunnel MAC address : 01:00:0c:cd:cd:d5
MMRP tunnel MAC address : 01:00:0c:cd:cd:d6
GVRP tunnel MAC address : 01:00:0c:cd:cd:d1
GMRP tunnel MAC address : 01:00:0c:cd:cd:d2
SM-OS#

8.1.6 Routing

show ip interface
It displays IP address and status of each VLAN interface

Example: SM-OS# show ip interface


vlan1 is up, line protocol is up
Internet Address is 172.18.19.119/16
Broadcast Address 172.18.255.255

show ip route
This command displays routes and default gateway.

Example: SM-OS# show ip route


Codes: C - connected, S - static, R - rip, B - bgp, O - ospf
IA - OSPF inter area, N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
E2 - OSPF external type 2

Vrf Name: default


---------
S 0.0.0.0/0 [1] via 172.18.0.1
C 172.18.0.0/16 is directly connected, vlan1

SM-OS#

MN.00320.E - 013 227


8.1.7 Classifier priority MAP

show qos pbit-preference-over-Dscp


It displays the priority map preference Pbit or DSCP

Example: SM-OS# show qos pbit-preference-over-Dscp


QoS Default Pbit Preference Entries
---------------------------------
IfIndex Pbit preference over DSCP
-------- -------------------------
Gi0/1 Enabled
Gi0/2 Enabled
Gi0/3 Enabled
Gi0/4 Enabled
Gi0/5 Enabled
Gi0/6 Disabled
Gi0/7 Enabled
Gi0/8 Enabled
Gi0/9 Enabled
Gi0/10 Disabled
SM-OS#

show priority-map
The command displays the priority map Pbit or DSCP into Queue (1-8 default)

Example: SM-OS# show priority-map


QoS Priority Map Entries
------------------------
PriorityMapId : 1
IfIndex : 0
VlanId : 0
InPriorityType : VlanPriority
InPriority : 0
RegenPriority : 0
InnerRegenPriority : None

PriorityMapId : 2
IfIndex : 0
VlanId : 0
InPriorityType : VlanPriority
InPriority : 1
RegenPriority : 1
InnerRegenPriority : None

228 MN.00320.E - 013


8.1.8 Classifier L2 ACL

show access-list
It displays the access lists configuration

Example: SM-OS# show access-lists


IP ACCESS LISTS
-----------------
No IP Access Lists have been configured

MAC ACCESS LISTS


-----------------
Extended MAC Access List 10
-----------------------------
Filter Priority : 1
Ether Type : 0
Protocol Type : 0
Vlan Id : 0
Destination MAC Address : 00:00:00:00:00:00
Source MAC Address : 00:00:00:00:00:00
In Port List : Gi0/10
Out Port List : NIL
Outer EtherType : 0
Service Vlan : 0
Service Vlan Priority : None
Customer Vlan Priority : None
Packet Tag Type : Single-tag
Filter Action : Permit
Redirect Port List :
Filter Creation Mode : External
Status : Active

show class-map
This command displays the class map entry

Example: SM-OS# show class-map


QoS Class Map Entries
---------------------
ClassMapId : 10
L2FilterId : 10
L3FilterId : None
PriorityMapId : None
CLASS : 10
PolicyMapId : None
PreColor : None
Status : Active

show class-to-priority-map <group-name>


This command displays the class to regen priority map

MN.00320.E - 013 229


Example: SM-OS# show class-to-priority-map gold
QoS Class To Priority Map Entries
---------------------
GroupName : gold
Class LocalPriority
10 7

8.1.9 Meter

show meter
This command displays the Meter entry for policing

Example: SM-OS# show meter


QoS Meter Entries
-----------------
MeterId : 10
Type : TRTCM
Color Mode : Color Blind
Interval : None
CIR : 100000
CBS : 10000
EIR : 100000
EBS : 10000
NextMeter : None
Status : Active

8.1.10 Policer

show policy-map
This command displays the QoS policy maps, which defines criteria for incoming traffic

Example: SM-OS# show policy-map 10


QoS Policy Map Entries
----------------------
PolicyMapId : 10
IfIndex : 0
Class : 10
DefaultPHB : None.
MeterId : 10
ConNClass : 0
ExcNClass : 0
VioNClass : 0
ConfAct : None.
ExcAct : None, Vlan DE 1
VioAct : Drop

230 MN.00320.E - 013


8.1.11 Queues

show queue-template
This command displays the configured congestion control for each queue (Tail Drop or Strict).

Q Template Id is referred in Qtemplate in show queue.

Example: REDAES_41# show queue-template


Queue Template Entries
----------------------
Q Template Id : 1
Q Limit : 50000
Drop Type : Tail Drop
Drop Algo Status : Disable

Q Template Id : 2
Q Limit : 50000
Drop Type : WRED
Drop Algo Status : Enable
DP 0, MinTH 12, MaxTH 222, MaxPktSize 1000,MaxDropProb 100, ExpWeight 0, Gain
0, ECN Threshold 0
Drop threshold type : Discard Packets
RD Cfg Flag : none

show queue
It displays the configured queue behaviour (weight in case of WRR)

Example: SM-OS# show queue i g 0/1


QoS Queue Entries
-----------------
IfIndex Queue QTemplate Scheduler Weight Priority QType ShapeIdx GlobalId
------- ----- --------- --------- ------ -------- ----- -------- -----
Gi0/1 1 1 1 1 0 UC none 1
Gi0/1 2 1 1 60 1 UC none 2
Gi0/1 3 1 1 45 2 UC none 3
Gi0/1 4 1 1 30 3 UC none 4
Gi0/1 5 1 1 1 4 UC none 5
Gi0/1 6 1 1 15 5 UC none 6
Gi0/1 7 1 1 1 6 UC none 7
Gi0/1 8 1 1 1 7 UC none 8
SM-OS#

MN.00320.E - 013 231


8.1.12 Scheduler

show scheduler
It displays the queue scheduling for each port (1 default)

Example: SM-OS# show scheduler


QoS Scheduler Entries
---------------------
IfIndex Scheduler Index Scheduler Algo Shape Index Scheduler HLGlobalId
---------- --------------- -------------------- ----------- ------------ -----
Gi0/9 1 strictPriority 0 0 9
Gi0/10 1 strictPriority 0 0 10

8.1.13 Sharper

show shaper-template
This command displays the configured shaper entries

Example: SM-OS# show shape-template


QoS Shape Template Entries
--------------------------
ShapeTemplate Id CIR PIR
-------------- -------------- --------------
41 100000 200000

232 MN.00320.E - 013


show queue interface g 0/4
It displays the configured shaper in case of queue shaping

Example: SM-OS# show queue i g 0/4


QoS Queue Entries
-----------------
IfIndex Queue QTemplate Scheduler Weight Priority QType ShapeIdx GlobalId
------- ----- --------- --------- ------ -------- ----- -------- -----
Gi0/4 1 1 1 1 0 UC 41 25
Gi0/4 2 1 1 1 1 UC none 26
Gi0/4 3 1 1 1 2 UC none 27
Gi0/4 4 1 1 1 3 UC none 28
Gi0/4 5 1 1 1 4 UC none 29
Gi0/4 6 1 1 1 5 UC none 30
Gi0/4 7 1 1 1 6 UC none 31
Gi0/4 8 1 1 1 7 UC none 32

SM-OS#

show interfaces rate-limit


This command displays the port shaping (rate limit).

Example: SM-OS# show interfaces rate-limit


Gi0/10
Port Control Rate Limit : 100000 kbps
Port Control Burst Size : 1000 kbits
SM-OS#

MN.00320.E - 013 233


8.1.14 Storm Control

show interfaces storm-control


This command displays the storm control for broadcast, multicast, dlf configured on interfaces

Example: SM-OS# show interfaces storm-control


Gi0/10
DLF Storm Control : Enabled
DLF Storm Control Limit : 1000

Broadcast Storm Control : Disabled


Multicast Storm Control : Disabled

8.1.15 Ethernet CFM

This is a list of commands showing the information about all the CFM maintenance domains.

SM-OS# show ethernet cfm global info


SM-OS# show port ethernet cfm
SM-OS# show ethernet cfm errors
SM-OS# show ethernet cfm statistics
SM-OS# show ethernet cfm maintenance-point local
SM-OS# show ethernet cfm maintenance-points remote
SM-OS# show ethernet cfm service
SM-OS# show ethernet cfm service brief
SM-OS# show ethernet cfm domain.

234 MN.00320.E - 013


Section 2.
LISTS AND SERVICES

9 LIST OF FIGURES

Fig.1 - Ethernet processing ............................................................................................. 10

Fig.2 - Transfer>Send Test File ....................................................................................... 16


Fig.3 - Select with Hyperterminal a valid COM port ............................................................ 17

Fig.4 - Selection of TCP/IP port and IP Address ................................................................. 17

Fig.5 - Into File>Properties>Settings the selection of ASCII setup........................................ 18


Fig.6 - Selection of Line delay and Character delay ............................................................ 18

Fig.7 - ALFOplus80HD port map ...................................................................................... 20

Fig.8 - AGS-20 port map ................................................................................................ 21

Fig.9 - ALFOplus2 port map ............................................................................................ 22

Fig.10 - AGS-20 XG port map ......................................................................................... 23

MN.00320.E - 013 235


236 MN.00320.E - 013
10 LIST OF TABLES

Tab.1 - Equipment functionalities and control mode ............................................................. 9

Tab.2 - Eth. physical layer management ...........................................................................10

Tab.3 - Ingress filtering...................................................................................................11

Tab.4 - Service instance mapping criteria ..........................................................................11

Tab.5 - Classification criteria............................................................................................12

Tab.6 - Metering & ingress policing ...................................................................................12

Tab.7 - Ingress manipulation ...........................................................................................13

Tab.8 - Learning & forwarding..........................................................................................13

Tab.9 - Queue & congestion avoidance ..............................................................................14


Tab.10 - Scheduling .......................................................................................................14

Tab.11 - Egress shaping..................................................................................................15

Tab.12 - Egress manipulation...........................................................................................15


Tab.13 - ALFOplus80HD ports identification ........................................................................20

Tab.14 - AGS-20 ports identification ..................................................................................21

Tab.15 - ALFOplus2 ports identification .............................................................................22


Tab.16 - AGS-20 XG ports identification ............................................................................23

MN.00320.E - 013 237


238 MN.00320.E - 013
11 ASSISTANCE SERVICE

For more information, refer to the section relevant to the technical support on the Internet site of the com-
pany manufacturing the product.

MN.00320.E - 013 239


240 MN.00320.E - 013

S-ar putea să vă placă și