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
Port-Mirror
-
thecandymancan
Re: Port-Mirror
Debugs would not be retained after a reload. Would you not be more concerned by persistent reloading or is it in a lab?
-
kdusousa
Re: Port-Mirror
Is there a way to keep this setting? Another way to configure mirroring?
-
thecandymancan
Re: Port-Mirror
Sorry, dont know. Maybe you could script something for when you get a certain SNMP trap after a node reboot.
Re: Port-Mirror
Yes - you put the debug commands in a file and reference it with the command "configure system boot-good-exec <file-url>".kdusousa wrote:Is there a way to keep this setting?
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.
