The following sequence of examples show how to add a wavelength to a
path option for a GMPLS tunnel and verify the outgoing label is set
accordingly.
This example shows how to configure a GMPLS tunnel with no ERO path
option.
gmpls optical-uni
controller dwdm0/3/0/0
tunnel-properties
tunnel-id 1001
destination ipv4 unicast 172.16.0.1
path-option 10 no-ero lockdown
!
!
!
This example shows how to verify the default values for the outgoing
label (UNI-N source, channel number same as Default Channel) and the list of
valid wavelengths.
RP/0/RP0/CPU0:router#show mpls traffic-eng link-management optical-uni controller dwdm 0/3/0/0
Optical interface: dwdm0/3/0/0
Overview:
IM state: Up
Child interface: POS0_3_0_0: IM state Up
OLM/LMP state: Up
Optical tunnel state: up
Connection:
Tunnel role: Head
Tunnel-id: 1001, LSP-id 21, Extended tunnel-id 10.0.0.1
Tunnel source: 10.0.0.1, destination: 172.16.0.1
Optical router-ids: Local: 10.0.0.1, Remote: 172.16.0.1
Label source: UNI-N
Upstream label:
Optical label:
Grid : DWDM
Channel spacing : 50 GHz
Identifier : 0
Channel Number : 60
Downstream label:
Optical label:
Grid : DWDM
Channel spacing : 50 GHz
Identifier : 0
Channel Number : 60
SRLG discovery: Disabled
SRLG announcement: None
...
Optical capabilities:
Controller type: DWDM
Channel spacing: 50 GHz
Default channel: 60
89 supported channels:
-28, -27, -26, -25, -24, -23, -22, -21
-20, -19, -18, -17, -16, -15, -14, -13
-12, -11, -10, -9, -8, -7, -6, -5
-4, -3, -2, -1, 0, 1, 2, 3
4, 5, 6, 7, 8, 9, 10, 11
12, 13, 14, 15, 16, 17, 18, 19
20, 21, 22, 23, 24, 25, 26, 27
28, 29, 30, 31, 32, 33, 34, 35
36, 37, 38, 39, 40, 41, 42, 43
44, 45, 46, 47, 48, 49, 50, 51
52, 53, 54, 55, 56, 57, 58, 59
60
Controller SRLGs
None
This example shows how to set valid wavelength 10 (61 - 51) for the
current path.
gmpls optical-uni
controller dwdm0/3/0/0
tunnel-properties
tunnel-id 1001
destination ipv4 unicast 172.16.0.1
path-option 10 explicit name explicit_all_loose_multi_hop signaled-label dwdm wavelength 10 lockdown verbatim
!
!
!
This example shows how to verify that the tunnel is up and the
specified wavelength is used (label source is UNI-C and outgoing label is 51).
RP/0/RP0/CPU0:router#show mpls traffic-eng link-management optical-uni controller dwdm 0/3/0/0
Optical interface: dwdm0/3/0/0
Overview:
IM state: Up
Child interface: POS0_3_0_0: IM state Up
OLM/LMP state: Up
Optical tunnel state: up
Connection:
Tunnel role: Head
Tunnel-id: 1001, LSP-id 23, Extended tunnel-id 10.0.0.1
Tunnel source: 10.0.0.1, destination: 172.16.0.1
Optical router-ids: Local: 10.0.0.1, Remote: 172.16.0.1
Label source: UNI-C
Upstream label:
Optical label:
Grid : DWDM
Channel spacing : 50 GHz
Identifier : 0
Channel Number : 51
Downstream label:
Optical label:
Grid : DWDM
Channel spacing : 50 GHz
Identifier : 0
Channel Number : 51
SRLG discovery: Disabled
SRLG announcement: None
...
Optical capabilities:
Controller type: DWDM
Channel spacing: 50 GHz
Default channel: 60
89 supported channels:
-28, -27, -26, -25, -24, -23, -22, -21
-20, -19, -18, -17, -16, -15, -14, -13
-12, -11, -10, -9, -8, -7, -6, -5
-4, -3, -2, -1, 0, 1, 2, 3
4, 5, 6, 7, 8, 9, 10, 11
12, 13, 14, 15, 16, 17, 18, 19
20, 21, 22, 23, 24, 25, 26, 27
28, 29, 30, 31, 32, 33, 34, 35
36, 37, 38, 39, 40, 41, 42, 43
44, 45, 46, 47, 48, 49, 50, 51
52, 53, 54, 55, 56, 57, 58, 59
60
Controller SRLGs
None
This example shows how to verify the upstream label on the tunnel
tail.
RP/0/RP0/CPU0:router#show mpls traffic-eng link-management optical-uni controller dwdm 0/3/0/0
Optical interface: dwdm0/3/0/0
Overview:
IM state: Up
Child interface: POS0_3_0_0: IM state Up
OLM/LMP state: Up
Optical tunnel state: up
Connection:
Tunnel role: Tail
Tunnel-id: 1001, LSP-id 23, Extended tunnel-id 10.0.0.1
Tunnel source: 10.0.0.1, destination: 172.16.0.1
Optical router-ids: Local: 172.16.0.1, Remote: 10.0.0.1
Label source: UNI-N
Upstream label:
Optical label:
Grid : DWDM
Channel spacing : 50 GHz
Identifier : 0
Channel Number : 51
Downstream label:
Optical label:
Grid : DWDM
Channel spacing : 50 GHz
Identifier : 0
Channel Number : 51
SRLG discovery: Disabled
SRLG announcement: None
…..
Optical capabilities:
Controller type: DWDM
Channel spacing: 50 GHz
Default channel: 60
89 supported channels:
-28, -27, -26, -25, -24, -23, -22, -21
-20, -19, -18, -17, -16, -15, -14, -13
-12, -11, -10, -9, -8, -7, -6, -5
-4, -3, -2, -1, 0, 1, 2, 3
4, 5, 6, 7, 8, 9, 10, 11
12, 13, 14, 15, 16, 17, 18, 19
20, 21, 22, 23, 24, 25, 26, 27
28, 29, 30, 31, 32, 33, 34, 35
36, 37, 38, 39, 40, 41, 42, 43
44, 45, 46, 47, 48, 49, 50, 51
52, 53, 54, 55, 56, 57, 58, 59
60
Controller SRLGs
None