Forum Discussion

Anthony's avatar
Anthony
Icon for Nimbostratus rankNimbostratus
Nov 26, 2019

List single record from data-group on CLI

I'm trying to query the data of a particular record within a data-group via the command line. However when I pass in the record name it still returns all records.

user1@LTM1:Active:Changes Pending] ~ # tmsh list ltm data-group internal ants_test_dg records { record_one }
ltm data-group internal ants_test_dg {
    records {
        record_one {
            data value_one
        }
        record_three {
            data value_three
        }
        record_two {
            data value_two
        }
    }
}

I'm sure there must be a simple thing I'm missing here, could someone please advise?

Many thanks

Ant

2 Replies