Mirror Examples - Planet WGSW-52040 Configuration Manual

48-port 10/100/1000base-t + 4-port 100/1000x sfp managed switch
Hide thumbs Also See for WGSW-52040:
Table of Contents

Advertisement

monitor session <session> source
{interface <interface-list> | cpu} {rx| tx|
both}
no monitor session <session> source
{interface <interface-list> | cpu}
3. Specify flow mirror source
Command
Global mode
monitor session <session> source {interface
<interface-list>} access-group <num> {rx|tx|both}
no monitor session <session> source {interface
<interface-list>} access-group <num>

58.3 Mirror Examples

1. Example:
The requirement of the configurations is shown as below: to monitor at interface 1 the data frames sent out by
interface 9 and received from interface 7, sent and received by CPU, and the data frames received by
interface 15 and matched by rule 120(The source IP address is 1.2.3.4 and the destination IP address is
5.6.7.8).
Configuration guidelines:
1. Configure interface 1 to be a mirror destination interface.
2. Configure the interface 7 ingress and interface 9 egress to be mirrored source.
3. Configure the CPU as one of the source.
4. Configure access list 120.
5. Configure access 120 to binding interface 15 ingress.
Configuration procedure is as follows:
Switch(config)#monitor session 1 destination interface ethernet 1/1
Switch(config)#monitor session 1 source interface ethernet 1/7 rx
Switch(config)#monitor session 1 source interface ethernet 1/9 tx
Switch(config)#monitor session 1 source cpu
Switch(config)#access-list 120 permit tcp 1.2.3.4 0.0.0.255 5.6.7.8 0.0.0.255
Switch(config)#monitor session 1 source interface ethernet 1/15 access-list 120 rx
Specifies mirror source port; the no command
deletes mirror source port.
Explanation
Specifies flow mirror source
port and apply rule; the no
command deletes flow mirror
source port.
58-33

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents