cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1495
Views
15
Helpful
2
Replies

IOS XE command option json

Salongo
Level 1
Level 1

Hi Community,

 

I was wondering if anyone has faced this issue.

 

The below command option is not working for me:

 

sh ip int br | json   OR sh ip int br | json-pretty.

 

Version: IOS XE 16.12.5.

 

Re/Saleh

 

Re/Sal

1 Accepted Solution

Accepted Solutions

@Salongo are you referencing a doc that says this works and is supported? Tried his on 16 and 17 train.

 

csr1000v-1#sh version | i 17.
Cisco IOS XE Software, Version 17.03.01a
Cisco IOS Software [Amsterdam], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 17.3.1a, RELEASE SOFTWARE (fc3)

csr1000v-1#sh ip int brief | json
% Invalid input detected at '^' marker.

 

csr1000v-1#sh version | I 16.
Cisco IOS XE Software, Version 16.09.03
Cisco IOS Software [Fuji], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.9.3, RELEASE SOFTWARE (fc2)
csr1000v-1#sh ip int brief | json
                             ^
% Invalid input detected at '^' marker.

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

View solution in original post

2 Replies 2

@Salongo are you referencing a doc that says this works and is supported? Tried his on 16 and 17 train.

 

csr1000v-1#sh version | i 17.
Cisco IOS XE Software, Version 17.03.01a
Cisco IOS Software [Amsterdam], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 17.3.1a, RELEASE SOFTWARE (fc3)

csr1000v-1#sh ip int brief | json
% Invalid input detected at '^' marker.

 

csr1000v-1#sh version | I 16.
Cisco IOS XE Software, Version 16.09.03
Cisco IOS Software [Fuji], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.9.3, RELEASE SOFTWARE (fc2)
csr1000v-1#sh ip int brief | json
                             ^
% Invalid input detected at '^' marker.

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hello,

 

I suppose you are right its only supported on NX-OS

 

Sal

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: