You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the YANG stack generates wrong CLI commands to configure a service instance on a port channel. YANG generates service-instance, CLI refuses this, probably wants service instance.
For your convenience, here is the full YANG call we're doing and the response.
'severity': 'error', 'tag': 'invalid-value', 'path': None, 'message': 'inconsistent value: Device refused one or more commands', 'type': 'application'
<detail xmlns="http://cisco.com/yang/cisco-ia">
<bad-cli>
<bad-command> member Port-channel1 service-instance 3062</bad-command>
<error-location>2</error-location>
<parser-response/>
<parser-context>bridge-domain 3062
member Port-channel1 service-instance 3062</parser-context>
</bad-cli>
<bad-cli>
<bad-command> member Port-channel2 service-instance 3062</bad-command>
<error-location>2</error-location>
<parser-response/>
<parser-context>bridge-domain 3062
member Port-channel1 service-instance 3062
member Port-channel2 service-instance 3062</parser-context>
</bad-cli>
<bad-cli>
<bad-command> member BD-VIF5565</bad-command>
<error-location>2</error-location>
<parser-response/>
<parser-context>bridge-domain 3062
member Port-channel1 service-instance 3062
member Port-channel2 service-instance 3062
member BD-VIF5565</parser-context>
</bad-cli>
<bad-cli>
<bad-command> member BD-VIF5566</bad-command>
<error-location>2</error-location>
<parser-response/>
<parser-context>bridge-domain 3062
member Port-channel1 service-instance 3062
member Port-channel2 service-instance 3062
member BD-VIF5565
member BD-VIF5566</parser-context>
</bad-cli>
</detail>
</error-info>
Version in use:
qa-de-1-asr13a#show ver
Cisco IOS XE Software, Version V172_1_SAP_ES2
Cisco IOS Software [Amsterdam], c8000aep Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 17.2.1-SAP, CUST-SPECIAL:V172_1_SAP_ES2
This software is supported for a limited time under special agreement with Cisco Systems, Inc. ES2
Copyright (c) 1986-2020 by Cisco Systems, Inc.
Compiled Thu 07-May-20 16:39 by mcpre
The text was updated successfully, but these errors were encountered:
Cisco advised us not to use <service-instance>, as it is only present for backwardscompability, but to use <service-instance-list><service-instance>{id}</service-instance></service-instance-list> for each entry. The same goes for #28. Will try out.
It looks like the YANG stack generates wrong CLI commands to configure a service instance on a port channel. YANG generates
service-instance
, CLI refuses this, probably wantsservice instance
.For your convenience, here is the full YANG call we're doing and the response.
Request:
Response:
Version in use:
The text was updated successfully, but these errors were encountered: