• Author : Todor Nikolov

 
 

Regular expression aliases

Description In addition to aliasing only the first token in a CLI command, EOS now supports full command aliasing using regular expressions (RE) and parameter substitution. This could be useful in simplifying the management of a network utilizing devices with different operating systems in which similar CLI commands use a different syntax. A RE alias can massage a command in order to make it acceptable in EOS. Platform compatibility This feature is platform independent. Configuration Just like regular aliases, RE aliases are configured from configuration mode. (config)#alias ? QUOTED STRING Python-compatible RegEx command alias. Use ^V to escape '?' WORD...
Continue reading →

Asset tagging

Description Support for asset tagging aids hardware identification by the use of user-supplied strings. Platform compatibility Fixed systems since release 4.20.5F Modular systems since release 4.21.3F Configuration Asset tags are configured via the CLI or eAPI using the following command: [ no | default ] hardware asset-tag <hardware> <tag> On a fixed system, <hardware> can be either switch or powersupply <1-2>, depending on the power supplies present. On a modular system, it can be chassis, or powersupply, supervisor, fabric, or linecard, followed by a slot number. The current configuration can be viewed with the show command: show hardware asset-tag [ <hardware>...
Continue reading →

Timeout parameter for eAPI requests

Description Some monitoring tools have a limited time to receive information from the switch and may break if waiting for a response for too long. To avoid this, an additional, optional parameter has been added to the eAPI requests. requestTimeout (Float) Specifying it may cause the request to get interrupted and return prematurely. This may be useful in situations where the issuer of the request is blocking and needs to unblock within a certain amount of time. Should the time limit be exceeded, the response will contain the expected messages from any commands executed before the timeout had occurred, followed by an...
Continue reading →

Asset Tagging

EOS release 4.20.5F adds asset tagging support that aids hardware identification by the use of user-supplied strings. Platform compatibility Fixed systems since release 4.20.5F.Modular systems since release 4.22.0F. Configuration Asset tags are configured via the CLI or eAPI using the following command: [ no | default ] hardware asset-tag <hardware> <tag> On a fixed system, <hardware> can be either switch or powersupply <1-2>, depending on the power supplies present. On a modular system, it can be chassis, or powersupply, supervisor, fabric, or linecard, followed by a slot number. For example, Arista# hardware asset-tag switch Floor3RU4 The current configuration can be viewed...
Continue reading →

Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: