question

msalkeld avatar image
msalkeld asked msalkeld posted

Need help creating a response map with hyphens is keyword name

Hi

 

 I am looking for help creating a response map for a  cisco command "show l2vpn xconnect" It has 2 types of Pseudowires (single segment and multi). I have it working for single. For the multisegment stitch I just need "stitch-42-vlanX" (Where X=VLAN ID) and the state of UP. When I create the block map, the token name is multiple. Attached is my existing FFRM.

 

Wed Sep 28 20:41:12.676 UTC
Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved,
        SB = Standby, SR = Standby Ready, (PP) = Partially Programmed

XConnect                   Segment 1                       Segment 2               
Group      Name       ST   Description            ST       Description            ST   
------------------------   -----------------------------   -----------------------------
A-C        ac1        UP   Gi0/2/0/22.21          UP       3.3.3.3         21     UP   
                                                           Backup                      
                                                           3.3.3.3         121    SB
----------------------------------------------------------------------------------------
A-C        ac2        UP   Gi0/2/0/22.22          UP       3.3.3.3         22     UP   
                                                           Backup                      
                                                           3.3.3.3         122    SB
----------------------------------------------------------------------------------------
STITCHING  stitch-42-vlan31
                      UP   2.2.2.2         4231   UP       4.4.4.4         4231   UP   
----------------------------------------------------------------------------------------
STITCHING  stitch-42-vlan32
                      UP   2.2.2.2         4232   UP       4.4.4.4         4232   UP   
----------------------------------------------------------------------------------------

iTestresponse map
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

·
sandeepreddynv avatar image
sandeepreddynv answered sandeepreddynv posted

Hi,

 

I have modified you response map in which it will take the "stitch-42-vlan31" as tokens and I ahve given the name as "STITCHING_VLAN_ID".

 

Here I am attaching the modified response map.

 

Please take a look and let me know if it solves your issue.

 

Thanks,

Venkata


10 |950

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

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.