Jump to content
Калькуляторы

SNR-S2995G-24TX зеркало из 10G в 1G

Добрый день, не могу понять глюк. Можно ли сделать зеркало трафика из 10гб интерфейса в 1г, при условии, что у 10г интерфейса трафика не больше 1гб/с.

Eth1/0/27 - 10G

Есть

  SNR-S2995G-24TX Device, Compiled on Jul 09 15:52:00 2018
  sysLocation Building 57/2,Predelnaya st, Ekaterinburg, Russia
  CPU Mac f8:f0:82:79:05:05
  Vlan MAC f8:f0:82:79:05:04
  SoftWare Package Version 7.5.3.2(R0004.0084)
  BootRom Version 7.5.21
  HardWare Version 1.0.1
  CPLD Version 1.08

Создал простой mirror:

SNR-S2995G-Maya#show monitor
monitor session 1:
Destination Ethernet1/0/24

Card: slot 1
source ports:
  RX port: 27
  TX port: 27
--------------------------------------------------------
No monitor in session 2
--------------------------------------------------------

Видно, что есть трафик:

SNR-S2995G-Maya#show int ethernet 1/0/24
Interface brief:
  Ethernet1/0/24 is up, line protocol is up
  Ethernet1/0/24 is layer 2 port, alias name is reductor, index is 24
  Hardware is Gigabit-TX, address is f8-f0-82-79-05-05
  PVID is 1
  MTU 2000 bytes, BW 1000000 Kbit
  Time since last status change:0w-0d-1h-32m-19s  (5539 seconds)
  Encapsulation ARPA, Loopback not set
  Auto-duplex: Negotiation full-duplex, Auto-speed: Negotiation 1G bits
  FlowControl is off, MDI type is auto
Statistics:
  5 minute input rate 300 bits/sec, 1 packets/sec
  5 minute output rate 827421157 bits/sec, 173196 packets/sec
  The last 5 second input rate 0 bits/sec, 0 packets/sec
  The last 5 second output rate 828491002 bits/sec, 170538 packets/sec
  Input packets statistics:
    7956 input packets, 509304 bytes, 0 no buffer
    0 unicast packets, 8 multicast packets, 120 broadcast packets
    0 input errors, 0 CRC, 0 frame alignment, 0 overrun, 0 ignored,
    0 abort, 0 length error, 0 undersize 0 jabber, 0 fragments, 7828 pause frame
  Output packets statistics:
    3458300677 output packets, 2028380402937 bytes, 0 underruns
    3458025873 unicast packets, 111104 multicast packets, 163700 broadcast packets
    0 output errors, 0 collisions, 0 late collisions, 0 pause frame

Но на Линукс трафика не вижу:

[root@localhost ~]# tcpdump -n -i eth1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
18:09:12.944536 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.e0:d9:e3:2a:4a:40.6980, length 43
18:09:12.944562 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.e0:d9:e3:2a:4a:40.6980, length 43
18:09:14.944180 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.e0:d9:e3:2a:4a:40.6980, length 43
18:09:14.944201 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.e0:d9:e3:2a:4a:40.6980, length 43
18:09:16.947129 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.e0:d9:e3:2a:4a:40.6980, length 43
18:09:16.947146 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.e0:d9:e3:2a:4a:40.6980, length 43
18:09:17.249701
18:09:17.249716
18:09:18.944082 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.e0:d9:e3:2a:4a:40.6980, length 43
18:09:18.944104 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.e0:d9:e3:2a:4a:40.6980, length 43
18:09:20.944117 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.e0:d9:e3:2a:4a:40.6980, length 43
18:09:20.944140 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.e0:d9:e3:2a:4a:40.6980, length 43
18:09:22.944535 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.e0:d9:e3:2a:4a:40.6980, length 43

 

Share this post


Link to post
Share on other sites

@TRIada 

Добрый день!
 

Цитата

Можно ли сделать зеркало трафика из 10гб интерфейса в 1г, при условии, что у 10г интерфейса трафика не больше 1гб/с.

Можно даже если больше.

Цитата

Но на Линукс трафика не вижу:

Возможно интерфейс не переключается в promiscuous mode, либо MTU меньше чем в зеркале.

  SoftWare Package Version 7.5.3.2(R0004.0084)

Обновите версию ПО на последнюю рекомендуемую, эту проблему это не решит, но было исправлено много других проблем, используемая вами версия очень старая.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this