Yang Support for IO Ports
This feature increases the compatibility between the Command Line Interface and the Yang Model. Cisco IOS-XE Yang Data Models are found here:
https://github.com/YangModels/yang/tree/master/vendor/cisco/xe
Each release has a directory, and the 17.3.1 release is found under 1731. The two modules for Digital IO are Cisco-IOS-XE-digital-io-oper and Cisco-IOS-XE-digitalio.
The following are relevant IOS-XE CLI commands available:
Show Commands
-
show run
-
show alarm
-
show led
Configuration Commands
-
alarm contact attach-to-iox
-
no alarm contact attach-to-iox
-
alarm contact 1 enable enable
-
no alarm contact <1-4> enable
-
alarm contact <1-4> application <wet | dry>
-
no alarm contact <1-4> application
-
alarm contact <1-4> description <alarm description>
-
no alarm contact <1-4> description
-
alarm contact <1-4> severity <critical | major | minor | none>
-
no alarm contact <1-4> severity
-
alarm contact <1-4> threshold <1600-2700>
-
no alarm contact <1-4> threshold
-
alarm contact <1-4> trigger <closed | open>
-
no alarm contact <1-4> trigger
-
alarm contact <1-4> output <1 | 0>
-
alarm contact <1-4> output relay temperature <critical | major | minor>
-
alarm contact <1-4> output relay input-alarm <0-4>
-
no alarm contact <1-4> output