Skip to content

Commit 54cc370

Browse files
authored
[doc] Refine doc on show loopback/mgmt ports (sonic-net#1958)
Add explicit sections for showing management/loopback interfaces
1 parent 3714f63 commit 54cc370

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

doc/Command-Reference.md

+14-4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* [Introduction](#introduction)
77
* [Basic Tasks](#basic-tasks)
88
* [SSH Login](#ssh-login)
9+
* [Show Management Interface](#show-management-interface)
910
* [Configuring Management Interface](#configuring-management-interface)
1011
* [Getting Help](#getting-help)
1112
* [Help for Config Commands](#help-for-config-commands)
@@ -88,6 +89,7 @@
8889
* [Loading Management Configuration](#loading-management-configuration)
8990
* [Saving Configuration to a File for Persistence](saving-configuration-to-a-file-for-persistence)
9091
* [Loopback Interfaces](#loopback-interfaces)
92+
* [Loopback show commands](#loopback-show-commands)
9193
* [Loopback config commands](#loopback-config-commands)
9294
* [VRF Configuration](#vrf-configuration)
9395
* [VRF show commands](#vrf-show-commands)
@@ -254,6 +256,10 @@ By default, login takes the user to the default prompt from which all the show c
254256

255257
Go Back To [Beginning of the document](#) or [Beginning of this section](#basic-tasks)
256258

259+
### Show Management Interface
260+
261+
Please check [show ip interfaces](#show-ip-interfaces)
262+
257263
### Configuring Management Interface
258264

259265
The management interface (eth0) in SONiC is configured (by default) to use DHCP client to get the IP address from the DHCP server. Connect the management interface to the same network in which your DHCP server is connected and get the IP address from DHCP server.
@@ -4267,7 +4273,7 @@ This sub-section explains the various IP protocol specific show commands that ar
42674273
4) prefix-list
42684274
5) protocol
42694275
4270-
**show ip route**
4276+
#### show ip route
42714277
42724278
This command displays either all the route entries from the routing table or a specific route.
42734279
@@ -4322,7 +4328,7 @@ This command displays either all the route entries from the routing table or a s
43224328
* directly connected, Loopback11
43234329
```
43244330

4325-
**show ip interfaces**
4331+
#### show ip interfaces
43264332

43274333
This command displays the details about all the Layer3 IP interfaces in the device for which IP address has been assigned.
43284334
The type of interfaces include the following.
@@ -4357,7 +4363,7 @@ The type of interfaces include the following.
43574363
lo 127.0.0.1/8 up/up N/A N/A
43584364
```
43594365

4360-
**show ip protocol**
4366+
#### show ip protocol
43614367

43624368
This command displays the route-map that is configured for the routing protocol.
43634369
Refer the routing stack [Quagga Command Reference](https://www.quagga.net/docs/quagga.pdf) or [FRR Command Reference](https://buildmedia.readthedocs.org/media/pdf/frrouting/latest/frrouting.pdf) to know more about this command.
@@ -5046,7 +5052,11 @@ Go Back To [Beginning of the document](#) or [Beginning of this section](#loadin
50465052
50475053
## Loopback Interfaces
50485054
5049-
### Loopback Config commands
5055+
### Loopback show commands
5056+
5057+
Please check [show ip interfaces](#show-ip-interfaces)
5058+
5059+
### Loopback config commands
50505060
50515061
This sub-section explains how to create and delete loopback interfaces.
50525062

0 commit comments

Comments
 (0)