Page 1 of 1

Port-Mirror

Posted: 31 Jan 2013 11:15
by kdusousa
Hi everyone,
I searched for this issue but have not found.
I need to configure port mirroring in 7750. I do it, but everytime switch restarts, I lost the configuration. Thats the configuration:

" config
mirror
mirror-dest 10500 create
sap 1/1/1 create
exit
no shutdown
exit all
debug
mirror-source 10500
port 1/1/2 egress ingress
port 1/1/3 egress ingress
port 1/1/4 egress ingress
port 1/1/5 egress ingress
port 1/1/6 egress ingress
port 1/1/7 egress ingress
port 1/1/8 egress ingress
port 1/1/3 egress ingress
port 1/1/9 egress ingress
port 1/1/10 egress ingress
port 1/1/11 egress ingress
port 1/1/12 egress ingress
port 1/1/17 egress ingress
port 1/1/18 egress ingress
port 1/1/19 egress ingress
port 1/1/20 egress ingress
port 1/1/21 egress ingress
port 1/1/22 egress ingress
port 1/1/23 egress ingress
port 1/1/24 egress ingress
port 1/2/1 egress ingress
port 1/2/2 egress ingress
port 1/2/3 egress ingress
port 1/2/4 egress ingress
no shutdown
exit
exit"

Could anyone help me??
Thanks

Re: Port-Mirror

Posted: 02 Feb 2013 16:08
by thecandymancan
Debugs would not be retained after a reload. Would you not be more concerned by persistent reloading or is it in a lab?

Re: Port-Mirror

Posted: 04 Feb 2013 11:02
by kdusousa
Is there a way to keep this setting? Another way to configure mirroring?

Re: Port-Mirror

Posted: 04 Feb 2013 19:12
by thecandymancan
Sorry, dont know. Maybe you could script something for when you get a certain SNMP trap after a node reboot.

Re: Port-Mirror

Posted: 01 Mar 2013 03:42
by mivens
kdusousa wrote:Is there a way to keep this setting?
Yes - you put the debug commands in a file and reference it with the command "configure system boot-good-exec <file-url>".

If you are running a version of TiMOS less than R10 then you can similarly make your debug commands persist after a CPM switchover with the command "configure system switchover-exec". This is not necessary in R10 and above.