title: TextFSM nxos template
body: <p>I have started exploring <a href="https://github.com/google/textfsm" rel="nofollow noreferrer">TextFSM</a> by google, its great for screen scraping. But I'm stuck. 
  Here is the template for the command: "show ip community-list"</p>
  
  <pre><code>Value TYPE (Standard|Extended)
  Value CLNAME (\D+)
  Value SEQ (\d+)
  Value ACTION (permit|deny)
  Value ASNUM (\d+)
  Value TAGNUM (\d+)
  
  Start
    ^${TYPE}\s+Community\s+List\s+${CLNAME}\s+ -&gt; Community
  
  Community
    ^\s+${SEQ}\s+${ACTION}\s+${ASNUM}\s+:\s+${TAGNUM}\s+ -&gt; Record Start
  </code></pre>
  
  <p>Raw output looks like:</p>
  
  <pre><code>Expanded Community List ROUTES_CL1
  1 permit "11111:10000"
  Standard Community List ROUTES_CL2
      1 permit 11111:10000
      2 permit 22222:10000
      3 permit 33333:10000
  </code></pre>
  
  <p>somereason doesn't parse into key and values. </p>