Skip to content

Commit

Permalink
Add CLI design for changing admin status
Browse files Browse the repository at this point in the history
Signed-off-by: Wenda Ni <wenni@microsoft.com>
  • Loading branch information
wendani committed Sep 10, 2019
1 parent 96a2ae6 commit 52d91cb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions doc/sonic-sub-port-intf-hld.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,29 @@ Usage: config interface ip del <sub_port_interface_name> <ip_addr>
```

### 4.1.3 Change admin status on a sub port interface
Current `config interface startup` and `shutdown` commands are extended to sub port interfaces to set admin status up and down, respectively, on a sub port interface.
```
Usage: config interface startup [OPTIONS] <interface_name>
Start up interface
Options:
--help Show this message and exit.
```
```
Usage: config interface shutdown [OPTIONS] <interface_name>
Shut down interface
Options:
--help Show this message and exit.
```
```
Usage: config interface startup <sub_port_interface_name>
```
```
Usage: config interface shutdown <sub_port_interface_name>
```

## 4.2 Show commands
```
Expand Down

0 comments on commit 52d91cb

Please sign in to comment.