command script tool netsight
						
					
					
				
			
		
	
			
	
	
	
	
	
Options
			
				
					
	
			
		
	- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Get Direct Link
 - Report Inappropriate Content
 
03-14-2016 07:52 PM
			
				
					
					
						I have a issue where I have to script towards none supported units in netsight ( older extremeware)  In the command script tools is there any way of doing something similar like this ?   if %DEVICEIP% == "192.168.1.1"    // Andreas
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
		8 REPLIES 8
	
		
		
			
			
			
					
	
			Options
			
				
					
	
			
		
	- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Get Direct Link
 - Report Inappropriate Content
 
03-15-2016 07:10 AM
			
				
					
					
						No not what I mean.    In netsight there is a command script tool ( if you right click on a device it will show up as execute command)       Can I in that tool use any if/else statement to run a command script on a particular devices.     Say I have a group of 10 devices.     On device that has ip 1.1.1.2 and 1.1.1.3 I want to tag a Y with vlan X but on the rest of the devices I want to tag vlan X on port Z     Makes sense ?
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
Options
			
				
					
	
			
		
	- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Get Direct Link
 - Report Inappropriate Content
 
03-14-2016 08:53 PM
			
				
					
					
						I'm not sure if this is what you are looking for, but you can add a group of ports to specific vlans and apply to certain switches like this:
For “i” series switches:
configure vlan add ports  {tagged | untagged} {nobroadcast} {soft-rate-limit}
For “e” series switches:
configure vlan add ports  {tagged | untagged}
You can enter these commands in the NetSight scripting tool to allow you to configure vlan X with port(s) Y and run the script on various device(s) Z.
  
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
For “i” series switches:
configure vlan
For “e” series switches:
configure vlan
You can enter these commands in the NetSight scripting tool to allow you to configure vlan X with port(s) Y and run the script on various device(s) Z.
Options
			
				
					
	
			
		
	- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Get Direct Link
 - Report Inappropriate Content
 
03-14-2016 08:29 PM
			
				
					
					
						Thanks for the response.   The thing I'm looking for is actually a port group feature in nesight for extremeware. Since I couldn't add the ports to a port group I wanted to find a way to configure vlan X  on device Y on port portgroup X ( in essence a array of ports )
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
Options
			
				
					
	
			
		
	- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Get Direct Link
 - Report Inappropriate Content
 
03-14-2016 08:24 PM
			
				
					
					
						Hi Andreas,
Are you looking to do something equivalent to writing an ACL in EXOS (if / then / action)?
If yes, you can create an ACL on ExtremeWare. Depending on if you have an 'i' series (Summit 48si, Summit 7i, Alpine, ex) or 'e' series switch (Summit 200/300/400), the commands are a little different.
Below is a link to the ExtremeWare CLI Guide. Page 491 describes how to create an access list.
The guide shows how to create ACLs for 'e' and 'i' series switches.
http://extrcdn.extremenetworks.com/wp-content/uploads/2014/02/ExtremeWareCommandRef78.zip
Hope this helps.
Regards
Tony
		
		
	
	
	
Are you looking to do something equivalent to writing an ACL in EXOS (if / then / action)?
If yes, you can create an ACL on ExtremeWare. Depending on if you have an 'i' series (Summit 48si, Summit 7i, Alpine, ex) or 'e' series switch (Summit 200/300/400), the commands are a little different.
Below is a link to the ExtremeWare CLI Guide. Page 491 describes how to create an access list.
The guide shows how to create ACLs for 'e' and 'i' series switches.
http://extrcdn.extremenetworks.com/wp-content/uploads/2014/02/ExtremeWareCommandRef78.zip
Hope this helps.
Regards
Tony