Carrier Ethernet Workshop
Meidan Barkats Global Tech Support Manager - OBDC
Raisecom University – Hands On Training Contents RAISECOM CARRIER ETHERNET WORKSHOPS – DAY 1 ........................................................................................... 4 SESSION 1 - LAB TOPOLOGY .............................................................................................................................................5 Lab layer 2 main Topology. ...................................................................................................................................5 L2 Setup – CE Services ...........................................................................................................................................6 SESSION 2 – BASIC SERVICE CREATION ...............................................................................................................................7 VLAN’s manipulation and switchport-protection ..................................................................................................7 Example 1 - Basic Service VLAN from Access to Trunk configuration ...................................................................7 Example 2 - QinQ service in Access mode configuration .......................................................................................7 Example 3 - QinQ service in trunk mode configuration .........................................................................................8 Example 4 - Service VLAN - Selective QinQ configuration .....................................................................................9 Example 5 - VLAN Mapping - Translation configuration .....................................................................................10 Exercise 2/1- E-LINE service creation ..................................................................................................................11 Exercise 2/2- E-LAN service creation ...................................................................................................................12 Exercise 2/3- E-Tree service creation ..................................................................................................................13 SESSION 3 – NETWORK RELIABILITY .................................................................................................................................15 L2 Network Reliability .........................................................................................................................................15 Exercise 3/1 - LAG ...............................................................................................................................................16 Exercise 3-2 – Interface Switchport-Backup ........................................................................................................17 Exercise 3/3 – Ethernet Link Protection Switching (ELPS) ...................................................................................19 Exercise 3/4 – Links state tracking (Ethernet Failover reflection) .......................................................................21 Exercise 3/5 – Ethernet Ring Protection Switching (ERPS) ..................................................................................22 Exercise 3/6 – ERPS with CFM trigger .................................................................................................................27 RAISECOM CARRIER ETHERNET WORKSHOPS – DAY 2 ......................................................................................... 30 SESSION 1 – RATE-LIMIT TRAFFIC SHAPING AND B/W PROFILES .............................................................................................32 Quality of Service ................................................................................................................................................32 L2 Global Topology..............................................................................................................................................33 QOS – Rate limit ..................................................................................................................................................33 Exercise 1/1 – QOS – Rate limit setup .................................................................................................................34 Exercise 1/2 – QOS – Rate limit per interface .....................................................................................................35 Exercise 1/3 – QOS – Rate limit per VLAN ...........................................................................................................36 Exercise 1/4 – QOS – Rate limit per VLAN per port .............................................................................................37 Exercise 1/5 – QOS – Traffic shaping ..................................................................................................................38 Exercise 1/6 – QoS – B/W profile ........................................................................................................................38 Exercise 1/7 – QOS – B/W profile for hierarchical QOS .......................................................................................39 SESSION 2 – OAM / EFM 802.3AH ...............................................................................................................................40 Link OAM – 802.3ah ............................................................................................................................................40 Link OAM Objectives ...........................................................................................................................................40 Exercise 2/1 – Link OAM – EFM...........................................................................................................................41 SESSION 3 – OAM CFM – 802.1AG...............................................................................................................................42 Service Performance Management Framework .................................................................................................42 Ethernet OAM Domain Concept ..........................................................................................................................43 Connectivity Fault management (CFM) – 802.1ag / Y.1731 ...............................................................................43 Connectivity Check Message (CCM) ....................................................................................................................44 Loopback Message (LBM, LBR) ...........................................................................................................................45
2
Raisecom University – Hands On Training Link Trace Message (LTM, LTR) – Layer 2 Traceroute .........................................................................................46 Exercise 3/1 – CFM – 802.1ag .............................................................................................................................47 Exercise 3/2 – CFM – 802.1ag .............................................................................................................................50 SESSION 4 – SLA (OAM) ..............................................................................................................................................52 Elements of an Ethernet Network and Services ..................................................................................................52 Services OAM – ITU Y.1731 Service .....................................................................................................................53 Performance Management (PM) – ITU-T Y.1731 ................................................................................................53 Y.1731 .................................................................................................................................................................54 Exercise 4/1 – Y.1731 – RAX-L .............................................................................................................................55 Exercise 4/2 – Y.1731 – RAX-B ............................................................................................................................57 SESSION 5 – PROVISIONING ...........................................................................................................................................60 Provision and Turn-up the Circuit ........................................................................................................................60 Y.1564 RCsam Service Configuration Test ...........................................................................................................61 Exercise 5/1 – Y.1564 – RAX – L ..........................................................................................................................62 Exercise 5/2 – Y.1564 – RAX – B ..........................................................................................................................64 Exercise 5/3 – RFC2544 - RAX-B ..........................................................................................................................68
3
Raisecom University – Hands On Training
Raisecom Carrier Ethernet Workshops – Day 1 • Session 1 – Lab Topology • Session 2 – Basic Service creation • Session 3 - Network reliability and redundancy Table of figures FIGURE 1- LAYER 2 LAB TOPOLOGY ........................................................................................................................ 5 FIGURE 2- CE SERVICES .......................................................................................................................................... 6 FIGURE 3 - E-LINE SERVICE ................................................................................................................................... 11 FIGURE 4- E-LAN SERVICE ..................................................................................................................................... 12 FIGURE 5- E-TREE SERVICE ................................................................................................................................... 13 FIGURE 6- NETWORK RELIABILITY STANDARDS .................................................................................................... 15 FIGURE 7 - LINK AGGREGATION ........................................................................................................................... 16 FIGURE 8- SWITCHPORT-BACKUP ......................................................................................................................... 17 FIGURE 9- ELPS..................................................................................................................................................... 19 FIGURE 10- LINK STATE TRACKING ....................................................................................................................... 21 FIGURE 11- ERPS DEVICE CONFIGURATION 1 ....................................................................................................... 22 FIGURE 12- ERPS DEVICE CONFIGURATION 2 ....................................................................................................... 23 FIGURE 13 - ERPS DEVICE CONFIGURATION 3 ...................................................................................................... 24 FIGURE 14 - ERPS WITH CFM TRIGGER DEVICE 13 CONFIGURATION .................................................................... 27 FIGURE 15 - ERPS WITH CFM DEVICE 14 CONFIGURATION ................................................................................... 28
4
Raisecom University – Hands On Training Session 1 - Lab Topology Lab layer 2 main Topology. Raisecom layer 2 exercise lab intend to be used as platform for learning the fundamental of the Raisecom layer 2 switches, to get the configuration tools for the CE services and become familiar with features such as redundancy/resilience and OAM flows based on Raisecom EDDs and switches. The main topology will consist of 2 types of EDD’s at each access site (one RAX-L and one RAX-B). The EDD’s will be aggregated into the aggregation ring and via ISCOM 2924 switches.
Figure 1- Layer 2 lab topology
5
Raisecom University – Hands On Training L2 Setup – CE Services The Layer 2 main topology will provide the infrastructure to build the main 3 EVCs based services. 1. E- LINE - services are applicable when only 2 UNI’s can communicate as PTP. 2. E-LAN - services are applicable when all UNIs can generate traffic towards any other UNI and all UNIs belong to the same administrative domain
3. E-TREE - services are applicable when the service source is located at just one UNI, or a small number of UNIs, each of which is designated as a root UNI. The end-users of the service are typically client organizations that require that their respective traffic will not be visible to other clients of the service. The following diagram below describes the main 3 types of services.
Figure 2- CE services
6
Raisecom University – Hands On Training Session 2 – Basic Service Creation VLAN’s manipulation and switchport-protection The following session will present the basics of VLAN uses, how to configure VALN, how to manipulate and finally how to create different types of service. This session will describe the configuration of the following:
Basic VLAN – Access and trunk mode
QinQ Service – Access UNI
QinQ Service – Trunk mode
Selective QinQ
VLAN Mapping
Example 1 - Basic Service VLAN from Access to Trunk configuration interface nni 1 switchport trunk allowed vlan 1-4094 switchport mode trunk
interface uni 3 switchport access vlan 22
Example 2 - QinQ service in Access mode configuration interface nni 1 switchport trunk allowed vlan 1-4094 switchport mode trunk
interface uni 3 switchport access vlan 22 switchport qinq dot1q-tunnel
7
Raisecom University – Hands On Training
All C-VLANs are in the same S-VLAN No C-VLAN are needed to be configured at the device Example 3 - QinQ service in trunk mode configuration create vlan ,11,22,44, active interface nni 1 switchport trunk allowed vlan 1-4094 switchport mode trunk interface uni 3 switchport trunk native vlan 22 switchport trunk allowed vlan 11,22,44 switchport mode trunk switchport qinq dot1q-tunnel
- All C-VLAN on same SVLAN - UNI should be trunk native of the S-VLAN
8
Raisecom University – Hands On Training Example 4 - Service VLAN - Selective QinQ configuration create vlan ,11,22,44,88 active
interface nni 1 switchport trunk allowed vlan 22,88 switchport mode trunk mls double-tagging tpid 9100 – optional
interface uni 3 switchport trunk allowed vlan 22,88 switchport trunk untagged vlan 22,88 switchport mode trunk switchport qinq dot1q-tunnel switchport vlan-mapping cvlan 11
add-outer 22
switchport vlan-mapping cvlan 44
add-outer 88
- C-VLAN 11 to S-VLAN 22 and C-VLAN 44 to S-VLAN 88 -
UNI should be trunk untagged of the S-VLANs.
9
Raisecom University – Hands On Training Example 5 - VLAN Mapping - Translation configuration create vlan 1,11,22,44,88,1111 active
interface nni 1 switchport trunk allowed vlan 22,88,1111 switchport mode trunk switchport vlan-mapping both outer 22 translate 1111
interface uni 3 switchport trunk allowed vlan 22,88 switchport trunk untagged vlan 22,88 switchport mode trunk switchport qinq dot1q-tunnel switchport vlan-mapping cvlan 11
add-outer 22
switchport vlan-mapping cvlan 44
add-outer 88
- C-VLAN 11 to S-VLAN 22 and C-VLAN 44 to S-VLAN 88 - UNI should be trunk untagged of the S-VLANs. -
At the NNI outer tag 22 will be translated to 1111
10
Raisecom University – Hands On Training Exercise 2/1- E-LINE service creation In this exercise E-line service will be configured from UNI1 at Rax-L-33 to UNI1 at RAX-L-37.
Figure 3 - E-LINE service
RAX Raisecom(config)#system mtu 12288 Raisecom(config)#create vlan 2-2000 active Raisecom(config)#interface uni 1 Raisecom(config-port)#switchport access vlan 1001 Raisecom(config-port)#switchport qinq dot1q-tunnel Raisecom(config-port)#interface NNI 1 Raisecom(config-port)#switchport mode trunk
ISCOM2924 PORT 1 Raisecom(config-port)#switchport trunk allowed vlan 1001 Raisecom(config-port)#switchport mode trunk PORT 25/26 Raisecom(config-port)#switchport trunk allowed vlan 1001 Raisecom(config-port)#switchport mode trunk
11
Raisecom University – Hands On Training Exercise 2/2- E-LAN service creation In this exercise E-LAN service will be configured Between UNI1 and 2 at Rax-L-33 to UNI1 at RAX-L-37.
Figure 4- E-LAN service
RAX Raisecom(config)#system mtu 12288 Raisecom(config)#create vlan 2-2000 active
Raisecom(config)#interface uni 1 Raisecom(config-port)#switchport access vlan 1001 Raisecom(config-port)#switchport qinq dot1q-tunnel
Raisecom(config)#interface uni 2 Raisecom(config-port)#switchport access vlan 1001 Raisecom(config-port)#switchport qinq dot1q-tunnel
Raisecom(config-port)#interface NNI 1 Raisecom(config-port)#switchport mode trunk
ISCOM2924
12
Raisecom University – Hands On Training PORT 1 Raisecom(config-port)#switchport trunk allowed vlan 1001 Raisecom(config-port)#switchport mode trunk PORT 25/26 Raisecom(config-port)#switchport trunk allowed vlan 1001 Raisecom(config-port)#switchport mode trunk
Exercise 2/3- E-Tree service creation In this exercise E-TREE service will be configured while UNI 1,2 at RAX-L-33 will be defined as leafs and UNI1 at RAX-L-37 will be the root.
Figure 5- E-TREE service
In an E-TREE service, a leaf could communicate with root but there is no way for an UNI to communicate with another UNI but the root.
RAX Raisecom(config)#system mtu 12288 Raisecom(config)#create vlan 2-2000 active
Raisecom(config)#interface uni 1 Raisecom(config-port)#switchport access vlan 1001
13
Raisecom University – Hands On Training Raisecom(config-port)#switchport qinq dot1q-tunnel Raisecom(config-port)#switchport protect
Raisecom(config)#interface uni 2 Raisecom(config-port)#switchport access vlan 1001 Raisecom(config-port)#switchport qinq dot1q-tunnel Raisecom(config-port)#switchport protect
Raisecom(config-port)#interface NNI 1 Raisecom(config-port)#switchport mode trunk
ISCOM2924 PORT 1 Raisecom(config-port)#switchport trunk allowed vlan 1001 Raisecom(config-port)#switchport mode trunk
PORT 25/26 Raisecom(config-port)#switchport trunk allowed vlan 1001 Raisecom(config-port)#switchport mode trunk
14
Raisecom University – Hands On Training
Session 3 – Network Reliability The following session is going to be focused on different types of protection and redundancy mechanism supported by Raisecom switches.
L2 Network Reliability •
Link aggregation
•
Interface backup
•
ELPS
•
ERPS
•
Failover
Figure 6- Network reliability standards
15
Raisecom University – Hands On Training Exercise 3/1 - LAG
Figure 7 - Link aggregation
Notice – At the RAX-L, all configuration shall be deleted before creating the LAG. After creating the Port channel all VLANs and port state will be configured.
RAX-B create vlan 2-4094 active link-aggregation load-sharing mode dmac interface port-channel 1 mode lacp-static
interface gigaethernet 0/1 channel group 1 interface gigaethernet 0/2 channel group 1
interface gigaethernet 1/1 switchport access vlan 1001 switchport qinq dot1q-tunnel
16
Raisecom University – Hands On Training
2924 interface port-channel 10 mode lacp-static interface port 1 switchport mode trunk channel group 10 interface port 2 switchport mode trunk channel group 10
interface port 3 switchport access vlan 1001 switchport qinq dot1q-tunnel
Raisecom#show link-aggregation
Exercise 3-2 – Interface Switchport-Backup
Figure 8- Switchport-backup
17
Raisecom University – Hands On Training RAX create vlan 2-4094 active interface nni 1 switchport trunk allowed vlan 1-4094 switchport mode trunk switchport backup nni 2 vlanlist 22,44
interface nni 2 switchport trunk allowed vlan 1-4094 switchport mode trunk
interface uni 1 switchport access vlan 22 switchport qinq dot1q-tunnel
2924 interface port 1 switchport mode trunk interface port 2 switchport mode trunk
interface port 3 switchport access vlan 22 switchport qinq dot1q-tunnel
At the following case VLANs 22 and 44 be backup
Raisecom#show switchport backup
18
Raisecom University – Hands On Training Exercise 3/3 – Ethernet Link Protection Switching (ELPS)
Figure 9- ELPS
RAX
create vlan 2-4094 active interface nni 1 switchport trunk allowed vlan 1-4094 switchport mode trunk interface nni 2 switchport trunk allowed vlan 1-4094 switchport mode trunk interface uni 1 switchport access vlan 1001 switchport qinq dot1q-tunnel ethernet line-protection 1 working nni 1 1-4000 protection nni 2 1-4000 one-to-one protocol-vlan 1001 ethernet line-protection 1 working failure-detect physical-link ethernet line-protection 1 protection failure-detect physical-link ethernet line-protection 1 wtr-timer 1
19
Raisecom University – Hands On Training ISCOM2924
create vlan 2-4094 active interface port 1 switchport mode trunk interface port 2 switchport mode trunk interface port 3 switchport access vlan 1001 switchport qinq dot1q-tunnel interface port 25 switchport mode trunk ethernet line-protection 1 working port 1 1-44 protection port 2 1-44 one-to-one protocol-vlan 1001 ethernet line-protection 1 wtr-timer 1 ethernet line-protection 1 working failure-detect physical-link ethernet line-protection 1 protection failure-detect physical-link ethernet line-protection 1 wtr-timer 1
20
Raisecom University – Hands On Training Exercise 3/4 – Links state tracking (Ethernet Failover reflection)
Figure 10- Link state tracking
RAX
link-state-tracking group 77 interface nni 1 switchport trunk allowed vlan 1-4094 switchport mode trunk link-state-tracking group 77 upstream interface uni 1 switchport access vlan 22 link-state-tracking group 77 downstream switchport qinq dot1q-tunnel
21
Raisecom University – Hands On Training Exercise 3/5 – Ethernet Ring Protection Switching (ERPS)
Figure 11- ERPS device configuration 1
ISCOM2924-13 create vlan 2-4094 active interface port 1 switchport mode trunk interface port 2 switchport mode trunk interface port 3 switchport access vlan 22 switchport qinq dot1q-tunnel interface port 25 switchport mode trunk interface port 26 switchport mode trunk ethernet ring-protection 1 east port 25 west port 26 node-type rpl-owner rpl west ethernet ring-protection 1 wtr-time 1 ethernet ring-protection 1 version 2
22
Raisecom University – Hands On Training
Figure 12- ERPS device configuration 2
ISCOM2924-14
create vlan 2-4094 active interface port 1 switchport mode trunk type inni interface port 2 switchport mode trunk type inni interface port 3 switchport access vlan 22 switchport qinq dot1q-tunnel interface port 25 switchport mode trunk interface port 26 switchport mode trunk ethernet ring-protection 1 east port 25 west port 26 ethernet ring-protection 1 wtr-time 1 ethernet ring-protection 1 version 2
23
Raisecom University – Hands On Training
Figure 13 - ERPS device configuration 3
ITN-201-C-15
create vlan 2-4094 active interface line 1 switchport trunk native vlan 1 switchport trunk allowed vlan 1-4094 switchport mode trunk interface line 2 switchport trunk native vlan 1 switchport trunk allowed vlan 1-4094 switchport mode trunk ethernet ring-protection 1 east line 1 west line 2 node-type rpl-neighbour rpl east ethernet ring-protection 1 wtr-time 1
24
Raisecom University – Hands On Training Show commands to verify the REPS service
ITN-201-C-15 iTN201C(config)#sho ethernet ring-protection 1 Id/Name RAPS-VC East(Rpl/State) Trap
Role
Proto-Vlan Proto-Ver Revertive-Mode
West(Rpl/State)
Guard(ms)
Wtr(m)
Wtb(s)
Status
Holdoff(100ms) Pro
---------------------------------------------------------------------------------------------------------------------1 line1 0-0(Y/Block)
Neighbour
1
V2
line2 0-0(N/Forward)
Revert
500
1
Idle 6
FS/MS
-------------
None/Non 0
e With
disable
disable
iTN201C(config)#
Show command on stable state
iTN201C(config)#sho ethernet ring-protection 1 Id/Name RAPS-VC East(Rpl/State) Trap
Role
Proto-Vlan Proto-Ver Revertive-Mode
West(Rpl/State)
Guard(ms)
Wtr(m)
Wtb(s)
Status
Holdoff(100ms) Pro
---------------------------------------------------------------------------------------------------------------------1 line1 0-0(Y/Block)
Neighbour
1
V2
line2 0-0(N/Forward)
Revert
500
1
Idle 6
FS/MS
-------------
None/Non 0
e With
disable
disable
ISCOM2924-13(config)#sho ethernet ring-protection 1 Id/Name VC East(Rpl/State) Trap
Role
Proto-Vlan Proto-Ver Revertive-Mode
West(Rpl/State)
Guard(ms)
Wtr(m)
Wtb(s)
Status
FS/MS
RAPS-
Holdoff(100ms) Pro
----------------------------------------------------------------------------------------------------------------------------------1 P25 0-0(N/Forward)
Owner
1
P26 0-0(Y/Block)
V2
Revert 20
1
Idle 5
None/None With 0
disable
disable
25
Raisecom University – Hands On Training ISCOM2924-14# Id/Name VC East(Rpl/State) Trap
sho ethernet ring-protection 1 Role
Proto-Vlan Proto-Ver Revertive-Mode
West(Rpl/State)
Guard(ms)
Wtr(m)
Wtb(s)
Status
FS/MS
RAPS-
Holdoff(100ms) Pro
----------------------------------------------------------------------------------------------------------------------------------1 P25 0-0(N/Forward)
Transfer
1
V2
P26 0-0(N/Forward)
Revert 20
1
Idle 5
None/None With 0
disable
disable
26
Raisecom University – Hands On Training Exercise 3/6 – ERPS with CFM trigger
Figure 14 - ERPS with CFM trigger device 13 configuration
ISCOM2924-13 ethernet cfm domain level 3 interface port 1 switchport mode trunk interface port 2 switchport mode trunk interface port 25 switchport mode trunk interface port 26 switchport mode trunk ethernet ring-protection 1 east port 25 west port 26 node-type rpl-owner rpl west ethernet ring-protection 1 wtr-time 1 ethernet ring-protection 1 version 2 ethernet ring-protection 1 east failure-detect cc ma ma3 level 3 mep 13 14 ethernet cfm enable sdp port 25 service ma3 level 3 service vlan-list 22 primary-vlan 22 service remote-mep 14 port 25 service mep down mpid 13 port 25 service cc enable mep 13
27
Raisecom University – Hands On Training
Figure 15 - ERPS with CFM device 14 configuration
ISCOM2924-14 create vlan 2-4094 active ethernet cfm domain level 3 interface port 1 switchport mode trunk interface port 2 switchport mode trunk interface port 25 switchport mode trunk interface port 26 switchport mode trunk ethernet ring-protection 1 east port 25 west port 26 ethernet ring-protection 1 wtr-time 1 ethernet ring-protection 1 version 2 ethernet ring-protection 1 west failure-detect cc ma ma3 level 3 mep 14 13 ethernet cfm enable sdp port 26 service ma3 level 3 service vlan-list 22 primary-vlan 22 service remote-mep 13 port 26 service mep up mpid 14 port 26 service cc enable mep 14
28
Raisecom University – Hands On Training ISCOM2924-13(config)#sho ethernet ring-protection 1 status Id/Name West-State
Bridge-State Traffic-vlanlist
sc
Last Occur(ago)
East-State
-------------------------------------------------------------------------------------1 Block
Idle 1-4094
21
0
days,
0:18:30:700
Forward
ISCOM2924-13(config)#sho ethernet ring-protection 1 statistics Id/Name Occur(ago)
Direction ApsRx
ApsTx
State sc
Link-State
Last-
Failure-Detect
MAID
MDID
MEL -------------------------------------------------------------------------------------1 0:18:34:650
East 1862
Forward
11
OK
0
days,
0
days,
4 CC
ma3
3 West 0:18:34:650
1960
Block
102
OK
4 Phy
7
After CC detect failure ISCOM2924-13(config)#sho ethernet ring-protection 1 statistics Id/Name
Direction State
Link-State Last-Occur(ago)
Failure-Detect MAID
MDID
ApsTx
ApsRx
sc
MEL
----------------------------------------------------------------------------------------------------------------------------------1
East
Block
SF
CC West
0 days, 0: 0: 7:580 1869
ma3 Forward
11
5
3 OK
0 days, 0: 0: 7:580 1972
Phy
106
5
7
ISCOM2924-13(config)#sho ethernet ring-protection 1 status Id/Name vlanlist
Bridge-State Last Occur(ago)
East-State West-State sc
Traffic-
----------------------------------------------------------------------------------------------------------------------------------1
Protection
0 days, 0: 0:11: 10
Block
Forward
22
1-4094
29
Raisecom University – Hands On Training
Raisecom Carrier Ethernet Workshops – Day 2 Session 1 - QOS • Rate limit • Traffic shaping • Bandwidth profiles Session 2 – OAM / EFM 802.3ah Session 3 – OAM / CFM 802.1ag Session 4 – SLA (OAM) • Y1731 Session 5 - Provisioning • Y1564 • rfc2544
30
Raisecom University – Hands On Training TABLE OF FIGURES: FIGURE 1 - QOS .................................................................................................................................................... 32 FIGURE 2 - BW PROFILE ....................................................................................................................................... 32 FIGURE 3 – GLOBAL TOPOLOGY ........................................................................................................................... 33 FIGURE 4- RATE LIMIT .......................................................................................................................................... 34 FIGURE 5- RATE-LIMIT TEST EQUIPMENT ............................................................................................................. 35 FIGURE 6- RATE-LIMIT PER VLAN ......................................................................................................................... 36 FIGURE 7- OAM 802.3AH ..................................................................................................................................... 40 FIGURE 8- 802.3AH CONFIGURATION................................................................................................................... 41 FIGURE 9 - OAM 802.1AG..................................................................................................................................... 42 FIGURE 10 - OAM DOMAINS ................................................................................................................................ 43 FIGURE 11- CFM MESSAGES ................................................................................................................................. 43 FIGURE 12- CFM-CCM .......................................................................................................................................... 44 FIGURE 13 - CFM LB ............................................................................................................................................. 45 FIGURE 14- CFM LTM ........................................................................................................................................... 46 FIGURE 15 - CFM EXERCISE 3-1 ............................................................................................................................. 47 FIGURE 16- CFM EXERCISE 3-2.............................................................................................................................. 50 FIGURE 17- CFM EXERCISE 3-2 OPERATOR DOMAIN ............................................................................................ 51 FIGURE 18- SLA .................................................................................................................................................... 52 FIGURE 19- Y.1731 ............................................................................................................................................... 54 FIGURE 20 – EXERCISE 4-1 Y.1731-RAX-L .............................................................................................................. 55 FIGURE 21 - EXERCISE 4-2 Y.1731 RAX-B .............................................................................................................. 57 FIGURE 22 - RFC2544 AND Y1564 ......................................................................................................................... 60 FIGURE 23 – BANDWIDTH MANAGEMENT ........................................................................................................... 61 FIGURE 24- EXERCISE 5-1 Y1564 – RAX-L .............................................................................................................. 62 FIGURE 25- EXERCISE 5-2 Y1564 - RAX-L .............................................................................................................. 64
31
Raisecom University – Hands On Training
Session 1 – Rate-limit Traffic shaping and B/W profiles Quality of Service The following session will be focused on the QOS capabilities of Raisecom Switches.
Figure 1 - QOS
Figure 2 - BW profile
The following table above describes the BW profile of the traffic flow.
The CIR is the commited rate which marked as green CIR to EIR is based on Availability Above the EIR traffic will be discard / Dropped
32
Raisecom University – Hands On Training L2 Global Topology The main topology for the QOS session will the same as the first day – RAX EDD’s connected to the aggregation layer via ISCOM 2924. All the actions performed on the RAX units are also supported on the ISCOM2924.
Figure 3 – Global Topology
QOS – Rate limit This exercise will detail the basic implementation of quality of service manipulation in Raisecom’s switches such as:
•
Rate limit per interface
•
Rate limit per VLAN
•
Rate limit per interface +VLAN
•
Traffic shaping
•
BW profiles
33
Raisecom University – Hands On Training Exercise 1/1 – QOS – Rate limit setup For the rate limit exercise we will create EPL or EVPL services in the RAX-L/B CPEs which will allow us to present different variations of rate limit. ** The EVPL service requires the UNI2 interface to be configured as QinQ in trunk mode as shown below:
Figure 4- Rate limit
interface nni 1 switchport trunk allowed vlan 1-4094 switchport mode trunk interface uni 2 switchport trunk untagged vlan 100,200,300 switchport mode trunk switchport qinq dot1q-tunnel switchport vlan-mapping-miss discard switchport vlan-mapping cvlan 10
add-outer 100
switchport vlan-mapping cvlan 20
add-outer 200
switchport vlan-mapping cvlan 30
add-outer 300
34
Raisecom University – Hands On Training Exercise 1/2 – QOS – Rate limit per interface For this test we will inject 100Mbps traffic at the ingress of the UNI and measure the egress traffic at the NNI interface.
Figure 5- Rate-limit Test equipment
Rate limit will be configured at the global: rate-limit uni 2 ingress 12000 64 rate-limit uni 2 egress 12000 64
It also could be configured as : Rax-L-33(config)#rate-limit uni 2 both 12000 64
Show command : Rax-L-33(config)#sho rate-limit uni 2 I-Rate:
Ingress Rate
I-Burst: Ingress Burst E-Rate:
Egress Rate
E-Burst: Egress Burst Port
I-Rate(kbps)
I-Burst(kB)
E-Rate(kbps)
E-Burst(kB)
-------------------------------------------------------------------------------uni 2
12000
64
12032
64
35
Raisecom University – Hands On Training Exercise 1/3 – QOS – Rate limit per VLAN For this test we will inject traffic of 100Mbps at the ingress of the UNI and measure the egress traffic at the NNI interface.
Figure 6- Rate-limit per VLAN
Rate limit will be configured at the global: rate-limit vlan 100 15000 64
Show command : Rax-L-33(config)#sho rate-limit vlan VLAN: VLAN StatisHw - Statistics Hardware Inp: Inprofile Outp:Outprofile Type VLAN Outp(Pkts)
Rate(kbps)
Burst(kB)
StatHw
Inp(Pkts)
-------------------------------------------------------------------------------------single
100
15000
64
No
--
--
36
Raisecom University – Hands On Training Exercise 1/4 – QOS – Rate limit per VLAN per port In this test we will inject 100Mbps traffic at the ingress of the UNI and measure the egress traffic at the NNI interface.
Rate limit will be configured at the global: rate-limit vlan 100 uni 2 ingress cir 20000 cbs 64 rate-limit vlan 100 uni 2 egress cir 20000 cbs 64
Show command : Rax-L-33(config)#sho rate-limit vlan-port vlan 100 uni 2 both Cir:Commit Information Rate Cbs:Commit burst size Eir:Excess information rate Ebs:Excess burst size Port
Vlan
Direction
Cir(kbps)
Cbs(kB)
Eir(kbps)
Ebs(kB)
StatHw
--------------------------------------------------------------------------uni2
100
ingress
20000
64
--
--
disable
uni2
100
egress
20000
64
--
--
disable
37
Raisecom University – Hands On Training Exercise 1/5 – QOS – Traffic shaping Raisecom implement the shaper on the Queue level. Each queue could be limited to a different value. For the test we will inject 100Mbps traffic at the ingress of the UNI and measure the egress traffic at the NNI interface.
Rate limit will be configured at the global: interface gigaethernet 0/2 mls qos queue 1 shaping cir 32000 pir 33000 Interface gigaethernet 0/2 mls qos trust cos inner
Queue 1 means QOS value 0 . In the following test, we will configure trust mode at the global and on the interface. This will result in a “trust” of the inner CoS of the c-VLAN.
Exercise 1/6 – QoS – B/W profile B/W Profile is another way to implement Rate limit.
B/W profile could be configured on interface on Vlan or on CoS value
Create the BW profile
bandwidth-profile 1 cir 20480 cbs 100 eir 81290 ebs 100 Apply the BW profile on interface. bandwidth ingress uni 1 1
38
Raisecom University – Hands On Training Exercise 1/7 – QOS – B/W profile for hierarchical QOS For the test we will inject 100Mbps traffic in different CVLAN with Different CoS values 1,3,5 at the ingress of UNI 1 and measure the egress traffic at the NNI interface.
command in bandwidth profile mode bandwidth-profile 1 cir 20480 cbs 100 eir 81290 ebs 100 bandwidth-profile 2 cir 30720 cbs 150 eir 71680 ebs 150 bandwidth-profile 3 cir 51200 cbs 300 eir 51200 ebs 300 bandwidth-profile 4 cir 102400 cbs 1 ! !command in hcos_mode hierarchy-cos bandwidth-profile 1 bandwidth coslist 1 3 bandwidth coslist 3 2 bandwidth coslist 5 1 ! bandwidth ingress uni 1 vlan 22 4 hierarchy-cos 1
39
Raisecom University – Hands On Training Session 2 – OAM / EFM 802.3ah Link OAM – 802.3ah
Figure 7- OAM 802.3ah
•
IEEE 802.3ah – monitor adjacent physical network links
•
Allows customer and service provider to monitor and diagnose the UNI connectivity on link level via Link OAM
•
Simple, little or no configuration
•
Supports
•
–
Auto discovery
–
Remote loopback
–
Link monitoring and remote failure indication (dying gasp, link fault, critical event)
Does not monitor end-to-end across EVC
Link OAM Objectives OAM provides mechanisms for :
o o
Monitoring link operation and health Improving fault isolation
40
Raisecom University – Hands On Training Method: OAM data (OAMPDU) conveyed in basic (untagged) 802.3 Slow Protocol frame sent between two ends of a single link.
Does not propagate beyond the link !!!
Ethernet OAM shares bandwidth with data payload o o o
Utilizes a “slow” protocol limited to 10 packets per second OAMPDUs identified by MAC address and Ethernet Length/Type/subtype field Uses a protocol sub layer between physical and Data link layers
Exercise 2/1 – Link OAM – EFM Deploying EFM between directly-connected devices can effectively improve the management and maintenance capability of Ethernet links and ensure smooth running networks.
•
Peer OAM event traps
•
OAM link monitoring
In the following exercise SNMP connectivity should be define in order to send the notifications /traps to NView or other SNMP NMS. Commands: Raisecom(config-port)#oam { active | passive } Raisecom(config-port)#oam enable Raisecom#show oam peer Raisecom(config-port)#oam remote-loopback Raisecom(config-port)#oam notify – Fault indication Raisecom(config-port)#oam peer event trap enable Raisecom(config-port)#oam event trap enable
Figure 8- 802.3ah configuration
41
Raisecom University – Hands On Training Session 3 – OAM CFM – 802.1ag Service Performance Management Framework
Figure 9 - OAM 802.1ag
Performance Measurements with synthetic messages •
Delay Measurement (DM), Delay Variation Measurement (DVM)
•
Loss Measurement (LM)
End-to-End Measurements with NIDs located at the customer UNI
42
Raisecom University – Hands On Training Ethernet OAM Domain Concept
Figure 10 - OAM Domains
Maintenance Association Points (MPs) are CFM aware control points within a Maintenance Association (MA) Defined per MA-Level and VLAN Any port of a bridge could be a maintenance association point – which is typically a configured function of the bridge port. A maintenance point may be classified as a MEP, a MIP, or a transparent point for a maintenance level, in which case it is invisible to CFM
Connectivity Fault management (CFM) – 802.1ag / Y.1731
Figure 11- CFM messages
43
Raisecom University – Hands On Training Connectivity Check Message (CCM)
Per-Domain, per-VLAN Multicast “heart-beat” message
ITU: ETH-CC (Ethernet Continuity Check) Carries status of port on which MEP is configured Uni-directional Transmitted at a configurable periodic interval by MEPs (default: 1s)
Catalogued by MIPs at the same MA-Level, terminated by remote MEPs at the same MA-Level Enables fault management, performance measurement and binding to service protection (LOS/LIN) Counters for CCM frames (transmitted, received & errors)
Figure 12- CFM-CCM
44
Raisecom University – Hands On Training Loopback Message (LBM, LBR)
Loopback is a UNICAST message to verify connectivity or fault to remote MEP or MIP (request/reply)
LBM transmission enables bidirectional verification
LBM is per service, i.e. per VLAN loopback with MAC swap function Configurations for number of LB messages, Interval between LB messages, Loopback packet length, timeout and priority field. o LB messages are unicast o Configuration defined for Remote MEP or MIP (MAC or remote IP MEP)
Figure 13 - CFM LB
45
Raisecom University – Hands On Training Link Trace Message (LTM, LTR) – Layer 2 Traceroute
Link Trace is a multicast message to isolate connectivity or fault to remote MEP or MIP (request/reply) o Link trace messages are multicast o Configuration defined for remote service entities
Figure 14- CFM LTM
Note: MIPs require at least minimum 802.1ag configuration to reply to LTMs. “Normal” Switches will not reply.
46
Raisecom University – Hands On Training Exercise 3/1 – CFM – 802.1ag The following exercise will include an operator domain and a customer domain.
Figure 15 - CFM Exercise 3-1
RAX to RAX will show the customer’s CFM service which belongs to domain 4. The operator domain 3 is presented between the configured ISCOM2924s 13 to 14. Steps for domain 4: 1. 2. 3. 4.
Create VLANS and services on interfaces Create CFM domain 4 Create service CFM – MEP UP Enable CFM on global and on interfaces
47
Raisecom University – Hands On Training
Show commands domain 4: Rax-L-33#sho ethernet cfm remote-mep Maintenance Domain(MD) level:2 Maintenance Domain(MD) name: Mpid
Service
Primary Vlan
IfState
PortState
Mac Address
Source Age
------------------------------------------------------------------------------------Maintenance Domain(MD) level:4 Maintenance Domain(MD) name: Mpid
Service
Primary Vlan
IfState
PortState
Mac Address
Source Age
------------------------------------------------------------------------------------137
ma4
22
Up
Up
000E.5E48.49DD
133
366(ms)
48
Raisecom University – Hands On Training Show LTM from 137 to 133 raisecom(config-service)#traceroute mep 133 TTL: <64> Tracing the route to 000E.5E48.49DA on level 4, service ma4. Traceroute send via uni1.
---------------------------------------------------------------------------------------------Hops HostMac
IngressPort
EgressPort
IsForwarded RelayAction NextHop
---------------------------------------------------------------------------------------------0 000E.5E48.49DD uni1
nni1
Yes
rlyFdb
000E.5E48.49DD
1 000E.5E48.49DD P1
P26
Yes
rlyFdb
000E.5E5D.9D96
2 000E.5E5D.9D96 P25
P1
Yes
rlyFdb
000E.5E5D.9D95
3 000E.5E5D.9D95 nni1
-
No
rlyHit
000E.5E48.49DA
Traceroute and ping will be performed during the service. Show status could be perform at any stage using the CLI.
49
Raisecom University – Hands On Training Exercise 3/2 – CFM – 802.1ag Steps for domain 3:
1. 2. 3. 4.
Create VLANS – already trunks Create CFM domain 3 Create service CFM – MEP Down Enable CFM on global and on interfaces
Figure 16- CFM exercise 3-2
50
Raisecom University – Hands On Training
Figure 17- CFM exercise 3-2 operator domain
Show commands domain 3: ISCOM2924-13#sho ethernet cfm remote-mep Maintenance Domain(MD) level:3 Maintenance Domain(MD) name: Service Instance: ma3 Mpid
Primary Vlan
IfState
PortState
RdiState
Mac Address
Source
----------------------------------------------------------------------------14
22
Up
Up
Normal
000E.5E5D.9D96
13
51
Raisecom University – Hands On Training Session 4 – SLA (OAM) Elements of an Ethernet Network and Services
Figure 18- SLA
Service Provider manages the end-to-end service
Wholesale Operator manages across wholesale domain
Ethernet service SLA Parameters o Bandwidth, Delay, Delay Variation, Frame Loss (Availability)
Verify the quality of each defined service parameter o All service parameters o All services simultaneously
52
Raisecom University – Hands On Training Services OAM – ITU Y.1731 Service
Based on 802.1ag Same basic elements o Discovery o Continuity check (keep alive) o Loopback (non-intrusive and intrusive) Defect detection/localization Performance verification o Link trace Performance management for SLA verification o Frame loss o Frame delay o Frame delay variation o Others (errored frame seconds, service status (up/down), frame throughput, AIS - Alarm Indication Signal etc.)
Performance Management (PM) – ITU-T Y.1731 The following PM parameters are measured:
Frame Loss Ratio (FLR) o Percentage of undelivered service frames, divided by the total number of service frames during a time interval. The number of service frames not delivered is the difference between the number of service frames sent to an ingress UNI and the number of service frames received at an egress UNI.
Frame Delay (FD) o Time taken by a frame to make the round-trip from the source node, through the destination node, and back to the same source node. This time is measured from the start of transmission of the first bit of the frame by a source node until the reception of the last bit of the frame by the same source node.
Frame Delay Variation (FDV) or Jitter o Measure of the variations in the FD between a pair of service frames belonging to the same CoS instance on a point-to-point Ethernet connection.
53
Raisecom University – Hands On Training Y.1731 The Y.1731 expanded the standard CFM and supply PM details. The Y.1731 implementation on Raisecom products is similar but also quite different between the RAX-L and RAX-B.
General Steps for configuration: 1. Create service on the interfaces – UNI and NNI 2. Create CFM domain 3. Create Service CFM – CC and PM enabled 4. Configure the SLA test with relevant parameters 5. Schedule / Start test run.
Figure 19- Y.1731
54
Raisecom University – Hands On Training Exercise 4/1 – Y.1731 – RAX-L The following exercise will show how to configure basic Y1731 service over Raisecom RAX-L.
Figure 20 – Exercise 4-1 Y.1731-RAX-L
RAX-L-1 create vlan 100 active ethernet cfm domain md-name md3 level 3
service ma3 level 3 service sdp nni 1 service vlan-list 100 primary-vlan 100 service remote-mep 2 uni 1 service mep up mpid 1 uni 1 service cc enable mep 1 service pm enable mep 1
interface nni 1 switchport trunk allowed vlan 1-4094 switchport mode trunk ethernet cfm enable mef-type nni interface uni 1 switchport trunk allowed vlan 100 switchport mode trunk ethernet cfm enable
sla 1 y1731-jitter remote-mep 2 level 3 svlan 100 cos 5 packets 295 dm sla 2 y1731-pkt-loss remote-mep 2 level 3 svlan 100 cos 5 packets 295
55
Raisecom University – Hands On Training sla schedule 1
// after CCM discovery
sla schedule 2
// after CCM discovery
show sla 1 result show sla 2 result
RAX-L-2 :create vlan 100 active ethernet cfm domain md-name md3 level 3
service ma3 level 3 service sdp nni 1 service vlan-list 100 primary-vlan 100 service remote-mep 1 uni 1 service mep up mpid 2 uni 1 service cc enable mep 2 service pm enable mep 2
interface nni 1 switchport trunk allowed vlan 1-4094 switchport mode trunk ethernet cfm enable mef-type nni
interface uni 1 switchport trunk allowed vlan 100 switchport mode trunk ethernet cfm enable
56
Raisecom University – Hands On Training Exercise 4/2 – Y.1731 – RAX-B The following exercise will detail the basic Y1731 service configuration in Raisecom RAX-B.
Figure 21 - Exercise 4-2 Y.1731 RAX-B
RAX-B-1 create vlan 100 active ethernet cfm domain level 3
interface gigaethernet 1/1 switchport mode trunk interface gigaethernet 0/1 switchport mode trunk ethernet cfm enable sdp gigaethernet 0/1
service ma3 level 3 service vlan-list 100 primary-vlan 100 service remote-mep 2 gigaethernet 1/1 service mep up mpid 1 gigaethernet 1/1 service pm enable mep 1 service cc enable mep 1
sla 1 y1731-jitter remote-mep 2 level 3 svlan 100 cos 0 size 128 sla 2 y1731-pkt-loss remote-mep 2 level 3 svlan 100 cos 0
sla schedule 1
//after CCM discovering
sla schedule 2
//after CCM discovering
show sla 1 current statistics
57
Raisecom University – Hands On Training show sla 2 current statistics
RAX-B-2 create vlan 100 active ethernet cfm domain level 3
interface gigaethernet 1/1 switchport mode trunk interface gigaethernet 1/1 switchport mode trunk ethernet cfm enable sdp gigaethernet 0/1
service ma3 level 3 service vlan-list 100 primary-vlan 100 service remote-mep 1 gigaethernet 1/1 service mep up mpid 2 gigaethernet 1/1 service pm enable mep 2 service cc enable mep 2 exit
58
Raisecom University – Hands On Training Show Configuration Show SLA ALL Show SLA # statistics Show SLA # results
59
Raisecom University – Hands On Training Session 5 – Provisioning Provision and Turn-up the Circuit KEY differences between RFC2544 and Y.1564 RCsam
Figure 22 - RFC2544 and Y1564
60
Raisecom University – Hands On Training Y.1564 RCsam Service Configuration Test Traffic is generated for each service sequentially, first up to CIR, then up to CIR + EIR (if applicable) and then over CIR + EIR Verifies that CIR and EIR are properly configured Verifies all parameters (pass/fail SAC thresholds for each Service Attribute)
Figure 23 – Bandwidth management
61
Raisecom University – Hands On Training Exercise 5/1 – Y.1564 – RAX – L This exercise will descried how to configure traffic test on EVC service according to Y1564.
Figure 24- Exercise 5-1 Y1564 – RAX-L
RAX-L -1 (Generator) create vlan 100 active interface nni 1 switchport trunk allowed vlan 1-4094 switchport mode trunk mef-type nni exit interface uni 1 switchport trunk allowed vlan 100 switchport mode trunk exit rcsam performance-test duration 1 rcsam service 1 l2-eth dmac 0000.0000.0002 frame-size fix 128 svlan 100 cir 100000 cbs 1024 traffic-policing rate 100000 service enable exit
rcsam test start
//after RAX-L-1 enabling loopback
show rcsam result detail
//after test finished
62
Raisecom University – Hands On Training
RAX-L-2 create vlan 100 active interface nni 1 switchport trunk allowed vlan 1-4094 switchport mode trunk loopback svlan 100 loopback mode rc-l2 mef-type nni exit interface uni 1 switchport trunk allowed vlan 100 switchport mode trunk exit
63
Raisecom University – Hands On Training Exercise 5/2 – Y.1564 – RAX – B This exercise will descried how to configure traffic test on EVC service according to Y1564.
Figure 25- Exercise 5-2 Y1564 - Rax-L
RAX-B1 create vlan 100 active ethernet cfm domain level 3
interface gigaethernet 1/1 switchport mode trunk exit ethernet cfm enable sdp gigaethernet 0/1
service ma3 level 3 service vlan-list 100 primary-vlan 100 service remote-mep 2 gigaethernet 1/1 service mep up mpid 1 gigaethernet 1/1 service pm enable mep 1 service cc enable mep 1 exit
flow profile 1 frame type ethernet ethertype 0x1234 frame length single 128 exit
64
Raisecom University – Hands On Training Continue ethernetsam service 1 svlan 100 Md level 3 uni gigaethernet 1/1 nni gigaethernet 0/1 cir 100000 flow-profile 1 performance bandwidth 100000 destination mac 000E.5E2E.3645
//EDD-2's MAC
exit
bandwidth-profile 1 cir 100000 cbs 32 bandwidth ingress gigaethernet 1/1 vlan 100 coslist 0 1
ethernetsam start service 1 configuration
//after RAX-B-2 enable loopback
ethernetsam start service 1 performance duration 5 loopback
//after RAX-B-2 enable
show ethernetsam result detail service 1 configuration show ethernetsam result detail service 1 performance
65
Raisecom University – Hands On Training RAX-B2 This RAX-B-2 will be in Loopback mode at the far end
create vlan 100 active ethernet cfm domain level 3
interface gigaethernet 1/1 switchport mode trunk
interface gigaethernet 0/1 loopback mode l2 loopback l2-rule 1 smac 000E.5E18.0002 ethertype 0x1234 vlan 100 loopback enable
//RAX-B-1's MAC
//after CCM discovering
ethernet cfm enable sdp gigaethernet 0/1
service ma3 level 3 service vlan-list 100 primary-vlan 100 service remote-mep 1 gigaethernet 1/1 service mep up mpid 2 gigaethernet 1/1 service pm enable mep 2 service cc enable mep 2
66
Raisecom University – Hands On Training “show ethernetsam result detail service 1 configuration “
“show ethersam result detail service 1 performance”
67
Raisecom University – Hands On Training Exercise 5/3 – RFC2544 - RAX-B The following exercise will examine how to configure RFC2544 test over RAX-B. **Currently only Rax-B supports the RFC2544
EDD-1: create vlan 100 active ethernet cfm domain level 3 interface gigaethernet 1/1 switchport mode trunk
ethernet cfm enable sdp gigaethernet 0/1
service ma3 level 3 service vlan-list 100 primary-vlan 100 service remote-mep 2 gigaethernet 1/1 service mep up mpid 1 gigaethernet 1/1 service pm enable mep 1 service cc enable mep 1
flow profile 1 frame type ethernet ethertype 0x1234 frame length mix
//must be mix
ethernetsam service 1 svlan 100 Md level 3 uni gigaethernet 1/1 nni gigaethernet 0/1 flow-profile 1 destination mac 000E.5E2E.3645
//RAX-B-2's MAC
exit
68
Raisecom University – Hands On Training Start the test ethernetsam rfc2544 start service 1 //After RAX-B-2 enable loopback (see RAX-B-2 configuration)
RAX-B-2 This RAX-B-2 will be in Loopback mode at the far end
create vlan 100 active ethernet cfm domain level 3
interface gigaethernet 1/1 switchport mode trunk
interface gigaethernet 0/1 loopback mode l2 loopback l2-rule 1 smac 000E.5E18.0002 ethertype 0x1234 vlan 100 loopback enable
//RAX-B-1's MAC
//after CCM discovering
ethernet cfm enable sdp gigaethernet 0/1
service ma3 level 3 service vlan-list 100 primary-vlan 100 service remote-mep 1 gigaethernet 1/1 service mep up mpid 2 gigaethernet 1/1 service pm enable mep 2 service cc enable mep 2
69
Raisecom University – Hands On Training Show Command – view RFC2544 test results show ethernetsam rfc2544 result service 1 //it takes about 1hour to finish the 2544 test, so only after first 10-15 minutes it possible to start see the results of the 64byte length.
Show configuration
Show Results
70