@@ -358,6 +358,51 @@ Parameters
358
358
</td >
359
359
</tr >
360
360
361
+ <tr >
362
+ <td class =" elbow-placeholder" ></td >
363
+ <td colspan =" 2" >
364
+ <div class =" ansibleOptionAnchor" id =" parameter-" ></div >
365
+ <b >profile_breakout</b >
366
+ <a class =" ansibleOptionLink" href =" #parameter-" title =" Permalink to this option" ></a >
367
+ <div style =" font-size : small " >
368
+ <span style =" color : purple " >-</span >
369
+ </div >
370
+ </td >
371
+ <td >
372
+ </td >
373
+ <td >
374
+ <div >Though the key shown here is ' ; profile_breakout' ; the actual key to be used in playbook is ' ; profile' ; . The key ' ; profile_breakout' ; is used here to logically segregate the interface objects applicable for this profile</div >
375
+ <div >Interface must be parent interface. Ex: Ethernet1/49. Short name is not supported.</div >
376
+ </td >
377
+ </tr >
378
+ <tr >
379
+ <td class =" elbow-placeholder" ></td >
380
+ <td class =" elbow-placeholder" ></td >
381
+ <td colspan =" 1" >
382
+ <div class =" ansibleOptionAnchor" id =" parameter-" ></div >
383
+ <b >map</b >
384
+ <a class =" ansibleOptionLink" href =" #parameter-" title =" Permalink to this option" ></a >
385
+ <div style =" font-size : small " >
386
+ <span style =" color : purple " >string</span >
387
+ / <span style =" color : red " >required</span >
388
+ </div >
389
+ </td >
390
+ <td >
391
+ <ul style =" margin : 0 ; padding : 0 " ><b >Choices:</b >
392
+ <li >10g-4x</li >
393
+ <li >25g-4x</li >
394
+ <li >50g-2x</li >
395
+ <li >50g-4x</li >
396
+ <li >100g-2x</li >
397
+ <li >100g-4x</li >
398
+ <li >200g-2x</li >
399
+ </ul >
400
+ </td >
401
+ <td >
402
+ <div >type of breakout</div >
403
+ </td >
404
+ </tr >
405
+
361
406
<tr >
362
407
<td class =" elbow-placeholder" ></td >
363
408
<td colspan =" 2" >
@@ -390,7 +435,7 @@ Parameters
390
435
<b >Default:</b ><br /><div style =" color : blue " >""</div >
391
436
</td >
392
437
<td >
393
- <div >Vlan for the interface. This option is applicable only for interfaces whose ' ; mode' ; is ' ; access' ; </div >
438
+ <div >Vlan for the interface. This option is applicable only for interfaces whose ' ; mode' ; is ' ; access' ; or & #x27 ; dot1q & #x27 ; </div >
394
439
</td >
395
440
</tr >
396
441
<tr >
@@ -606,10 +651,12 @@ Parameters
606
651
<li >routed</li >
607
652
<li >monitor</li >
608
653
<li >epl_routed</li >
654
+ <li >dot1q</li >
609
655
</ul >
610
656
</td >
611
657
<td >
612
658
<div >Interface mode</div >
659
+ <div >When ethernet interface is a PortChannel or vPC member, mode is ignored. The only properties that can be managed for PortChannel or vPC member interfaces are ' ; admin_state' ; , ' ; description' ; and ' ; cmds' ; . All other properties are ignored.</div >
613
660
</td >
614
661
</tr >
615
662
<tr >
@@ -631,6 +678,24 @@ Parameters
631
678
<div >Can be specified with any value within 576 and 9216 for routed interface types. If not specified, it defaults to 9216</div >
632
679
</td >
633
680
</tr >
681
+ <tr >
682
+ <td class =" elbow-placeholder" ></td >
683
+ <td class =" elbow-placeholder" ></td >
684
+ <td colspan =" 1" >
685
+ <div class =" ansibleOptionAnchor" id =" parameter-" ></div >
686
+ <b >native_vlan</b >
687
+ <a class =" ansibleOptionLink" href =" #parameter-" title =" Permalink to this option" ></a >
688
+ <div style =" font-size : small " >
689
+ <span style =" color : purple " >string</span >
690
+ </div >
691
+ </td >
692
+ <td >
693
+ <b >Default:</b ><br /><div style =" color : blue " >""</div >
694
+ </td >
695
+ <td >
696
+ <div >Vlan used as native vlan. This option is applicable only for interfaces whose ' ; mode' ; is ' ; trunk' ; .</div >
697
+ </td >
698
+ </tr >
634
699
<tr >
635
700
<td class =" elbow-placeholder" ></td >
636
701
<td class =" elbow-placeholder" ></td >
@@ -914,7 +979,7 @@ Parameters
914
979
<b >Default:</b ><br /><div style =" color : blue " >""</div >
915
980
</td >
916
981
<td >
917
- <div >Vlan for the interface. This option is applicable only for interfaces whose ' ; mode' ; is ' ; access' ; </div >
982
+ <div >Vlan for the interface. This option is applicable only for interfaces whose ' ; mode' ; is ' ; access' ; or & #x27 ; dot1q & #x27 ; </div >
918
983
</td >
919
984
</tr >
920
985
<tr >
@@ -1066,13 +1131,32 @@ Parameters
1066
1131
<li >trunk</li >
1067
1132
<li >access</li >
1068
1133
<li >l3</li >
1134
+ <li >dot1q</li >
1069
1135
<li >monitor</li >
1070
1136
</ul >
1071
1137
</td >
1072
1138
<td >
1073
1139
<div >Interface mode</div >
1074
1140
</td >
1075
1141
</tr >
1142
+ <tr >
1143
+ <td class =" elbow-placeholder" ></td >
1144
+ <td class =" elbow-placeholder" ></td >
1145
+ <td colspan =" 1" >
1146
+ <div class =" ansibleOptionAnchor" id =" parameter-" ></div >
1147
+ <b >native_vlan</b >
1148
+ <a class =" ansibleOptionLink" href =" #parameter-" title =" Permalink to this option" ></a >
1149
+ <div style =" font-size : small " >
1150
+ <span style =" color : purple " >string</span >
1151
+ </div >
1152
+ </td >
1153
+ <td >
1154
+ <b >Default:</b ><br /><div style =" color : blue " >""</div >
1155
+ </td >
1156
+ <td >
1157
+ <div >Vlan used as native vlan. This option is applicable only for interfaces whose ' ; mode' ; is ' ; trunk' ; .</div >
1158
+ </td >
1159
+ </tr >
1076
1160
<tr >
1077
1161
<td class =" elbow-placeholder" ></td >
1078
1162
<td class =" elbow-placeholder" ></td >
@@ -2246,6 +2330,24 @@ Parameters
2246
2330
<div >Member interfaces that are part of this port channel on first peer</div >
2247
2331
</td >
2248
2332
</tr >
2333
+ <tr >
2334
+ <td class =" elbow-placeholder" ></td >
2335
+ <td class =" elbow-placeholder" ></td >
2336
+ <td colspan =" 1" >
2337
+ <div class =" ansibleOptionAnchor" id =" parameter-" ></div >
2338
+ <b >peer1_native_vlan</b >
2339
+ <a class =" ansibleOptionLink" href =" #parameter-" title =" Permalink to this option" ></a >
2340
+ <div style =" font-size : small " >
2341
+ <span style =" color : purple " >string</span >
2342
+ </div >
2343
+ </td >
2344
+ <td >
2345
+ <b >Default:</b ><br /><div style =" color : blue " >""</div >
2346
+ </td >
2347
+ <td >
2348
+ <div >Vlan used as native vlan of first peer. This option is applicable only for interfaces whose ' ; mode' ; is ' ; trunk' ; </div >
2349
+ </td >
2350
+ </tr >
2249
2351
<tr >
2250
2352
<td class =" elbow-placeholder" ></td >
2251
2353
<td class =" elbow-placeholder" ></td >
@@ -2361,6 +2463,24 @@ Parameters
2361
2463
<div >Member interfaces that are part of this port channel on second peer</div >
2362
2464
</td >
2363
2465
</tr >
2466
+ <tr >
2467
+ <td class =" elbow-placeholder" ></td >
2468
+ <td class =" elbow-placeholder" ></td >
2469
+ <td colspan =" 1" >
2470
+ <div class =" ansibleOptionAnchor" id =" parameter-" ></div >
2471
+ <b >peer2_native_vlan</b >
2472
+ <a class =" ansibleOptionLink" href =" #parameter-" title =" Permalink to this option" ></a >
2473
+ <div style =" font-size : small " >
2474
+ <span style =" color : purple " >string</span >
2475
+ </div >
2476
+ </td >
2477
+ <td >
2478
+ <b >Default:</b ><br /><div style =" color : blue " >""</div >
2479
+ </td >
2480
+ <td >
2481
+ <div >Vlan used as native vlan of second peer. This option is applicable only for interfaces whose ' ; mode' ; is ' ; trunk' ; </div >
2482
+ </td >
2483
+ </tr >
2364
2484
<tr >
2365
2485
<td class =" elbow-placeholder" ></td >
2366
2486
<td class =" elbow-placeholder" ></td >
@@ -2441,6 +2561,7 @@ Parameters
2441
2561
<li >svi</li >
2442
2562
<li >st-fex</li >
2443
2563
<li >aa-fex</li >
2564
+ <li >breakout</li >
2444
2565
</ul >
2445
2566
</td >
2446
2567
<td >
@@ -2506,6 +2627,7 @@ Parameters
2506
2627
<li >svi</li >
2507
2628
<li >st_fex</li >
2508
2629
<li >aa_fex</li >
2630
+ <li >breakout</li >
2509
2631
</ul >
2510
2632
<b >Default:</b ><br /><div style =" color : blue " >[]</div >
2511
2633
</td >
@@ -3340,6 +3462,71 @@ Examples
3340
3462
enable_netflow : false # optional, flag to enable netflow, default is false
3341
3463
mode : port_channel_st # choose from [port_channel_st], default is "port_channel_st"
3342
3464
3465
+ # Dot1q Tunnel host
3466
+
3467
+ - name : Configure dot1q on interface E1/12
3468
+ cisco.dcnm.dcnm_interface :
3469
+ fabric : " {{ ansible_fabric }}"
3470
+ state : merged
3471
+ config :
3472
+ - name : eth1/12
3473
+ type : eth
3474
+ switch :
3475
+ - " {{ ansible_switch1 }}"
3476
+ deploy : true
3477
+ profile :
3478
+ admin_state : true
3479
+ mode : dot1q
3480
+ access_vlan : 41
3481
+ description : " ETH 1/12 Dot1q Tunnel"
3482
+
3483
+ # Breakout interfaces
3484
+
3485
+ - name : Configure breakout interface
3486
+ cisco.dcnm.dcnm_interface :
3487
+ fabric : " {{ ansible_svi_fabric }}"
3488
+ state : merged
3489
+ config :
3490
+ - name : ethernet1/100
3491
+ type : breakout
3492
+ switch :
3493
+ - " {{ ansible_switch1 }}"
3494
+ deploy : true
3495
+ profile :
3496
+ map : 10g-4x
3497
+ - name : ethernet1/101
3498
+ type : breakout
3499
+ switch :
3500
+ - " {{ ansible_switch1 }}"
3501
+ deploy : true
3502
+ profile :
3503
+ map : 10g-4x
3504
+ - name : ethernet1/102
3505
+ type : breakout
3506
+ switch :
3507
+ - " {{ ansible_switch1 }}"
3508
+ deploy : true
3509
+ profile :
3510
+ map : 10g-4x
3511
+
3512
+ - name : Configure breakout interface
3513
+ cisco.dcnm.dcnm_interface :
3514
+ fabric : " {{ ansible_svi_fabric }}"
3515
+ state : deleted
3516
+ config :
3517
+ - name : ethernet1/100
3518
+ type : breakout
3519
+ switch :
3520
+ - " {{ ansible_switch1 }}"
3521
+ - name : ethernet1/101
3522
+ type : breakout
3523
+ switch :
3524
+ - " {{ ansible_switch1 }}"
3525
+ - name : ethernet1/102
3526
+ type : breakout
3527
+ switch :
3528
+ - " {{ ansible_switch1 }}"
3529
+
3343
3530
# QUERY
3344
3531
3345
3532
- name : Query interface details
0 commit comments