Port mirroring is about copy the packets passing through a port (called a mirroring port) to another port (monitoring port) connected with a monitoring device for packet analysis.
Serial Options
Baud rate : 9600
Data bits : 8
Parity : None
Stop bits :
Flow control : only XON/XOFF is enabled
Data bits : 8
Parity : None
Stop bits :
Flow control : only XON/XOFF is enabled
Create a local mirroring group
[switch] sys
[switch] mirroring-group 1 local
[switch] mirroring-group 1 local
Configure ports GigabitEthernet 1/0/1 and 1/0/2 as mirroring ports and port GigabitEthernet 1/0/3 as monitor port in the mirroring group
[switch] mirroring-group 1 mirroring-port GigabitEthernet 1/0/1 GigabitEthernet 1/0/2 both
[switch] miroring-group 1 monitor-port GigabitEthernet 1/0/3
[switch] miroring-group 1 monitor-port GigabitEthernet 1/0/3
Display the config of all mirroring groups
[switch] display mirroring-group all
mirroring-group 1:
type : local
status : active
mirroring port :
GigabitEthernet1/0/1 both
GigabitEthernet1/0/2 both
monitor port : GigabitEthernet1/0/3
mirroring-group 1:
type : local
status : active
mirroring port :
GigabitEthernet1/0/1 both
GigabitEthernet1/0/2 both
monitor port : GigabitEthernet1/0/3
No comments:
Post a Comment