Skip to content

Commit 20560cd

Browse files
authored
Detailed Examples for Switchport Modes
1 parent bf5990e commit 20560cd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

doc/vlan/switchport-mode-support/Switchport Mode and VLAN CLI Enhancement.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -460,24 +460,22 @@ Users has to take care that a vlan should not already exist in the given range i
460460
```
461461
admin@sonic:~$ sudo config vlan add -m 2-11
462462
```
463-
464-
<img src="https://user-images.githubusercontent.com/61490193/236477303-ddf164e9-9540-4d32-958e-3df173c627bb.png" width="65%" height="30%">
465-
463+
<img src="https://user-images.githubusercontent.com/61490193/236564441-df20e795-0f35-443f-9c3f-6ebb71554071.png" width="65%" height="30%">
466464

467465
* Example 02: Suppose Vlan 18 already exists then multiple range vlan command will truncate in the middle. So, Vlan16 and Vlan17 will be added and then the command will truncate with an error.
468466

469467
```
470468
admin@sonic:~$ sudo config vlan add -m 16,17,18,19
471469
```
472-
<img src="https://user-images.githubusercontent.com/61490193/236170770-a1365f72-601f-4992-87b8-0e2fb43c1e90.png" width="65%" height="30%">
473470

471+
<img src="https://user-images.githubusercontent.com/61490193/236563679-40bd03ef-91b6-4db2-aeb4-7767abd47c5d.png" width="65%" height="30%">
474472

475473
* Example 03: Suppose Vlan 25 already exists then multiple range vlan command will truncate at the end. So, Vlan20 to Vlan24 will be added and then the command will truncate with an error.
476474

477475
```
478476
admin@sonic:~$ sudo config vlan add -m 20-25
479477
```
480-
<img src="https://user-images.githubusercontent.com/61490193/236170780-9d18dca0-df6f-4ad5-8d8e-e304019e3c8a.png" width="65%" height="30%">
478+
<img src="https://user-images.githubusercontent.com/61490193/236563569-ace341d3-48e8-49f0-ad8e-0b94f4a280b0.png" width="65%" height="30%">
481479

482480

483481
We have given examples only for addition of vlans, commands for deletion of vlans will show similar behavior.

0 commit comments

Comments
 (0)