<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: create an upm event that triggers whenever a user logs in to the CLI in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/create-an-upm-event-that-triggers-whenever-a-user-logs-in-to-the/m-p/57943#M17178</link>
    <description>Yes... I have already mentioned below script in some other post.&lt;BR /&gt;
&lt;BR /&gt;
     &lt;B&gt;Step 1: Create log filter and  match the log which is generating when anyone logs in. &lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    create log  filter SUMIT&lt;BR /&gt;
&lt;BR /&gt;
    configure  log filter SUMIT add events AAA.authPass&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    &lt;B&gt;Step 2: Create UPM profile name  as “TEST”&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    create upm  profile TEST&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    &lt;B&gt;Step 3: Type below script,  please change the ftp ip address.&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    enable cli  scripting per&lt;BR /&gt;
&lt;BR /&gt;
    set var  CLI.OUT 0&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    show  switch&lt;BR /&gt;
&lt;BR /&gt;
    set var  input $TCL(split ${CLI.OUT} " ")&lt;BR /&gt;
&lt;BR /&gt;
    set var x  $TCL(lsearch -glob $input "*SysName*")&lt;BR /&gt;
&lt;BR /&gt;
    set var x  $TCL(lindex $input $x)&lt;BR /&gt;
&lt;BR /&gt;
    set var x  $TCL(split $x " ")&lt;BR /&gt;
&lt;BR /&gt;
    set var  switchname $TCL(lindex ${x} 10)&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    set var  seconds $TCL(clock seconds)&lt;BR /&gt;
&lt;BR /&gt;
    set var  date $TCL(clock format $seconds -format {%Y-%m-%d})&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    configure  cli mode scripting ignore-error&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    tftp put  10.120.94.11 vr vr-mgmt primary.cfg $(date)/$(switchname)-$(date).cfg&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    create log  messages "config uploaded"&lt;BR /&gt;
&lt;BR /&gt;
    &lt;B&gt;Step 4: Point the log messages  to the UPM script which we have created.&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    create log  target upm TEST&lt;BR /&gt;
&lt;BR /&gt;
    enable log  target upm TEST&lt;BR /&gt;
&lt;BR /&gt;
    configure  log target upm TEST filter SUMIT severity Info&lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Fri, 30 May 2014 20:38:00 GMT</pubDate>
    <dc:creator>Sumit_Tokle</dc:creator>
    <dc:date>2014-05-30T20:38:00Z</dc:date>
    <item>
      <title>create an upm event that triggers whenever a user logs in to the CLI</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/create-an-upm-event-that-triggers-whenever-a-user-logs-in-to-the/m-p/57941#M17176</link>
      <description>I am trying to create an event trigger that will fire any time a user logs in to the switch. The problem I am running into is that I am trying to make a generic script that will set this up on several switch stacks on my network. Is there any generic keyword that will allow me to assign the upm event to all ports in a stack? &lt;BR /&gt;
&lt;BR /&gt;
This is the command I'm using:&lt;BR /&gt;
&lt;BR /&gt;
configure upm event user-authenticate profile "backup-config" ports &lt;BR /&gt;
&lt;BR /&gt;
Based on the Concepts Guide, I feel like this is the right command. Any help would be appreciated.</description>
      <pubDate>Fri, 30 May 2014 18:36:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/create-an-upm-event-that-triggers-whenever-a-user-logs-in-to-the/m-p/57941#M17176</guid>
      <dc:creator>Dan_ODonnell</dc:creator>
      <dc:date>2014-05-30T18:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: create an upm event that triggers whenever a user logs in to the CLI</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/create-an-upm-event-that-triggers-whenever-a-user-logs-in-to-the/m-p/57942#M17177</link>
      <description>I think I figured it out. I actually needed to set up an EMS filter and trigger rather than the event trigger.</description>
      <pubDate>Fri, 30 May 2014 19:56:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/create-an-upm-event-that-triggers-whenever-a-user-logs-in-to-the/m-p/57942#M17177</guid>
      <dc:creator>Dan_ODonnell</dc:creator>
      <dc:date>2014-05-30T19:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: create an upm event that triggers whenever a user logs in to the CLI</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/create-an-upm-event-that-triggers-whenever-a-user-logs-in-to-the/m-p/57943#M17178</link>
      <description>Yes... I have already mentioned below script in some other post.&lt;BR /&gt;
&lt;BR /&gt;
     &lt;B&gt;Step 1: Create log filter and  match the log which is generating when anyone logs in. &lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    create log  filter SUMIT&lt;BR /&gt;
&lt;BR /&gt;
    configure  log filter SUMIT add events AAA.authPass&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    &lt;B&gt;Step 2: Create UPM profile name  as “TEST”&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    create upm  profile TEST&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    &lt;B&gt;Step 3: Type below script,  please change the ftp ip address.&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    enable cli  scripting per&lt;BR /&gt;
&lt;BR /&gt;
    set var  CLI.OUT 0&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    show  switch&lt;BR /&gt;
&lt;BR /&gt;
    set var  input $TCL(split ${CLI.OUT} " ")&lt;BR /&gt;
&lt;BR /&gt;
    set var x  $TCL(lsearch -glob $input "*SysName*")&lt;BR /&gt;
&lt;BR /&gt;
    set var x  $TCL(lindex $input $x)&lt;BR /&gt;
&lt;BR /&gt;
    set var x  $TCL(split $x " ")&lt;BR /&gt;
&lt;BR /&gt;
    set var  switchname $TCL(lindex ${x} 10)&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    set var  seconds $TCL(clock seconds)&lt;BR /&gt;
&lt;BR /&gt;
    set var  date $TCL(clock format $seconds -format {%Y-%m-%d})&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    configure  cli mode scripting ignore-error&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    tftp put  10.120.94.11 vr vr-mgmt primary.cfg $(date)/$(switchname)-$(date).cfg&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    create log  messages "config uploaded"&lt;BR /&gt;
&lt;BR /&gt;
    &lt;B&gt;Step 4: Point the log messages  to the UPM script which we have created.&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    create log  target upm TEST&lt;BR /&gt;
&lt;BR /&gt;
    enable log  target upm TEST&lt;BR /&gt;
&lt;BR /&gt;
    configure  log target upm TEST filter SUMIT severity Info&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 30 May 2014 20:38:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/create-an-upm-event-that-triggers-whenever-a-user-logs-in-to-the/m-p/57943#M17178</guid>
      <dc:creator>Sumit_Tokle</dc:creator>
      <dc:date>2014-05-30T20:38:00Z</dc:date>
    </item>
  </channel>
</rss>

