<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IOSXE - RESTCONF authentication failure in Communities of Interest</title>
    <link>https://community.cisco.com/t5/communities-of-interest/iosxe-restconf-authentication-failure/m-p/4707639#M344</link>
    <description>&lt;P&gt;I have not seen you have restconf enabled.&lt;/P&gt;
&lt;P&gt;so check show run | in restconf (if that is not show any output)&lt;/P&gt;
&lt;P&gt;config t&lt;/P&gt;
&lt;P&gt;!&lt;/P&gt;
&lt;P&gt;restconf&lt;/P&gt;
&lt;P&gt;!&lt;/P&gt;
&lt;P&gt;Also, you need authorization, not only authentication, so add the below line and test it.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;aaa authorization exec default local&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Oct 2022 18:39:22 GMT</pubDate>
    <dc:creator>balaji.bandi</dc:creator>
    <dc:date>2022-10-22T18:39:22Z</dc:date>
    <item>
      <title>IOSXE - RESTCONF authentication failure</title>
      <link>https://community.cisco.com/t5/communities-of-interest/iosxe-restconf-authentication-failure/m-p/4707633#M343</link>
      <description>&lt;P&gt;Hello to all,&lt;BR /&gt;I'm starting with RESTCONF and I'm encountering an authentication problem. To validate the configuration I use a local account and then I will use the TACACS+ service.&lt;BR /&gt;My configuration is simple and is as follows:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Switch#show run | i http&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ip http server&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ip http authentication local&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ip http secure-server&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Switch#show run | s aaa&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa new-model&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa group server tacacs+ ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;server name Serv_P&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;server name Serv_S&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa authentication login default line&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa authentication login AAA_SSH local group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa authentication login AAA_CONSOLE local group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa authorization console&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa authorization exec AAA_SSH local group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa authorization exec AAA_CONSOLE local group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa authorization commands 15 AAA_SSH local group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa authorization commands 15 AAA_CONSOLE local group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa accounting exec AAA_SSH start-stop group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa accounting exec AAA_CONSOLE start-stop group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa accounting commands 15 AAA_SSH stop-only group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa accounting commands 15 AAA_CONSOLE stop-only group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa session-id common&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Switch#show platform software yang-management process&lt;BR /&gt;confd : Running&lt;BR /&gt;nesd : Running&lt;BR /&gt;syncfd : Running&lt;BR /&gt;ncsshd : Not Running&lt;BR /&gt;dmiauthd : Running&lt;BR /&gt;nginx : Running&lt;BR /&gt;ndbmand : Running&lt;BR /&gt;pubd : Running&lt;BR /&gt;gnmib : Not Running&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;username admin privilege 15 secret 9 XXXYYYZZZ&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The error message :&lt;/FONT&gt;&amp;nbsp;%DMI-5-AUTHENTICATION_FAILED: Switch 1 R0/0: dmiauthd: Authentication failure from 192.168.2.1:0 for rest over http.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;curl -i -k -X "GET" "&lt;A href="https://10.10.10.1/restconf/" target="_blank"&gt;https://10.10.10.1/restconf/&lt;/A&gt;" -u 'admin:XXXYYYZZZ'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thank you for your help.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2022 16:44:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/communities-of-interest/iosxe-restconf-authentication-failure/m-p/4707633#M343</guid>
      <dc:creator>TelesEC</dc:creator>
      <dc:date>2022-10-22T16:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: IOSXE - RESTCONF authentication failure</title>
      <link>https://community.cisco.com/t5/communities-of-interest/iosxe-restconf-authentication-failure/m-p/4707639#M344</link>
      <description>&lt;P&gt;I have not seen you have restconf enabled.&lt;/P&gt;
&lt;P&gt;so check show run | in restconf (if that is not show any output)&lt;/P&gt;
&lt;P&gt;config t&lt;/P&gt;
&lt;P&gt;!&lt;/P&gt;
&lt;P&gt;restconf&lt;/P&gt;
&lt;P&gt;!&lt;/P&gt;
&lt;P&gt;Also, you need authorization, not only authentication, so add the below line and test it.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;aaa authorization exec default local&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2022 18:39:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/communities-of-interest/iosxe-restconf-authentication-failure/m-p/4707639#M344</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2022-10-22T18:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: IOSXE - RESTCONF authentication failure</title>
      <link>https://community.cisco.com/t5/communities-of-interest/iosxe-restconf-authentication-failure/m-p/4707644#M345</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;BR /&gt;Yes restconf is enabled.&lt;BR /&gt;Regarding the AAA configuration, the following lines are not enough ?&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;aaa authorization exec AAA_CONSOLE local group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;aaa authorization commands 15 AAA_SSH local group ENT_GROUP&lt;/FONT&gt;&lt;BR /&gt;aaa authorization commands 15 AAA_CONSOLE local group ENT_GROUP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2022 18:54:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/communities-of-interest/iosxe-restconf-authentication-failure/m-p/4707644#M345</guid>
      <dc:creator>TelesEC</dc:creator>
      <dc:date>2022-10-22T18:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: IOSXE - RESTCONF authentication failure</title>
      <link>https://community.cisco.com/t5/communities-of-interest/iosxe-restconf-authentication-failure/m-p/4707646#M346</link>
      <description>&lt;P&gt;here is simple test i have done :&lt;/P&gt;
&lt;P&gt;username admin privilege 15 password 0 Cisco123&lt;/P&gt;
&lt;P&gt;aaa new-model&lt;BR /&gt;!&lt;BR /&gt;aaa authorization exec default local&lt;/P&gt;
&lt;P&gt;ip http server&lt;BR /&gt;ip http authentication local&lt;BR /&gt;ip http secure-server&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;root@ub18:~# curl -i -k -X "OPTIONS" "&lt;A href="https://10.10.9.100:443/restconf/data/Cisco-IOS-XE-native:native/logging/monitor/severity" target="_blank"&gt;https://10.10.9.100:443/restconf/data/Cisco-IOS-XE-native:native/logging/monitor/severity&lt;/A&gt;" -H 'Accept: application/yang-data+json' -u 'admin:Cisco123'&lt;BR /&gt;HTTP/1.1 200 OK&lt;BR /&gt;Server: nginx&lt;BR /&gt;Date: Sat, 22 Oct 2022 19:10:58 GMT&lt;BR /&gt;Content-Type: text/html&lt;BR /&gt;Content-Length: 0&lt;BR /&gt;Connection: keep-alive&lt;BR /&gt;Allow: DELETE, GET, HEAD, PATCH, POST, PUT, OPTIONS&lt;BR /&gt;Cache-Control: private, no-cache, must-revalidate, proxy-revalidate&lt;BR /&gt;Accept-Patch: application/yang-data+xml, application/yang-data+json&lt;BR /&gt;Pragma: no-cache&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2022 19:14:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/communities-of-interest/iosxe-restconf-authentication-failure/m-p/4707646#M346</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2022-10-22T19:14:34Z</dc:date>
    </item>
  </channel>
</rss>

