SNR S2989G-48TX-RPS — руководство по отладке и диагностике сетевых настроек [469/553]

Превью страниц Страница 469 / 553
SNR S2989G-48TX [469/553] Mirror examples
S2989G-24TX Operation Manual
Chapter 8 Debugging and Diagnosis Configuration
8-22
Global mode
monitor session <session> source
{interface <interface-list>} {rx| tx| both}
no monitor session <session> source
{interface <interface-list>}
Specifies mirror source port; the no
command deletes mirror source port.
3. Specify flow mirror source
Command
Explanation
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>
Specifies flow mirror source
port and apply rule; the no
command deletes flow mirror
source port.
8.6.3
Mirror Examples
1 Example:
The requirement of the configurations is shown as below: to monitor at interface 1/0/1 the
data frames sent out by interface 1/0/9 and received from interface 1/0/7, and the data
frames received by interface 1/0/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/0/1 to be a mirror destination interface.
2. Configure the interface 1/0/7 ingress and interface 1/0/9 egress to be mirrored source.
3. Configure access list 120.
4. Configure access 120 to binding interface 15 ingress.
Configuration procedure is as follows:
Switch(config)#monitor session 4 destination interface ethernet 1/0/1
Switch(config)#monitor session 4 source interface ethernet 1/0/7 rx
Switch(config)#monitor session 4 source interface ethernet 1/0/9 tx
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 4 source interface ethernet 1/0/15 access-list 120 rx
8.6.4
Device Mirror Troubleshooting

Содержание

666

Изучите, как настроить мониторинг и зеркалирование трафика на сетевых интерфейсах. Подробные примеры и инструкции по устранению неполадок.