Changes between Version 13 and Version 14 of Workshops/Sig Comm2022/Optical Tutorial


Ignore:
Timestamp:
Aug 3, 2022, 4:46:02 PM (22 months ago)
Author:
tingjunchen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Workshops/Sig Comm2022/Optical Tutorial

    v13 v14  
    1212= Description =
    1313Cosmos 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 data1
    22 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 data1
    28 Eth 1/1/1:2 (vlan 1034) srv2-lg1 data1
    29 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 }}}
    3214
    3315----
     
    6042}}}
    6143
     44* Comb source connected to Calient 5.8.5 and 5.8.8 via a 1x2 optical splitter.
     45
    6246----
     47
    6348= 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.
    6549
    66 [[Include(Architecture/optical#prog_topo)]]
     50Setting 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).
    6751
    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:
     52The following table summarizes all connections required for this experiment:
    7353
    7454* For the comb source:
     
    8666|| 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 ||
    8767
    88 * For the short route:
    89 || ID |||| Ports Connection       |||| Devices Connection             |||| Comment                                                   ||
    90 || 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  ||
     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  ||
    9171
    92 * For the long route:
     72* For the long route (2-hop, 10km + 32km):
    9373|| ID |||| Ports Connection       |||| Devices Connection             |||| Comment                                                   ||
    9474|| 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 ||
    9575
     76----
    9677
    97 ----
    9878= ROADMs Configuration =
    9979All 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.
     
    11191=== MUX/DEMUX configuration ===
    11292
    113 * ROADM 4:
    114         DEMUX IN/OUT port: 5101/5204
    115         MUX IN/OUT port: 4104/4201
    116 * ROADM 1:
    117         DEMUX IN/OUT port: 5101/5201
    118         MUX IN/OUT port: 4101/4201
    119 * ROADM 2:
    120         DEMUX IN/OUT port: 5101/5201
    121         MUX IN/OUT port: 4101/4201
    122 * ROADM 3:
    123         DEMUX IN/OUT port: 5101/5204
    124         MUX IN/OUT port: 4104/4201
     93* {{{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)
    125105
    126106=== ALS Disable Sequence (for 60 seconds) ===
     
    171151----
    172152
    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#configure
    179 sw-tor-lg1(conf)#interface twentyFiveGigE 1/1/1
    180 sw-tor-lg1(conf-if-tf-1/1/1)#switchport
    181 sw-tor-lg1(conf-if-tf-1/1/1)#no shutdown
    182 sw-tor-lg1(conf-if-tf-1/1/1)#exit
    183 sw-tor-lg1(conf)#interface twentyFiveGigE 1/1/2
    184 sw-tor-lg1(conf-if-tf-1/1/2)#switchport
    185 sw-tor-lg1(conf-if-tf-1/1/2)#no shutdown
    186 sw-tor-lg1(conf-if-tf-1/1/2)#exit
    187 sw-tor-lg1(conf)#interface twentyFiveGigE 1/1/3
    188 sw-tor-lg1(conf-if-tf-1/1/3)#switchport
    189 sw-tor-lg1(conf-if-tf-1/1/3)#no shutdown
    190 sw-tor-lg1(conf-if-tf-1/1/3)#exit
    191 sw-tor-lg1(conf)#interface tengigabitethernet 1/31/1
    192 sw-tor-lg1(conf-if-te-1/31/1)#switchport
    193 sw-tor-lg1(conf-if-te-1/31/1)#no shutdown
    194 sw-tor-lg1(conf-if-te-1/31/1)#exit
    195 sw-tor-lg1(conf)#interface tengigabitethernet 1/29/1
    196 sw-tor-lg1(conf-if-te-1/29/1)#switchport
    197 sw-tor-lg1(conf-if-te-1/29/1)#no shutdown
    198 sw-tor-lg1(conf-if-te-1/29/1)#exit
    199 sw-tor-lg1(conf)#interface tengigabitethernet 1/32/1
    200 sw-tor-lg1(conf-if-te-1/32/1)#switchport
    201 sw-tor-lg1(conf-if-te-1/32/1)#no shutdown
    202 sw-tor-lg1(conf-if-te-1/32/1)#exit
    203 }}}
    204 
    205 2. Assigning interfaces to VLANs
    206 
    207 {{{
    208 sw-tor-lg1#configure
    209 sw-tor-lg1(conf)#interface vlan 121
    210 sw-tor-lg1(conf-if-vl-121)#untagged twentyFiveGigE 1/1/1
    211 sw-tor-lg1(conf-if-vl-121)#untagged tengigabitethernet 1/32/1
    212 sw-tor-lg1(conf-if-vl-121)#exit
    213 sw-tor-lg1(conf)#interface vlan 122
    214 sw-tor-lg1(conf-if-vl-122)#untagged twentyFiveGigE 1/1/2
    215 sw-tor-lg1(conf-if-vl-122)#untagged tengigabitethernet 1/29/1
    216 sw-tor-lg1(conf-if-vl-122)#exit
    217 sw-tor-lg1(conf)#interface vlan 123
    218 sw-tor-lg1(conf-if-vl-123)#untagged twentyFiveGigE 1/1/3
    219 sw-tor-lg1(conf-if-vl-123)#untagged tengigabitethernet 1/31/1
    220 sw-tor-lg1(conf-if-vl-123)#exit
    221 sw-tor-lg1(conf)#exit
    222 }}}
    223 
    224 3. Assigning a wavelength to transceivers:
    225 
    226 {{{
    227 sw-tor-lg1#configure
    228 sw-tor-lg1(conf)#interface tengigabitethernet 1/32/1
    229 sw-tor-lg1(conf-if-te-1/32/1)#wavelength 1553.3
    230 sw-tor-lg1(conf-if-te-1/32/1)#exit
    231 sw-tor-lg1(conf)#interface tengigabitethernet 1/29/1
    232 sw-tor-lg1(conf-if-te-1/29/1)#wavelength 1553.3
    233 sw-tor-lg1(conf-if-te-1/29/1)#exit
    234 sw-tor-lg1(conf)#interface tengigabitethernet 1/32/1
    235 sw-tor-lg1(conf-if-te-1/32/1)#wavelength 1553.3
    236 sw-tor-lg1(conf-if-te-1/32/1)#exit
    237 sw-tor-lg1(conf)#exit
    238 }}}
    239 
    240 4. Verify VLANs:
    241 
    242 {{{
    243 sw-tor-lg1#show vlan
    244 
    245 Codes: * - Default VLAN, G - GVRP VLANs, R - Remote Port Mirroring VLANs, P - Primary, C - Community, I - Isolated
    246        O - Openflow, Vx - Vxlan
    247 Q: U - Untagged, T - Tagged
    248    x - Dot1x untagged, X - Dot1x tagged
    249    o - OpenFlow untagged, O - OpenFlow tagged
    250    G - GVRP tagged, M - Vlan-stack
    251    i - Internal untagged, I - Internal tagged, v - VLT untagged, V - VLT tagged
    252 
    253     NUM    Status    Description                     Q Ports
    254     121    Active                                    U Te 1/32/1
    255                                                      U Tf 1/1/1
    256     122    Active                                    U Te 1/29/1
    257                                                      U Tf 1/1/2
    258     123    Active                                    U Te 1/31/1
    259                                                      U Tf 1/1/3
    260 
    261 }}}
    262 
    263153== Configuring Compute Nodes (Servers srv1..3-lg1) ==
    264154
     
    269159}}}
    270160
    271 2. Configure interfaces eo1 and assign IP addresses:
     1612. Configure interfaces the {{{DATA1}}} interface on each server and assign IP addresses:
    272162
    273163{{{#!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
     164root@srv1-co1:~$ sudo ifconfig eno1 10.111.1.1 netmask 255.255.0.0 up
     165root@srv1-lg1:~$ sudo ifconfig eno1 10.111.2.1 netmask 255.255.0.0 up
     166root@srv2-lg1:~$ sudo ifconfig eno1 10.111.2.2 netmask 255.255.0.0 up
    277167}}}
    278168
     169----
    279170
    280 ----
    281171= Perform Experiment_1 =
    282172