End-to-end GMPLS recovery is configured at the LSP level using the e2e-protection-type command, as follows:
config
router
gmpls
lsp gmpls-tunnel-name [gmpls-uni]
to remote-uni-c-gmpls-router-id
e2e-protection-type [unprotected | 1toN | sbr]
revert-timer timer-value
The protection type names are common to those used in the optical network. The protection types are as follows:
unprotected — 0x00
1toN — 1:N protection. Extra traffic is not supported. Note that 1:1 protection is a special case of 1:N. 0x04
sbr — Full LSP rerouting; 0x01
The default end-to-end protection type is unprotected.
It is possible to configure segment protection on a path independently of the type of end-to-end protection that is configured.
1toN protection requires the configuration of multiple working paths and a protect path for a GMPLS LSP. The working paths are then associated with different GMPLS Tunnel Groups. Configuration is as follows:
config
router
gmpls
lsp lsp-name gmpls-uni
to remote-uni-c-gmpls-router-id
e2e-protection-type 1toN // Only these types are allowed for gmpls-uni
switching-type ethernet
encoding-type ethernet
generalized-pid ethernet
revert-timer timer-value
retry-limit limit
working-path path-name1 [lmp-peer <peer-gmpls-router-id>] ...
[no] shutdown
working-path path-name2 [lmp-peer peer-gmpls-router-id] ...
[no] shutdown
working-path path-name3 [lmp-peer peer-gmpls-router-id] ...
[no] shutdown
protect-path path-name4 [lmp-peer peer-gmpls-router-id] ...
[no] shutdown
The LSP is then bound to one or more GMPLS tunnel groups. Load sharing or 1:N protection may be used across the working paths. The load sharing case is described below.
For the non-load sharing 1:N case, a single LSP is assigned to each tunnel group, as follows:
For the head end node:
config > gmpls-tunnel-group 2 create
type head-end
far-end remote-uni-c-router-id
mode protection
member 1 create
glsp session-name lsp-name:path-name1
no shutdown
no shutdown
config > gmpls-tunnel-group 3
type head-end
far-end remote-uni-c-router-id
mode protection
member 1 create
glsp session-name lsp-name:path-name1
no shutdown
no shutdown
config > gmpls-tunnel-group 4
type head-end
far-end remote-uni-c-router-id
mode protection
member 1 create
glsp session-name lsp-name:path-name1
no shutdown
no shutdown
For the tail end node:
config > gmpls-tunnel-group 2
type tail-end
far-end remote-uni-c-router-id
mode protection
member 1 create
glsp session-name lsp-name:path-name1
no shutdown
no shutdown
config > gmpls-tunnel-group 3
type tail-end
far-end remote-uni-c-router-id
mode protection
member 1 create
glsp session-name lsp-name:path-name1
no shutdown
no shutdown
config > gmpls-tunnel-group 4
type tail-end
far-end remote-uni-c-router-id
mode protection
member 1 create
glsp session-name lsp-name:path-name1
no shutdown
no shutdown
A shutdown of a working path does not trigger a switchover to the protect path. The user should either use the tools>perform>router>gmpls force or manual commands, or shut down the TE-Link, data bearer, or port associated with the gLSP path.