pt_configure_ios
Run Cisco IOS global configuration commands in sequence on a router or switch, halt on syntax errors, and optionally save startup configuration.
Instructions
Run IOS config lines in order, stop on syntax errors, optionally write memory. Supply commands after configure terminal. / 按顺序执行全局配置命令并可保存。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Save startup configuration; default true. / 保存启动配置,默认是。 | |
| device | Yes | Router or switch name. / 路由器或交换机名称。 | |
| commands | Yes | One IOS command per element; global configuration mode is entered automatically. / 每项一条命令,自动进入全局配置。 |