Skip to content

Commit 2b66f3b

Browse files
authored
Merge pull request #315 from mssonicbld/sonicbld/202603-merge
```<br>* 524aeaa - (HEAD -> 202603) Merge branch '202511' of https://github.com/sonic-net/sonic-utilities into 202603 (2026-04-19) [Sonic Automation] * 30b4d40 - (origin/202511) update command-reference.md for #4448 (#4471) (2026-04-17) [David Zhang]<br>```
2 parents 827d79d + 524aeaa commit 2b66f3b

1 file changed

Lines changed: 35 additions & 14 deletions

File tree

doc/Command-Reference.md

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12977,14 +12977,14 @@ This command displays vnet neighbor information about all the vnets configured i
1297712977
30.30.30.30 11:22:33:44:55:66 Ethernet0.1002
1297812978
```
1297912979

12980-
**show vnet routes all**
12980+
**show vnet routes all [<vnet_name>]**
1298112981

12982-
This command displays all routes information about all the vnets configured in the device. It also show the vnet routes which are configured but may or may not be active based on endpoint BFD status.
12982+
This command displays either all routes information about all the vnets or a specified vnet configured in the device. It also shows the vnet routes which are configured but may or may not be active based on endpoint BFD status.
1298312983

1298412984
- Usage:
1298512985

1298612986
```
12987-
show vnet routes all
12987+
show vnet routes all [<vnet_name>]
1298812988
```
1298912989

1299012990
- Example:
@@ -12996,31 +12996,52 @@ This command displays all routes information about all the vnets configured in t
1299612996
Vnet_2000 100.100.3.0/24 Ethernet52
1299712997
Vnet_3000 100.100.4.0/24 Vlan2000
1299812998

12999-
vnet name prefix endpoint mac address vni status
13000-
----------- -------------- ---------- ----------------- ----- -------
13001-
Vnet_2000 100.100.1.1/32 10.10.10.1 active
13002-
Vnet_3000 100.100.2.1/32 10.10.10.2 00:00:00:00:03:04 inactive
12999+
vnet name prefix endpoint mac address vni metric status
13000+
----------- -------------- ---------- ----------------- ----- -------- --------
13001+
Vnet_2000 100.100.1.1/32 10.10.10.1 0 active
13002+
Vnet_3000 100.100.2.1/32 10.10.10.2 00:00:00:00:03:04 inactive
1300313003
Vnet_3000 100.100.2.3/32 10.10.10.6 00:00:00:00:03:04
1300413004
```
1300513005

13006-
**show vnet routes tunnel**
13006+
**show vnet routes local [<vnet_name>]**
1300713007

13008-
This command displays tunnel routes information about all the vnets configured in the device.
13008+
This command displays either local routes information about all the vnets or a specified vnet configured in the device.
1300913009

1301013010
- Usage:
1301113011

1301213012
```
13013-
show vnet routes tunnel
13013+
show vnet routes local [<vnet_name>]
13014+
```
13015+
13016+
- Example:
13017+
13018+
```
13019+
admin@sonic:~$ show vnet routes local
13020+
vnet name prefix nexthop interface
13021+
----------- -------------- --------- -----------
13022+
Vnet_2000 100.100.3.0/24 Ethernet52
13023+
Vnet_3000 100.100.4.0/24 Vlan2000
13024+
```
13025+
13026+
**show vnet routes tunnel [<vnet_name>]**
13027+
13028+
This command displays tunnel routes information about all the vnets or a specified vnet configured in the device.
13029+
13030+
- Usage:
13031+
13032+
```
13033+
show vnet routes tunnel [<vnet_name>]
1301413034
```
1301513035

1301613036
- Example:
1301713037

1301813038
```
1301913039
admin@sonic:~$ show vnet routes tunnel
13020-
vnet name prefix endpoint mac address vni
13021-
----------- -------------- ---------- ----------------- -----
13022-
Vnet_2000 100.100.1.1/32 10.10.10.1
13023-
Vnet_3000 100.100.2.1/32 10.10.10.2 00:00:00:00:03:04
13040+
vnet name prefix endpoint mac address vni metric status
13041+
----------- -------------- ---------- ----------------- ----- -------- --------
13042+
Vnet_2000 100.100.1.1/32 10.10.10.1 0 active
13043+
Vnet_3000 100.100.2.1/32 10.10.10.2 00:00:00:00:03:04 inactive
13044+
Vnet_3000 100.100.2.3/32 10.10.10.6 00:00:00:00:03:04
1302413045
```
1302513046

1302613047
#### Vnet config commands

0 commit comments

Comments
 (0)