Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 35 additions & 14 deletions doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -12367,14 +12367,14 @@ This command displays vnet neighbor information about all the vnets configured i
30.30.30.30 11:22:33:44:55:66 Ethernet0.1002
```

**show vnet routes all**
**show vnet routes all [<vnet_name>]**

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.
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.

- Usage:

```
show vnet routes all
show vnet routes all [<vnet_name>]
```

- Example:
Expand All @@ -12386,31 +12386,52 @@ This command displays all routes information about all the vnets configured in t
Vnet_2000 100.100.3.0/24 Ethernet52
Vnet_3000 100.100.4.0/24 Vlan2000

vnet name prefix endpoint mac address vni status
----------- -------------- ---------- ----------------- ----- -------
Vnet_2000 100.100.1.1/32 10.10.10.1 active
Vnet_3000 100.100.2.1/32 10.10.10.2 00:00:00:00:03:04 inactive
vnet name prefix endpoint mac address vni metric status
----------- -------------- ---------- ----------------- ----- -------- --------
Vnet_2000 100.100.1.1/32 10.10.10.1 0 active
Vnet_3000 100.100.2.1/32 10.10.10.2 00:00:00:00:03:04 inactive
Vnet_3000 100.100.2.3/32 10.10.10.6 00:00:00:00:03:04
```

**show vnet routes tunnel**
**show vnet routes local [<vnet_name>]**

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

- Usage:

```
show vnet routes tunnel
show vnet routes local [<vnet_name>]
```

- Example:

```
admin@sonic:~$ show vnet routes local
vnet name prefix nexthop interface
----------- -------------- --------- -----------
Vnet_2000 100.100.3.0/24 Ethernet52
Vnet_3000 100.100.4.0/24 Vlan2000
```

**show vnet routes tunnel [<vnet_name>]**

This command displays tunnel routes information about all the vnets or a specified vnet configured in the device.

- Usage:

```
show vnet routes tunnel [<vnet_name>]
```

- Example:

```
admin@sonic:~$ show vnet routes tunnel
vnet name prefix endpoint mac address vni
----------- -------------- ---------- ----------------- -----
Vnet_2000 100.100.1.1/32 10.10.10.1
Vnet_3000 100.100.2.1/32 10.10.10.2 00:00:00:00:03:04
vnet name prefix endpoint mac address vni metric status
----------- -------------- ---------- ----------------- ----- -------- --------
Vnet_2000 100.100.1.1/32 10.10.10.1 0 active
Vnet_3000 100.100.2.1/32 10.10.10.2 00:00:00:00:03:04 inactive
Vnet_3000 100.100.2.3/32 10.10.10.6 00:00:00:00:03:04
```

#### Vnet config commands
Expand Down
Loading