You are on page 1of 12

VPLS

MAC-move Extensions in 6.0


Whats new?

1. Sequential order of blocked ports, when a loop exists


2. Block a whole port instead of the SAP only (in PRD but not
implemented down-when-looped can be an option)
3. Extend retry time-out, to allow maintenance activities (to 600
seconds)

2 | TiMOS-6.0 workshop | March 2008 All Rights Reserved Alcatel-Lucent 2008


Sequential order

SAP or spoke-SDP can be blocked by MAC-move.


The operator wants to define the order in which they will be blocked, as well as defining
the criteria (cumulative-factor) per group.

3 levels/groups:

Tertiary: which is the default level of all saps and spokes (also for backward compatible reasons)
Secondary: configurable
Primary: configurable

3 | TiMOS-6.0 workshop | March 2008 All Rights Reserved Alcatel-Lucent 2008


configuration

*A:PE-1#
*A:PE-1# configure
configure service
service vpls
vpls 500
500
*A:PE-1>config>service>vpls# mac-move
*A:PE-1>config>service>vpls# mac-move
-- mac-move
mac-move
-- no
no mac-move
mac-move

[no]
[no] move-frequency
move-frequency -- Configure
Configure move
move frequency
frequency to
to be
be used
used
primary-ports
primary-ports ++ Configure
Configure primary-ports for this service
primary-ports for this service
[no]
[no] retry-timeout
retry-timeout -- Configure
Configure retry
retry timeout
timeout to
to be
be used
used
secondary-ports
secondary-ports ++ Configure
Configure secondary-ports
secondary-ports for
for this
this service
service
[no]
[no] shutdown
shutdown -- Administratively
Administratively enable/disable
enable/disable mac-move
mac-move

*A:PE-1>config>service>vpls#
*A:PE-1>config>service>vpls# mac-move
mac-move primary-ports
primary-ports
-- primary-ports
primary-ports

[no]
[no] cumulative-fac*
cumulative-fac* -- mac-relearn
mac-relearn periods
periods to
to be
be used
used for
for mac-relearn
mac-relearn rate
rate
[no]
[no] sap
sap -- configure this sap as primary vpls-port
configure this sap as primary vpls-port
[no]
[no] spoke-sdp
spoke-sdp -- configure
configure this
this sdp
sdp as
as primary
primary vpls-port
vpls-port

*A:PE-1>config>service>vpls#
*A:PE-1>config>service>vpls# mac-move
mac-move primary-ports
primary-ports

*A:PE-1>config>service>vpls>mac-move#
*A:PE-1>config>service>vpls>mac-move# primary-ports
primary-ports cumulative-factor
cumulative-factor 10
10
*A:PE-1>config>service>vpls>mac-move#
*A:PE-1>config>service>vpls>mac-move# secondary-ports
secondary-ports cumulative-factor
cumulative-factor 55
*A:PE-1>config>service>vpls>mac-move#
*A:PE-1>config>service>vpls>mac-move# primary-ports cumulative-factor 33
primary-ports cumulative-factor
MINOR:
MINOR: SVCMGR
SVCMGR #1235
#1235 The
The primary
primary cumulative
cumulative factor
factor must
must be
be larger
larger then
then the
the secondary
secondary
cumulative factor
cumulative factor
*A:PE-1>config>service>vpls>mac-move#
*A:PE-1>config>service>vpls>mac-move#

4 | TiMOS-6.0 workshop | March 2008 All Rights Reserved Alcatel-Lucent 2008


*B:AG-1>config>service>vpls#
*B:AG-1>config>service>vpls# info
example info
----------------------------------------------
----------------------------------------------
description
description "test
"test HMM"
HMM"
stp
stp
shutdown
shutdown
exit
AG-1 exit
sap
sap 1/1/9:501
1/1/9:501 create
create
exit
exit
SAP, vlan 501 sap
502
sap 1/1/9:502
1/1/9:502 create
create
503 exit
exit
504 sap
sap 1/1/9:503
1/1/9:503 create
create
505 exit
exit
sap
sap 1/1/9:504
1/1/9:504 create
create
Port 1/1/9 exit
exit
sap
sap 1/1/9:505
1/1/9:505 create
create
exit
exit
mac-move
mac-move
Notes: primary-ports
primary-ports
VPLS 505 on HW AG-1 sap
sap 1/1/9:501
1/1/9:501
5 saps, of which 2 primary, 2 sap 1/1/9:502
sap 1/1/9:502
secondary and one tertiary. cumulative-factor
cumulative-factor 55
Send 1000pps over 5 saps, all using exit
exit
secondary-ports
the same src_mac addresses secondary-ports
sap
sap 1/1/9:503
1/1/9:503
MAC-move will block ports sap 1/1/9:504
sap 1/1/9:504
cumulative-factor
cumulative-factor 33
exit
exit
move-frequency
move-frequency 55
retry-timeout
retry-timeout 30
30
no shutdown
no shutdown
exit
exit
no
no shutdown
shutdown

5 | TiMOS-6.0 workshop | March 2008 All Rights Reserved Alcatel-Lucent 2008


*B:AG-1>config>service>vpls#
*B:AG-1>config>service>vpls# show show service
service id
id 505
505 mac-move
mac-move

Verification start Service
Service Id
Id :: 505
505 Mac
Mac Move
Move :: Enabled
Enabled
Primary
Primary Factor
Factor :: 55 Secondary
Secondary Factor
Factor :: 33
Mac
Mac Move
Move Rate
Rate :: 55 Mac
Mac Move
Move Timeout
Timeout :: 3030
------------------------------------------------------------------------------
------------------------------------------------------------------------------
SAP
SAP Mac
Mac Move
Move Information:
Information: 1/1/9:501
1/1/9:501
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Admin
Admin State
State :: Up
Up Oper
Oper State
State :: Up
Up
Flags
Flags :: None
None
Mac
Mac Move
Move :: Blockable
Blockable Blockable
Blockable Level
Level :: Primary
Primary
------------------------------------------------------------------------------
------------------------------------------------------------------------------
SAP
SAP Mac
Mac Move
Move Information:
Information: 1/1/9:502
1/1/9:502
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Admin
Admin State
State :: Up
Up Oper
Oper State
State :: Up
Up
Flags
Flags :: None
None
Mac
Mac Move
Move :: Blockable
Blockable Blockable
Blockable Level
Level :: Primary
Primary
------------------------------------------------------------------------------
------------------------------------------------------------------------------
SAP
SAP Mac
Mac Move
Move Information:
Information: 1/1/9:503
1/1/9:503
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Admin
Admin State
State :: Up
Up Oper
Oper State
State :: Up
Up
Flags
Flags :: None
None
Mac
Mac Move
Move :: Blockable
Blockable Blockable
Blockable Level
Level :: Secondary
Secondary
------------------------------------------------------------------------------
------------------------------------------------------------------------------
SAP
SAP Mac
Mac Move
Move Information:
Information: 1/1/9:504
1/1/9:504
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Admin
Admin State
State :: Up
Up Oper
Oper State
State :: Up
Up
Flags
Flags : None
: None
Mac
Mac Move
Move :: Blockable
Blockable Blockable
Blockable Level
Level :: Secondary
Secondary
------------------------------------------------------------------------------
------------------------------------------------------------------------------
SAP
SAP Mac
Mac Move
Move Information:
Information: 1/1/9:505
1/1/9:505
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Admin
Admin State
State :: Up
Up Oper
Oper State
State :: Up
Up
Flags
Flags : None
: None
Mac
Mac Move
Move :: Blockable
Blockable Blockable
Blockable Level
Level :: Tertiary
Tertiary

6 | TiMOS-6.0 workshop | March 2008 All Rights Reserved Alcatel-Lucent 2008


Verification loop

B:AG-1#
B:AG-1# show
show log
log log-id
log-id 99
99

55 2008/03/28
2008/03/28 14:22:37.53
14:22:37.53 CEST
CEST MINOR:
MINOR: SVCMGR
SVCMGR #2209
#2209 Base
Base
"Mac
"Mac move rate for SAP 1/1/9:501 in service 505 (customer 1)
move rate for SAP 1/1/9:501 in service 505 (customer 1) exceeded
exceeded 55
and will retry in 30 seconds (retries left=3 admin=up oper=down)"
and will retry in 30 seconds (retries left=3 admin=up oper=down)"

44 2008/03/28
2008/03/28 14:22:24.76
14:22:24.76 CEST
CEST MINOR:
MINOR: SVCMGR
SVCMGR #2209
#2209 Base
Base
"Mac
"Mac move rate for SAP 1/1/9:504 in service 505 (customer 1)
move rate for SAP 1/1/9:504 in service 505 (customer 1) exceeded
exceeded 55
and
and will
will retry
retry in
in 30
30 seconds
seconds (retries
(retries left=3
left=3 admin=up
admin=up oper=down)"
oper=down)"

33 2008/03/28
2008/03/28 14:22:24.67
14:22:24.67 CEST
CEST MINOR:
MINOR: SVCMGR
SVCMGR #2209
#2209 Base
Base
"Mac
"Mac move
move rate
rate for
for SAP
SAP 1/1/9:503
1/1/9:503 in
in service
service 505
505 (customer
(customer 1)
1) exceeded
exceeded 55
and
and will
will retry
retry in
in 30
30 seconds
seconds (retries
(retries left=3
left=3 admin=up
admin=up oper=down)"
oper=down)"

22 2008/03/28
2008/03/28 14:22:14.66
14:22:14.66 CEST
CEST MINOR:
MINOR: SVCMGR
SVCMGR #2209
#2209 Base
Base
"Mac
"Mac move
move rate
rate for
for SAP
SAP 1/1/9:505
1/1/9:505 in
in service
service 505
505 (customer
(customer 1)
1) exceeded
exceeded 55
and will retry in 30 seconds (retries left=3 admin=up oper=down)"
and will retry in 30 seconds (retries left=3 admin=up oper=down)"

Notes:
VPLS 505 on HW AG-1
1000pps, duplicated on all (5) saps
First: tertiary sap is blocked (within first 5 seconds, can be in less then one seconds
Second: secondary saps are blocked, after 10-15 seconds
Third: primary sap is blocked, after 20-25 seconds
5 seconds accuracy
retries left visible in traps, not in show commands (can be improved), when port is UP

7 | TiMOS-6.0 workshop | March 2008 All Rights Reserved Alcatel-Lucent 2008


*B:AG-1#
*B:AG-1# show
show service
service id id 505
505 mac-move
mac-move

Service
Service Id
Id :: 505
505 Mac
Mac Move
Move :: Enabled
Enabled
Verification loop Primary Factor
Primary Factor :: 5 5 Secondary Factor :
Secondary Factor : 3 3
Mac
Mac Move
Move Rate
Rate :: 55 Mac
Mac Move
Move Timeout
Timeout :: 30
30
------------------------------------------------------------------------------
------------------------------------------------------------------------------
SAP
SAP Mac
Mac Move
Move Information:
Information: 1/1/9:501
1/1/9:501
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Admin
Admin State
State :: UpUp Oper
Oper State
State :: Down
Down
Flags
Flags : RelearnLimitExceeded
: RelearnLimitExceeded
Notes: Time
Time to
to come
come up
up :: 6969 seconds
seconds Retries
Retries Left
Left :: 11
Difference in Mac
Mac Move
Move :: Blockable
Blockable Blockable
Blockable Level
Level :: Primary
Primary
------------------------------------------------------------------------------
------------------------------------------------------------------------------
retry time, is SAP
SAP Mac
Mac Move
Move Information:
Information: 1/1/9:502
1/1/9:502
(cumul * 5s) ------------------------------------------------------------------------------
------------------------------------------------------------------------------
longer then Admin
Admin State
State :: UpUp Oper
Oper State
State :: Up
Up
tertiary ports Flags
Flags : None
: None
Mac
Mac Move
Move :: Blockable
Blockable Blockable
Blockable Level
Level :: Primary
Primary
Only one rertry ------------------------------------------------------------------------------
------------------------------------------------------------------------------
left, so time to SAP
SAP Mac
Mac Move
Move Information:
Information: 1/1/9:503
1/1/9:503
come up is 90 ------------------------------------------------------------------------------
------------------------------------------------------------------------------
Admin
Admin State :: Up Oper
Oper State :: Down
seconds. Flags
State
:
Up
RelearnLimitExceeded
State Down
Flags : RelearnLimitExceeded
Time
Time to
to come
come up
up :: 5656 seconds
seconds Retries
Retries Left
Left :: 11
Mac
Mac Move
Move :: Blockable
Blockable Blockable
Blockable Level
Level :: Secondary
Secondary
------------------------------------------------------------------------------
------------------------------------------------------------------------------
SAP
SAP Mac
Mac Move
Move Information:
Information: 1/1/9:504
1/1/9:504
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Admin
Admin State
State :: UpUp Oper
Oper State
State :: Down
Down
Flags
Flags : RelearnLimitExceeded
: RelearnLimitExceeded
Time
Time to
to come
come up
up :: 5656 seconds
seconds Retries
Retries Left
Left :: 11
Mac
Mac Move
Move :: Blockable
Blockable Blockable
Blockable Level
Level :: Secondary
Secondary
------------------------------------------------------------------------------
------------------------------------------------------------------------------
SAP
SAP Mac
Mac Move
Move Information:
Information: 1/1/9:505
1/1/9:505
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Admin
Admin State
State :: UpUp Oper
Oper State
State :: Down
Down
Flags
Flags : RelearnLimitExceeded
: RelearnLimitExceeded
Time
Time to
to come
come up
up :: 4646 seconds
seconds Retries
Retries Left
Left :: 11
8 | TiMOS-6.0 workshop | March 2008 Mac Move
Mac Move : Blockable
:Rights
All Blockable
Reserved Alcatel-Lucent 2008 Blockable Level
Blockable Level :: Tertiary
Tertiary
Verification end
B:AG-1#
B:AG-1# show
show log
log log-id
log-id 99
99

99 2008/03/28
2008/03/28 14:23:06.64
14:23:06.64 CEST
CEST MINOR:
MINOR: SVCMGR
SVCMGR #2203
#2203 Base
Base
"Status
"Status of
of SAP
SAP 1/1/9:501
1/1/9:501 in
in service
service 505
505 (customer
(customer 1)
1) changed
changed to
to admin=up
admin=up
oper=up
oper=up flags="
flags="

88 2008/03/28
2008/03/28 14:22:54.64
14:22:54.64 CEST
CEST MINOR:
MINOR: SVCMGR
SVCMGR #2203
#2203 Base
Base
"Status
"Status of
of SAP
SAP 1/1/9:504
1/1/9:504 in
in service
service 505
505 (customer
(customer 1)
1) changed
changed to
to admin=up
admin=up
oper=up flags="
oper=up flags="

77 2008/03/28
2008/03/28 14:22:54.64
14:22:54.64 CEST
CEST MINOR:
MINOR: SVCMGR
SVCMGR #2203
#2203 Base
Base
"Status
"Status of SAP 1/1/9:503 in service 505 (customer 1) changed
of SAP 1/1/9:503 in service 505 (customer 1) changed to
to admin=up
admin=up
oper=up flags="
oper=up flags="

66 2008/03/28
2008/03/28 14:22:44.64
14:22:44.64 CEST
CEST MINOR:
MINOR: SVCMGR
SVCMGR #2203
#2203 Base
Base
"Status
"Status of SAP 1/1/9:505 in service 505 (customer 1) changed
of SAP 1/1/9:505 in service 505 (customer 1) changed to
to admin=up
admin=up
oper=up
oper=up flags="
flags="

Notes:
VPLS 505 on HW AG-1
Stop the traffic: 1000pps, duplicated on all (5) saps
Retry-time is 30 seconds, results in 60 seconds time to
Ports restore depending on the retry-timer, so it can be first tertiary ports, followed
by secondary and primary ports.

9 | TiMOS-6.0 workshop | March 2008 All Rights Reserved Alcatel-Lucent 2008


Retry-timer: retries

block

30s 60s 90s INF

block

30s 30s

t
t > 300 + (retry-timeout * 6)

Notes:
Retry-timeout is 30s
Time between loops needs to be more then [300 + (retry *6)], before resetting rertry-
timer to its original value.
Should be nice to have a timer decreasing in a show command, so that the status can
be verified, when a sap/sdp is UP

10 | TiMOS-6.0 workshop | March 2008 All Rights Reserved Alcatel-Lucent 2008


summary

SAP or spoke-SDP can be blocked by MAC-move.


After three times (not configurable) retry-timer. Blocked infinitely
Cumulative factor on primary ports has to be higher then on the secondary
ports.
When port is shutdown for ever clear status by shut/no shut of sap or sdp.
Current default time period = 5 seconds so cumulative-factor 3 means 15
seconds.
Retry-timeout lager then highest cumulative * 5 seconds.
Retry-timeouts become longer failure after failure (1*30s, 2*30s, 3*30s,
never)
Retry-timeouts are kept per port (sap/sdp)
Number of failures per port is kept for a time t [where t=300+(retry*6)]
It would be nice to see somehow how many failures already occurred on the
port.
Its a security-feature, not a loop-prevention protocol.

11 | TiMOS-6.0 workshop | March 2008 All Rights Reserved Alcatel-Lucent 2008


www.alcatel-lucent.com
www.alcatel-lucent.com

12 | TiMOS-6.0 workshop | March 2008 All Rights Reserved Alcatel-Lucent 2008

You might also like