cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2776
Views
5
Helpful
3
Replies

RESTconf issues in IOS-XE

m-hosaka
Level 1
Level 1

Hi All,

 

I cannot config the service-policy for the port-channel subinterface using RESTconf in CSR1000V.
Also, There was no service-policy information in the GET even if it was configured in the CLI.
I am trying CSR1000V, IOS-XE16.12.3.

 

=====================
〇CLI Config
interface Port-channel1.1000
  encapsulation dot1Q 1000
  ip address 100.100.100.1 255.255.255.252 
  service-policy output TEST_policy ★target config

〇Result of GET
{
  "Cisco-IOS-XE-native:Port-channel-subinterface": {
    "Port-channel": [
      {
        "name": "1.1000",
        "encapsulation": {
          "dot1Q": {
            "vlan-id": 1000
          }
        },
        "ip": {
          "address": {
            "primary": {
              "address": "100.100.100.1",
              "mask": "255.255.255.252"
            }
          }
        }
      }
    ]
  }
}

=====================

 

If service-policy is config to GigabitEthernet subinterface or port-channel, the problem does not occur.

 

I would like to configure the settings for ASR1001-HX as well. Will the same problem occur for ASR?
Is there any solution to this problem?

1 Accepted Solution

Accepted Solutions

Hello alexstev

 

Thank you for your reply.

When I contacted CIsco TAC, I found that it was not supported.
We have received the answer that this will be implemented in future OS as an enhancement.

View solution in original post

3 Replies 3

Alex Stevenson
Cisco Employee
Cisco Employee

 

Hello @m-hosaka,

 

Welcome! I'm not an expert with this particular technology, although I have worked with this class of router and software previously. Here are my insights:

 

These might not give you the answer you're looking for but at least may give you some ideas and point you in the right direction. I hope this helps.

Hello alexstev

 

Thank you for your reply.

When I contacted CIsco TAC, I found that it was not supported.
We have received the answer that this will be implemented in future OS as an enhancement.

 

Thank you for giving us the solution @m-hosaka !

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: