Create a GMPLS UNI Circuit
Before you begin
Configure refresh optical interval. See Configure the Refresh Optical Interval.
Configure loopback interface. See Provision Loopback Interface.
Configure the OSPF on an interface . See Configure the OSPF on an Interface.
Configure the MPLS-TE on an OTN Controller. See Configure the MPLS-TE on an OTN Controller.
Procedure
Step 1 |
configure |
||||
Step 2 |
lmp {gmpls | port | trace} optical-uni {controller | neighbor | router-id} controller-name R/S/I/P Example:
Enters the LMP GMPLS UNI controller configuration mode. The value of lmp port ranges from 1 to 65535. |
||||
Step 3 |
neighbor name Example:
Configures the LMP neighbor name of a controller. |
||||
Step 4 |
neighbor interface-id unnumbered value Example:
Configures the interface identifier for the LMP. The value of interface-ID ranges from 1 to 4294967295. |
||||
Step 5 |
neighbor link-id ipv4 unicast address Example:
Configures the LMP neighbor link identifier address. |
||||
Step 6 |
link-id ipv4 unicast value Example:
Configures the LMP GMPLS UNI link identifier address. |
||||
Step 7 |
exit Example:
Exits the LMP GMPLS UNI controller configuration mode. |
||||
Step 8 |
lmp {gmpls | port | trace} optical-uni neighbor name Example:
Enters the LMP GMPLS UNI neighbor mode. |
||||
Step 9 |
ipcc routed Example:
Configures a GMPLS UNI LMP neighbor and create a routed IPCC. |
||||
Step 10 |
router-id ipv4 unicast value Example:
Configures a router id for UNI LMP. |
||||
Step 11 |
exit Example:
Exits the LMP GMPLS UNI neighbor mode. |
||||
Step 12 |
mpls traffic-eng Example:
Enters the MPLS traffic-eng configuration mode. |
||||
Step 13 |
attribute-set xro attribute set name exclude strict lsp source head node IP address destination tail node IP address tunnel-id tunnel id extended-tunnel-id head node IP address
Example:
Defines an attribute set for creating diverse circuit of a circuit with head node IP : 10.77.142.75, tail node IP:10.77.142.71 and tunnel id :0.
|
||||
Step 14 |
gmpls optical-uni controller controller-name R/S/I/P Example:
Enters the GMPLS UNI controller configuration mode. |
||||
Step 15 |
tunnel-properties tunnel-id value Example:
Configures the GMPLS-UNI tunnel ID. The value of tunnel-ID ranges from 0 to 64535. |
||||
Step 16 |
tunnel-properties destination ipv4 unicast value Example:
Specifies the GMPLS-UNI tunnel destination. |
||||
Step 17 |
tunnel-properties path-option 1 no-ero [xro-attribute-set] lockdown Example:
Configures the GMPLS-UNI path-option. |
||||
Step 18 |
exit Example:
Exits the GMPLS UNI controller configuration mode. |
||||
Step 19 |
commit |
Example: Create a GMPLS-UNI Circuit
This example shows how to create a GMPLS-UNI circuit using Cisco IOS XR commands:
RP/0/RP0:hostname(config)# lmp gmpls optical-uni controller optics 0/0/0/4
RP/0/RP0:hostname(config-lmp-gmpls-uni-cntl)# neighbor xr4
RP/0/RP0:hostname(config-lmp-gmpls-uni-cntl)# neighbor link-id ipv4 unicast 1.2.3.4
RP/0/RP0:hostname(config-lmp-gmpls-uni-cntl)# neighbor interface-id unnumbered 4
RP/0/RP0:hostname(config-lmp-gmpls-uni-cntl)# link-id ipv4 unicast 1.2.3.4
RP/0/RP0:hostname(config-lmp-gmpls-uni-cntl)# exit
RP/0/RP0:hostname(config-lmp-gmpls-uni)# exit
RP/0/RP0:hostname(config-lmp)# exit
RP/0/RP0:hostname(config)# lmp gmpls optical-uni neighbor xr4
RP/0/RP0:hostname(config-lmp-gmpls-uni-nbr-xr4)# ipcc routed
RP/0/RP0:hostname(config-lmp-gmpls-uni-nbr-xr4)# router-id ipv4 unicast 1.1.1.1
RP/0/RP0:hostname(config-lmp-gmpls-uni-nbr-xr4)# exit
RP/0/RP0:hostname(config-lmp-gmpls-uni)# exit
RP/0/RP0:hostname(config-lmp)# exit
RP/0/RP0:hostname(config)# mpls traffic-eng
RP/0/RP0:hostname(config-mpls-te)# gmpls optical-uni controller optics 0/0/0/2
RP/0/RP0:hostname(config-te-gmpls-cntl)# tunnel-properties tunnel-id 6
RP/0/RP0:hostname(config-te-gmpls-cntl)# tunnel-properties destination ipv4 unicast 1.2.3.4
RP/0/RP0:hostname(config-te-gmpls-cntl)# tunnel-properties path-option 10 no-ero lockdown
RP/0/RP0:hostname(config-te-gmpls-cntl)# exit
RP/0/RP0:hostname(config-te-gmpls-uni)# exit
RP/0/RP0:hostname(config-mpls-te)# exit
What to do next
Create an OTN Controller. Configure an OTN Controller
Provision Loopback Interface
Purpose |
This procedure provisions the loopback interface on the node. |
Tools/Equipment |
None |
Prerequisite Procedures |
"Login to CTC" in System Setup and Software Installation Guide for Cisco NCS 4000 Series |
Required/As Needed |
As needed |
Onsite/Remote |
Onsite |
Security Level |
Provisioning or higher |
Procedure
Step 1 |
In the node view, click the tabs. |
Step 2 |
If you want to create a loopback interface, complete the following:
|
Step 3 |
If you want to edit a loopback interface, complete the following:
|
Step 4 |
Return to your originating procedure. |
Configure the OSPF on an Interface
Before you begin
Optics controller should be created before configuring OSPF on an interface.
Procedure
Step 1 |
configure |
Step 2 |
router ospf name-of-the-process Example:
Enables OSPF routing and enters OSPF configuration mode. |
Step 3 |
router-id id-of-the-router Example:
Specifies the OSPF router ID. The identifier is in the IPv4 address format. |
Step 4 |
area id-of-the-area Example:
Specifies the OSPF area ID and enters the area configuration mode. The identifier can be either a decimal value or an IPv4 address. The OSPF area ID value ranges from 0 to 4294967295. |
Step 5 |
interface loopback id Example:
Configures OSPF on the specified interface. |
Step 6 |
interface gcc0 R/S/I/P Example:
Configures OSPF on the specified interface. |
Step 7 |
commit |
Example: Configure OSPF on an Interface
The following example shows how to configure OSPF on an interface using Cisco IOS XR commands:
RP/0/RP0:hostname# configure terminal
RP/0/RP0:hostname(config)# router ospf abc
RP/0/RP0:hostname(config-ospf)# router-id 2.2.2.2
RP/0/RP0:hostname(config)# area 4
RP/0/RP0:hostname(config-ospf-ar)# interface gcc0 0/0/0/4
RP/0/RP0:hostname(config-ospf-ar)# exit
Configure the OSPF-TE on an Interface
Before you begin
Optics controller should be created before configuring the OSPF-TE on an interface.
Procedure
Step 1 |
configure |
Step 2 |
router ospf name-of-the-process Example:
Enables OSPF routing and enters OSPF configuration mode. |
Step 3 |
router-id id-of-the-router Example:
Specifies the OSPF router ID. The identifier is in the IPv4 address format. |
Step 4 |
area id-of-the-area Example:
Specifies the OSPF area ID and enters the area configuration mode. The identifier can be either a decimal value or an IPv4 address. The OSPF area ID value ranges from 0 to 4294967295. |
Step 5 |
mpls traffic-eng Example:
Enables GMPLS for the specified OSPF-TE area. |
Step 6 |
interface loopback range-of-the-interface loopback Example:
|
Step 7 |
passive [disable | enable] Example:
Specifies that the OSPF-TE configuration is passive. |
Step 8 |
exit Example:
Exits the loopback interface configuration mode. |
Step 9 |
interface GCC0 R/S/I/P Example:
|
Step 10 |
exit Example:
Exits the loopback interface configuration mode. |
Step 11 |
mpls traffic-eng router-id loopback value Example:
|
Step 12 |
commit |
Example: Configure OSPF-TE on an Interface
The following example shows how to configure OSPF-TE on an interface using Cisco IOS XR commands:
RP/0/RP0:hostname# configure terminal
RP/0/RP0:hostname(config)# router ospf abc
RP/0/RP0:hostname(config-ospf)# router-id 1.1.1.1
RP/0/RP0:hostname(config-ospf)# area 6
RP/0/RP0:hostname(config-ospf-ar)# mpls traffic-eng
RP/0/RP0:hostname(config-ospf-ar)# interface loopback 5
RP/0/RP0:hostname(config-ospf-ar-if)# passive enable
RP/0/RP0:hostname(config-ospf-ar-if)# exit
RP/0/RP0:hostname(config-ospf-ar)# interface GCC0 0/0/0/20
RP/0/RP0:hostname(config-ospf-ar)# exit
RP/0/RP0:hostname(config-ospf)# mpls traffic-eng router-id loopback 4
RP/0/RP0:hostname(config-ospf)# exit
Configure the Refresh Optical Interval
Before you begin
Optics controller should be created before configuring the refresh optical interval.
Procedure
Step 1 |
configure |
Step 2 |
rsvp Example:
Enters the RSVP mode. |
Step 3 |
controller Type-of-the-controller R/S/I/P Example:
Enters the otu4 controller mode. |
Step 4 |
signalling refresh out-of-band [missed | interval] value Example:
Specifies the interval between successive refreshes. The value of missed messages ranges from 1 to 110000 and refresh interval value ranges from 180 to 86400 seconds. |
Step 5 |
commit |
Example: Configure Refresh Optical Interval
The following example shows how to configure refresh optical interval using Cisco IOS XR commands:
RP/0/RP0:hostname# configure terminal
RP/0/RP0:hostname(config)# rsvp
RP/0/RP0:hostname(config-rsvp)# controller otu4 0/0/0/20
RP/0/RP0:hostname(config-rsvp-cntl)# signalling refresh out-of-band missed 24
RP/0/RP0:hostname(config-rsvp-cntl)# exit
Configure the MPLS-TE on an OTN Controller
Before you begin
Optics controller should be created before configuring mpls-te on an otn controller.
Procedure
Step 1 |
configure |
Step 2 |
mpls traffic-eng Example:
Enters the MPLS-TE configuration mode. |
Step 3 |
gmpls [nni | optical-uni] Example:
Enters the GMPLS Interface configuration mode. You can specify two types of interface: UNI and NNI. |
Step 4 |
topology instance ospf name-of-the-topology instance areavalue Example:
Configures the topology instance of the OSPF. The value of OSPF area ID ranges from 0 to 4294967295. |
Step 5 |
controller name-of-the-controller R/S/I/P Example:
Configures the GMPLS-NNI on the specified OTN controller. |
Step 6 |
admin-weight value-of-the-admin-weight Example:
Configures admin weight on the specified controller. The valid range is from 0 to 65535. |
Step 7 |
commit |
Example: Configure MPLS-TE on an OTN Controller
The following example shows how to configure MPLS-TE on an OTN controller using Cisco IOS XR commands:
RP/0/RP0:hostname# configure terminal
RP/0/RP0:hostname(config)# mpls traffic-eng
RP/0/RP0:hostname(config-mpls-te)# gmpls nni
RP/0/RP0:hostname(config-te-gmpls-nni-ti)# controller otu4 0/0/0/1
RP/0/RP0:hostname(config-te-gmpls-nni-ti-cntl)# admin-weight 7
RP/0/RP0:hostname(config-line)# exit
Create an OTN Circuit through Control Plane
Before you begin
Optics controller should be created before creating an otn circuit.
Procedure
Step 1 |
configure |
||
Step 2 |
mpls traffic-eng Example:
Enters the MPLS traffic-eng configuration mode. |
||
Step 3 |
gmpls nni Example:
Enters the GMPLS NNI configuration mode. |
||
Step 4 |
controller odu-group-te tunnel-ID Example:
Enters the Odu-Group-Te configuration mode. The tunnel ID value ranges from 0 to 63535. |
||
Step 5 |
destination type-of-the-destination unicast address-of-the-destination Example:
Specifies the destination IPv4 unicast address. |
||
Step 6 |
static-uni ingress-port controller name-of-the-controller R/S/I/P egress-port unnumbered value Example:
Sets the static UNI endpoints of the NNI tunnel. The port IF index value ranges from 0 to 4294967295. |
||
Step 7 |
signalled-bandwidth type-of-the-controller Example:
Sets the signal bandwidth of the controller. |
||
Step 8 |
signalled-name name Example:
Specifies the signalled name for signalling. The maximum length is 64 characters. |
||
Step 9 |
path-protection attribute-set name-of-the-attribute-set Example:
Specifies the attribute set name for path protection. The maximum length is 32 characters. |
||
Step 10 |
path-option value [dynamic | explicit] [lockdown | protected-by | restored-from] preference level-of-the-path-option [lockdown | restored-from] preference level-of-the-path-option lockdown Example:
Configures the setup type and preference level of path option. The range of preference value is from 1 to 1000.
|
||
Step 11 |
logging events lsp-status state Example:
Enables the interface lsp state alarms. |
||
Step 12 |
commit |
Example: Create an OTN Circuit
The following example shows how to create an explicit path using Cisco IOS XR commands:
RP/0/RP0:hostname # configure terminal
RP/0/RP0:hostname (config)# mpls traffic-eng
RP/0/RP0:hostname (config-mpls-te)# gmpls optical-nni
RP/0/RP0:hostname (config-te-gmpls-nni)# controller Odu-Group-Te 7
RP/0/RP0:hostname (config-te-gmpls-tun-0x7)# destination ipv4 unicast 2.2.2.2
RP/0/RP0:hostname (config-te-gmpls-tun-0x7)# static-uni ingress-port controller GigabitEthernet 0/0/0/3 egress-port unnumbered 6
RP/0/RP0:hostname (config-te-gmpls-tun-0x7)# signalled-bandwidth odu1
RP/0/RP0:hostname (config-te-gmpls-tun-0x7)# signalled-name abcd
RP/0/RP0:hostname (config-te-gmpls-tun-0x7)# path-protection attribute-set ss
RP/0/RP0:hostname (config-te-gmpls-tun-0x7)# path-option 5 dynamic protected-by 10 restored-from 30 lockdown
RP/0/RP0:hostname (config-te-gmpls-tun-0x7)# logging events lsp-status state
RP/0/RP0:hostname # commit
Configure a Permanent Connection (xconnect)
Before you begin
Optics controller should be created before configuring a permanent connection.
Procedure
Step 1 |
configure |
||
Step 2 |
xconnect ID-of-the-xconnect endpoint-1 Type-of-the-controller R/S/I/P endpoint-2 Type-of-the-controller R/S/I/P Example:
Configures a permanent connection between two ODUk controllers. The cross connection ID value ranges from 1 to 32655
|
||
Step 3 |
commit |
View a Permanent Connections
Before you begin
Create a permanent connection. See Configure a Permanent Connection (xconnect).
Procedure
Step 1 |
configure |
Step 2 |
show xconnect [all | id | trace] Example:
Displays details of all the permanent connections. |
Step 3 |
show xconnect [all | id | trace] ID-value Example:
Displays details of all the permanent connections for the given connection ID. The cross connection ID value ranges from 1 to 32655. |
Step 4 |
commit |