Skip to content

Commit

Permalink
[doc] Refine doc on show loopback/mgmt ports (#1958)
Browse files Browse the repository at this point in the history
Add explicit sections for showing management/loopback interfaces
  • Loading branch information
qiluo-msft committed Dec 6, 2021
1 parent 3714f63 commit 54cc370
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* [Introduction](#introduction)
* [Basic Tasks](#basic-tasks)
* [SSH Login](#ssh-login)
* [Show Management Interface](#show-management-interface)
* [Configuring Management Interface](#configuring-management-interface)
* [Getting Help](#getting-help)
* [Help for Config Commands](#help-for-config-commands)
Expand Down Expand Up @@ -88,6 +89,7 @@
* [Loading Management Configuration](#loading-management-configuration)
* [Saving Configuration to a File for Persistence](saving-configuration-to-a-file-for-persistence)
* [Loopback Interfaces](#loopback-interfaces)
* [Loopback show commands](#loopback-show-commands)
* [Loopback config commands](#loopback-config-commands)
* [VRF Configuration](#vrf-configuration)
* [VRF show commands](#vrf-show-commands)
Expand Down Expand Up @@ -254,6 +256,10 @@ By default, login takes the user to the default prompt from which all the show c

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

### Show Management Interface

Please check [show ip interfaces](#show-ip-interfaces)

### Configuring Management Interface

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.
Expand Down Expand Up @@ -4267,7 +4273,7 @@ This sub-section explains the various IP protocol specific show commands that ar
4) prefix-list
5) protocol

**show ip route**
#### show ip route

This command displays either all the route entries from the routing table or a specific route.

Expand Down Expand Up @@ -4322,7 +4328,7 @@ This command displays either all the route entries from the routing table or a s
* directly connected, Loopback11
```

**show ip interfaces**
#### show ip interfaces

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

**show ip protocol**
#### show ip protocol

This command displays the route-map that is configured for the routing protocol.
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.
Expand Down Expand Up @@ -5046,7 +5052,11 @@ Go Back To [Beginning of the document](#) or [Beginning of this section](#loadin

## Loopback Interfaces

### Loopback Config commands
### Loopback show commands

Please check [show ip interfaces](#show-ip-interfaces)

### Loopback config commands

This sub-section explains how to create and delete loopback interfaces.

Expand Down

0 comments on commit 54cc370

Please sign in to comment.