Jump to content
  • 0

Зеркалиирование трафика


Jikky
 Share

Question

2 answers to this question

Recommended Posts

  • 0

Есть такой файлик

Скрытый текст

switch


Usage:
...
 switch mirror monitor [portnumber]          - enable port mirror and indicate monitor port number
 switch mirror target [portnumber] [0:off, 1:rx, 2:tx, 3:all] - set port mirror target
 switch reg r [offset]                       - register read from offset
 switch reg w [offset] [value]               - register write value to offset
 switch reg wd [offset_hex] [value_dec]      - register write dec value to hex offset
 switch reg d [offset]                       - registers dump
 switch mii [phy] r [offset]                 - mii phy register read from offset
 switch mii [phy] w [offset] [value]         - mii phy register write value to offset
 switch mii45 [phy] r [dev] [offset]         - mii cl45 phy dev register read from offset
 switch mii45 [phy] w [dev] [offset] [value] - mii cl45 phy dev register write value to offset
 ...
 switch vlan dump <max_vid>                  - dump switch vlan table, up to specified vlan id
 switch vlan set [vid] [portmap] <stag> <eg_con> <eg_tag> - set vlan id and associated member
 switch vlan clear                           - clear all vlan table
 switch tag on [port]                        - egress tag on port 0~6
 switch tag off [port]                       - egress untag on port 0~6
 switch tag swap [port]                      - egress swap cvid<->stag on port 0~6
 switch tag stack [port]                     - egress stack stag on port 0~6
 switch pvid [port] [pvid]                   - set pvid on port 0~6
 switch port [num] status                    - get status port switch
 switch port [num] set [autoneg] [speed] [duplex]  - set status port switch

и так же учесть что физически имеем сетевой интерфейс eth3 - для WAN и физический сетевой интерфейс eth2 (шина switch) - для LAN

т.е. есть как бы два варианта :

1. пробовать так как есть

2. сделать WAN на одном из LAN и опять попробовать

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...