Skip to content

Commit 3a7d0b4

Browse files
[dhcp_relay] Update show cli sample for dhcp_relay (#4070)
What I did updated show cli sample for dhcp_relay How I did it updated show cli sample for dhcp_relay How to verify it verified from the testbed outputs
1 parent 89c9aef commit 3a7d0b4

File tree

1 file changed

+22
-24
lines changed

1 file changed

+22
-24
lines changed

doc/Command-Reference.md

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3428,12 +3428,15 @@ This command is used to show ipv4 dhcp_relay helper.
34283428
- Example:
34293429
```
34303430
admin@sonic:~$ show dhcp_relay ipv4 helper
3431-
-------- ---------
3432-
Vlan1000 192.0.0.1
3433-
192.0.0.2
3434-
-------- ---------
3435-
```
3436-
3431+
+-------------+----------------------+
3432+
| Interface | DHCP Relay Address |
3433+
+=============+======================+
3434+
| Vlan1000 | 192.0.0.1 |
3435+
| | 192.0.0.2 |
3436+
| | 192.0.0.3 |
3437+
| | 192.0.0.4 |
3438+
+-------------+----------------------+
3439+
```
34373440
**show dhcp_relay ipv6 destination**
34383441

34393442
This command is used to show ipv6 dhcp_relay destination.
@@ -3446,12 +3449,14 @@ This command is used to show ipv6 dhcp_relay destination.
34463449
- Example:
34473450
```
34483451
admin@sonic:~$ show dhcp_relay ipv6 destination
3449-
--------  ------------
3450-
Vlan1000  fc02:2000::1
3451-
          fc02:2000::2
3452-
          fc02:2000::3
3453-
          fc02:2000::4
3454-
--------  ------------
3452+
+-------------+---------------------+
3453+
| Interface  | DHCP Relay Address |
3454+
+=============+=====================+
3455+
| Vlan1000 | fc02:2000::1 |
3456+
|         | fc02:2000::2 |
3457+
|          | fc02:2000::3 |
3458+
|          | fc02:2000::4 |
3459+
+-------------+---------------------+
34553460
```
34563461

34573462
**show dhcp_relay ipv6 counters**
@@ -3734,18 +3739,11 @@ This command is used to show dhcp_server ip range.
37343739
- Example
37353740
```
37363741
show dhcp_server ipv4 range range_1
3737-
+---------+-------------+---------------+-----------+
3738-
| Range | IP Start | IP End | IP count |
3739-
|=========+=============+===============+===========+
3740-
| range_1 | 192.168.0.5 | 192.168.0.10 | 6 |
3741-
+---------+-------------+---------------+-----------+
3742-
3743-
admin@bjw-can-720dt-2:~$ show dhcp_server ipv4 range range_1
3744-
+---------+-------------+-------------+------------+
3745-
| Range | IP Start | IP End | IP Count |
3746-
+=========+=============+=============+============+
3747-
| range_1 | 192.168.0.2 | 192.168.0.2 | 1 |
3748-
+---------+-------------+-------------+------------+
3742+
+---------+-------------+--------------+------------+
3743+
| Range | IP Start | IP End | IP Count |
3744+
+=========+=============+==============+============+
3745+
| range_1 | 192.168.0.5 | 192.168.0.10 | 6 |
3746+
+---------+-------------+--------------+------------+
37493747

37503748
show dhcp_server ipv4 range
37513749
+---------+-------------+--------------+------------+

0 commit comments

Comments
 (0)