Changes between Version 13 and Version 14 of Workshops/Sig Comm2022/Optical Tutorial
- Timestamp:
- Aug 3, 2022, 4:46:02 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Workshops/Sig Comm2022/Optical Tutorial
v13 v14 12 12 = Description = 13 13 Cosmos test-bed provides a possibility to create and use optical networks of various topologies. An example of how an optical network could be configured and used is provided. A simple experiment on switching of optical paths is described. 14 15 ----16 17 = Compute Nodes and ToR switch interfaces used =18 19 * Interfaces on sw-da-co1:20 {{{21 Eth 1/1/1:1 (vlan 1066) srv1-co1 data122 Eth 1/1/66 (vlan 1066) 10g dwdm tunable (Calient 5.7.3)23 }}}24 25 * Interfaces on sw-da-lg1:26 {{{27 Eth 1/1/1:1 (vlan 1033) srv1-lg1 data128 Eth 1/1/1:2 (vlan 1034) srv2-lg1 data129 Eth 1/1/33 (vlan 1033) 10g dwdm tunable (Calient 5.7.5)30 Eth 1/1/34 (vlan 1034) 10g dwdm tunable (Calient 5.7.6)31 }}}32 14 33 15 ---- … … 60 42 }}} 61 43 44 * Comb source connected to Calient 5.8.5 and 5.8.8 via a 1x2 optical splitter. 45 62 46 ---- 47 63 48 = Setting Up Optical Topology = 64 Setting up an optical topology consists in connecting ROADMs accordingly to the needs of experiment. ROADMs need to be connected correctly to each other and to ToR switch. All interconnections are realized by Calient S320 Switch.65 49 66 [[Include(Architecture/optical#prog_topo)]] 50 Setting up an optical topology consists in connecting ROADM units accordingly to the needs of the experiment. ROADMs need to be connected correctly to each other and to ToR switch. All interconnections are realized by Calient S320 switch. In order to support the logical connections and to realize emulate real distance between a nearby Edge Cloud and a further Central Cloud, one could choose to pass the optical signal through 1 hop (via a pair of 10km fiber spools) or 2 hops (via a pair of 10km fiber spools with the 32km Manhattan dark fiber). 67 51 68 Fig.2 Physical Optical Interconnections. 69 70 Calient Switch S320 has ports physically connected to ROADMs, ToR, Prof. Zussman’s lab and 3 loopback connections. All ports are designated in the Fig.2 Physical Optical Interconnections. 71 72 In order to support the Experiment_1 logical connections and to realize emulate real distance between Edge Cloud an Central Cloud, one could choose to pass the optical signal through the loop of 22 km passing by 32 Avenue of the Americas, NYC; and organize Client port Connections as Next: 52 The following table summarizes all connections required for this experiment: 73 53 74 54 * For the comb source: … … 86 66 || 12 |||| 2.4.8->4.6.2||||ROADM2-CO1.line_port to dark_fiber_2 |||| Connecting ROADM2-CO1 line out to the 34 km dark fiber || 87 67 88 * For the short route :89 || ID |||| Ports Connection 90 || 1 |||| 2.4.1<->5.7.5 68 * For the short route (1-hop, 10km): 69 || ID |||| Ports Connection |||| Devices Connection |||| Comment || 70 || 1 |||| 2.4.1<->5.7.5 |||| ROADM1-LG1.port_2 with transceiver_5 |||| Connecting ROADM1-LG1 add/drop port 2 to transceiver5 to emulate the connection to the edge cloud || 91 71 92 * For the long route :72 * For the long route (2-hop, 10km + 32km): 93 73 || ID |||| Ports Connection |||| Devices Connection |||| Comment || 94 74 || 1 |||| 2.4.1<->5.7.6 |||| ROADM2-CO1.port_2 with transceiver_6 |||| Connecting ROADM2-CO1 add/drop port 2 to transceiver6 to emulate the connection to the center cloud || 95 75 76 ---- 96 77 97 ----98 78 = ROADMs Configuration = 99 79 All of these configurations can be performed by Python scripts developed to work with the COSMOS test-bed. The Python commands send NETCONF commands to the ROADM. … … 111 91 === MUX/DEMUX configuration === 112 92 113 * ROADM 4:114 DEMUX IN/OUT port: 5101/5204115 MUX IN/OUT port: 4104/4201116 * ROADM 1:117 DEMUX IN/OUT port: 5101/5201118 MUX IN/OUT port: 4101/4201119 * ROADM 2:120 DEMUX IN/OUT port: 5101/5201121 MUX IN/OUT port: 4101/4201122 * ROADM 3:123 DEMUX IN/OUT port: 5101/5204124 MUX IN/OUT port: 4104/420193 * {{{rdm1-co1}}}: 94 DEMUX ports: 5202 (drop2) 95 MUX ports: 4101 (add1), 4102 (add2) 96 * {{{rdm2-co1}}}: 97 DEMUX ports: 5202 (drop2) 98 MUX ports: 4101 (add1), 4102 (add2) 99 * {{{rdm1-lg1}}}: 100 DEMUX ports: 5201 (drop1), 5202 (drop2) 101 MUX ports: 4101 (add1), 4102 (add2) 102 * {{{rdm2-lg1}}}: 103 DEMUX ports: 5201 (drop1) 104 MUX ports: 4101 (add1) 125 105 126 106 === ALS Disable Sequence (for 60 seconds) === … … 171 151 ---- 172 152 173 = Network Interfaces Configuration for Experiment_1 =174 == Setting Up ToR switch with 3 logical ToR switches ==175 1. Preparing the interfaces to be set as VLAN switch ports:176 177 {{{178 sw-tor-lg1#configure179 sw-tor-lg1(conf)#interface twentyFiveGigE 1/1/1180 sw-tor-lg1(conf-if-tf-1/1/1)#switchport181 sw-tor-lg1(conf-if-tf-1/1/1)#no shutdown182 sw-tor-lg1(conf-if-tf-1/1/1)#exit183 sw-tor-lg1(conf)#interface twentyFiveGigE 1/1/2184 sw-tor-lg1(conf-if-tf-1/1/2)#switchport185 sw-tor-lg1(conf-if-tf-1/1/2)#no shutdown186 sw-tor-lg1(conf-if-tf-1/1/2)#exit187 sw-tor-lg1(conf)#interface twentyFiveGigE 1/1/3188 sw-tor-lg1(conf-if-tf-1/1/3)#switchport189 sw-tor-lg1(conf-if-tf-1/1/3)#no shutdown190 sw-tor-lg1(conf-if-tf-1/1/3)#exit191 sw-tor-lg1(conf)#interface tengigabitethernet 1/31/1192 sw-tor-lg1(conf-if-te-1/31/1)#switchport193 sw-tor-lg1(conf-if-te-1/31/1)#no shutdown194 sw-tor-lg1(conf-if-te-1/31/1)#exit195 sw-tor-lg1(conf)#interface tengigabitethernet 1/29/1196 sw-tor-lg1(conf-if-te-1/29/1)#switchport197 sw-tor-lg1(conf-if-te-1/29/1)#no shutdown198 sw-tor-lg1(conf-if-te-1/29/1)#exit199 sw-tor-lg1(conf)#interface tengigabitethernet 1/32/1200 sw-tor-lg1(conf-if-te-1/32/1)#switchport201 sw-tor-lg1(conf-if-te-1/32/1)#no shutdown202 sw-tor-lg1(conf-if-te-1/32/1)#exit203 }}}204 205 2. Assigning interfaces to VLANs206 207 {{{208 sw-tor-lg1#configure209 sw-tor-lg1(conf)#interface vlan 121210 sw-tor-lg1(conf-if-vl-121)#untagged twentyFiveGigE 1/1/1211 sw-tor-lg1(conf-if-vl-121)#untagged tengigabitethernet 1/32/1212 sw-tor-lg1(conf-if-vl-121)#exit213 sw-tor-lg1(conf)#interface vlan 122214 sw-tor-lg1(conf-if-vl-122)#untagged twentyFiveGigE 1/1/2215 sw-tor-lg1(conf-if-vl-122)#untagged tengigabitethernet 1/29/1216 sw-tor-lg1(conf-if-vl-122)#exit217 sw-tor-lg1(conf)#interface vlan 123218 sw-tor-lg1(conf-if-vl-123)#untagged twentyFiveGigE 1/1/3219 sw-tor-lg1(conf-if-vl-123)#untagged tengigabitethernet 1/31/1220 sw-tor-lg1(conf-if-vl-123)#exit221 sw-tor-lg1(conf)#exit222 }}}223 224 3. Assigning a wavelength to transceivers:225 226 {{{227 sw-tor-lg1#configure228 sw-tor-lg1(conf)#interface tengigabitethernet 1/32/1229 sw-tor-lg1(conf-if-te-1/32/1)#wavelength 1553.3230 sw-tor-lg1(conf-if-te-1/32/1)#exit231 sw-tor-lg1(conf)#interface tengigabitethernet 1/29/1232 sw-tor-lg1(conf-if-te-1/29/1)#wavelength 1553.3233 sw-tor-lg1(conf-if-te-1/29/1)#exit234 sw-tor-lg1(conf)#interface tengigabitethernet 1/32/1235 sw-tor-lg1(conf-if-te-1/32/1)#wavelength 1553.3236 sw-tor-lg1(conf-if-te-1/32/1)#exit237 sw-tor-lg1(conf)#exit238 }}}239 240 4. Verify VLANs:241 242 {{{243 sw-tor-lg1#show vlan244 245 Codes: * - Default VLAN, G - GVRP VLANs, R - Remote Port Mirroring VLANs, P - Primary, C - Community, I - Isolated246 O - Openflow, Vx - Vxlan247 Q: U - Untagged, T - Tagged248 x - Dot1x untagged, X - Dot1x tagged249 o - OpenFlow untagged, O - OpenFlow tagged250 G - GVRP tagged, M - Vlan-stack251 i - Internal untagged, I - Internal tagged, v - VLT untagged, V - VLT tagged252 253 NUM Status Description Q Ports254 121 Active U Te 1/32/1255 U Tf 1/1/1256 122 Active U Te 1/29/1257 U Tf 1/1/2258 123 Active U Te 1/31/1259 U Tf 1/1/3260 261 }}}262 263 153 == Configuring Compute Nodes (Servers srv1..3-lg1) == 264 154 … … 269 159 }}} 270 160 271 2. Configure interfaces eo1and assign IP addresses:161 2. Configure interfaces the {{{DATA1}}} interface on each server and assign IP addresses: 272 162 273 163 {{{#!shell-session 274 native@srv1-lg1:~$ sudo ifconfig eno1 192.168.1.1 netmask 255.255.255.0 275 native@srv2-lg1:~$ sudo ifconfig eno1 192.168.1.2 netmask 255.255.255.0 276 native@srv3-lg1:~$ sudo ifconfig eno1 192.168.1.3 netmask 255.255.255.0 164 root@srv1-co1:~$ sudo ifconfig eno1 10.111.1.1 netmask 255.255.0.0 up 165 root@srv1-lg1:~$ sudo ifconfig eno1 10.111.2.1 netmask 255.255.0.0 up 166 root@srv2-lg1:~$ sudo ifconfig eno1 10.111.2.2 netmask 255.255.0.0 up 277 167 }}} 278 168 169 ---- 279 170 280 ----281 171 = Perform Experiment_1 = 282 172