Configuring Static MPLS Labels on Cisco RSP3 Module
This section shows the configuration of static MPLS labels on Cisco RSP3 module for CEM. In the figure below, the serial interfaces are configured on Customer Edge (CE) routers (CE1 and CE2). The Xconnect is configured on the Provider Edge (PE) routers (PE1 and PE2). Unlike the process where the LDP protocol assigns the MPLS labels, you can manually configure the static labels on PE1 and PE2 routers. The CEM groups are configured on PE1 and PE2 routers. The traffic originating from the CE1 router is sent to the PE2 router, where the packets are converted and are finally sent to the CE2 router.
The following configuration examples are for SONET VT-15 CEP mode.
Core Configuration:
-
For PE1:
interface Loopback0 no ip address ip address 10.1.1.1 255.0.0.0 end l2 router-id 10.1.1.1 end mpls label range 28032 32767 static 16 15998 mpls ldp label allocate global prefix-list DENYALL multilink bundle-name authenticated end segment-routing mpls global-block 16000 28031 local-block 15999 15999 connected-prefix-sid-map address-family ipv4 10.1.1.1/32 absolute 16001 range 1 exit-address-family end no router ospf 100 end router ospf 100 router-id 10.1.1.1 segment-routing area 0 mpls fast-reroute per-prefix enable prefix-priority high fast-reroute per-prefix ti-lfa fast-reroute keep-all-paths network 10.1.1.1 255.0.0.0 area 0 network 192.168.1.0 255.255.0.0 area 0 end interface Port-channel1 ip address 192.168.1.1 255.255.0.0 ip ospf network point-to-point ip ospf mtu-ignore end interface Te0/11/0 no ip address cdp enable channel-group 1 mode active end network-clock input-source 1 interface Te0/11/0 network-clock synchronization automatic network-clock synchronization mode qL-enabled network-clock wait-to-restore 0 global esmc process end
-
For PE2:
interface Loopback0 no ip address ip address 10.2.2.2 255.0.0.0 end l2 router-id 10.2.2.2 end mpls label range 28032 32767 static 16 15998 mpls ldp label allocate global prefix-list DENYALL multilink bundle-name authenticated end segment-routing mpls global-block 16000 28031 local-block 15999 15999 connected-prefix-sid-map address-family ipv4 10.2.2.2/32 absolute 16002 range 1 exit-address-family end no router ospf 100 end router ospf 100 router-id 10.2.2.2 segment-routing area 0 mpls fast-reroute per-prefix enable prefix-priority high fast-reroute per-prefix ti-lfa fast-reroute keep-all-paths network 10.2.2.2 255.0.0.0 area 0 network 192.168.1.0 255.255.0.0 area 0 end interface Port-channel1 ip address 192.168.1.2 255.255.0.0 ip ospf network point-to-point ip ospf mtu-ignore end interface Te0/4/0 no ip address cdp enable channel-group 1 mode active end network-clock synchronization automatic network-clock synchronization mode qL-enabled esmc process end
Controller Configuration:
-
For CE 1:
controller sonet 2/1/0 framing sonet end controller sonet 2/1/0 no shut end controller sonet 2/1/0 sts-1 1 mode vt-15 vtg 1 t1 1 channel-group 0 timeslots 1-24 end interface Serial2/1/0.1/1/1:0 ip address 172.16.0.1 255.240.0.0 end
-
For PE1:
controller mediatype 0/7/4 mode sonet controller sonet 0/7/4 rate OC12 end controller sonet 0/7/4 sts-1 1 mode vt-15 vtg 1 vt 1 cem-group 0 cep end
-
For PE2:
controller mediatype 0/3/2 mode sonet controller sonet 0/3/2 rate OC12 end controller sonet 0/3/2 sts-1 1 mode vt-15 vtg 1 vt 1 cem-group 0 cep end
-
For CE 2:
controller sonet 3/0/0 framing sonet end controller sonet 3/0/0 no shut end controller sonet 3/0/0 sts-1 1 mode vt-15 vtg 1 t1 1 channel-group 0 timeslots 1-24 end interface Serial3/0/0.1/1/1:0 ip address 172.16.0.2 255.240.0.0 end
Xconnect Configuration:
-
For PE1:
interface cem 0/7/4 cem 0 xconnect 10.2.2.2 1 encapsulation mpls manual mpls label 16 16 end interface cem 0/7/4 cem 1 xconnect 10.2.2.2 2 encapsulation mpls manual mpls label 17 17 end
-
For PE2:
interface cem 0/3/2 cem 0 xconnect 10.1.1.1 1 encapsulation mpls manual mpls label 16 16 end interface cem 0/3/2 cem 1 xconnect 10.1.1.1 2 encapsulation mpls manual mpls label 17 17 end