Reset Search
 

 

Article

How to remove Purview Configuration or operating commands from the collector switch

« Go Back

Information

 
TitleHow to remove Purview Configuration or operating commands from the collector switch
Objective
  • To be able to remove the configuration or disable the port(s) that are used on a switch that Purview was attached to.
  • This has been requested to be able to see if enabling/disabling the features for Purview had a impact on network performance.
Environment
  • S-Series
  • K-Series
  • PV-FC-180
  • Purview
Procedure
Prior to reverting the changes, I would recommend making an archive of the running configuration via show config outfile to backup the configuration for later review.
Plese see How to save a configuration on the S Series


1. Disable Netflow collection

First, review configuration 
type 'show config netflow'

# netflow

set netflow export-interval 1
set netflow export-destination 10.258.32.52 2055
set netflow export-destination 10.258.36.212 2055
set netflow export-version 9
set netflow port tg.1.2 enable rx
set netflow template refresh-rate 30 timeout 1
set netflow cache enable

 

To disable, netflow export, simply to

clear netflow cache
To remove a speciifc port from collection
clear netflow port tg.1.2
  
2. Disable Policy to the ports
First, review the configuration via a 'show config policy'
We want to remove the ports applied to the policy. in this case tg.1.2

# policy
set policy profile 1 name Purview pvid-status enable pvid 0 mirror-destination 1
set policy rule admin-profile port tg.1.2 mask 16 port-string tg.1.2 admin-pid 1


To remove, enter the following

clear policy rule admin-profile port tg.1.2 mask 16 port-string tg.1.2

3. Disable MirrorN functionality. This is what sends over 15-31 packets of a new flow stream to the Purview collector, either directly or via a GRE tunnel.
First we will want to review the configuration for the policy MirrorN.
type 'show config mirror'

# mirror
set mirror create 1
set mirror 1 mirrorN 15
set mirror ports tg.1.3 1
 

This can be fully deleted via the command
clear mirror 1
Or via removal of the port
 
clear mirror ports tg.1.3 1

If the port mirror is not directly connected to the Purview appliance, but instead it goes via a GRE tunnel, then the following can be used to disable.
configure
int tun.0.1
shutdown
exit

This will stop the tunnel interface from being operational.
 
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255