Port-Mirror

Post Reply
kdusousa

Port-Mirror

Post 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
thecandymancan

Re: Port-Mirror

Post 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?
kdusousa

Re: Port-Mirror

Post by kdusousa »

Is there a way to keep this setting? Another way to configure mirroring?
thecandymancan

Re: Port-Mirror

Post by thecandymancan »

Sorry, dont know. Maybe you could script something for when you get a certain SNMP trap after a node reboot.
mivens
Member
Posts: 262
Joined: 28 Sep 2012 06:34

Re: Port-Mirror

Post 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.
Post Reply

Return to “7750 SR”