API Guide

示例 (config)
OS10# dir config
Directory contents for folder: config
Date (modified) Size (bytes) Name
--------------------- ------------ -----------
2017-04-26T15:23:46Z 26704 startup.xml
OS10# dir severity-profile
Date (modified) Size (bytes) Name
--------------------- ------------ -------------
2019-03-27T15:24:06Z 46741 default.xml
2019-04-01T11:22:33Z 456 mySevProf.xml
支持的版本
10.2.0E or later
Identifier GUID-6105B6BE-F953-4E1C-B76B-6AF388DC26DD
Version 5
Status Translation approved
discard
放弃对候选配置文件所做的更改。
语法
discard
参数
默认 未配置
命令模式
EXEC
使用情况信息
示例
OS10# discard
支持的版本
10.2.0E or later
Identifier GUID-254501C5-BAA6-485C-A9F5-46CD45409FEE
Version 3
Status Translation approved
do
从所有 CONFIGURATION 模式下执行大多数命令而不返回 EXEC 模式。
语法
do command
参数
command 输入 EXEC 级命令。
默认 未配置
命令模式
INTERFACE
使用情况信息
示例
OS10(config)# interface ethernet 1/1/7
OS10(conf-if-eth1/1/7)# no shutdown
OS10(conf-if-eth1/1/7)# do show running-configuration
...
!
interface ethernet1/1/7
no shutdown
!
...
支持的版本
10.2.0E or later
64 CLI 基本信息