question

saurabsr avatar image
saurabsr asked saurabsr posted

need a response map for sh crypto isakmp sa

Hi,

 

I need a response map for the following command output

 

s3p8# sh crypto isakmp sa
 SA Id   P1   IKE  Child                              Algorithm                                       Remote Auth    Tunnel Type   VRF Name
        Done  Ver   SAs       Encryption          Hash                        PRF
     1   yes   2        1        aes128-cbc     hmac-sha1-96        hmac-sha1       rsa                   RAS             global
          Local  IP Address:Port : 88.88.108.38:500
          Remote IP Address:Port : 22.22.101.200:500

 

The problem here is this ouput doesnt fit a table map, as the last two rows arent part of the data for the table banner as expected by Itest.

Also the banner here is made of two lines and Itest takes just one line as table banner.

 

 

iTestresponse map
attachment.jpg (277.6 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
msandeep avatar image
msandeep answered msandeep posted

Hi,

 

I have created a mixed mapping (Table and Pattern) for "sh crypto isakmp sa" command output.

 

Please check the attached response map and let me know how it goes.

 

Thanks,


1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

saurabsr avatar image saurabsr commented ·

Thanks a lot Sandeep,

 

One more question , how do I integrate this new reponse map to an old test case and remove the old one.

 

Thanks in advance.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.