Several common vswitch port image configurations

Source: Internet
Author: User

Port image configuration in DELL

InVswitchChoose "Switch"> "Ports"> "portinging" from the tree menu on the left of the management interface"Port Image), The "portinging" port image is displayed on the right. The parameters on this page are described as follows:

Add): Add a port Image

DestinationPort destination port): defines the port number for port communication to be mirrored;

SourcePort source port): defines the port number of the mirrored port. Up to eight mirrored ports can be mirrored to one mirror port;

Type): Specifies the port communication Type to be mirrored. Possible field values include "RX"-indicates the data from the image to the network; "TX"-indicates the data from the image to the network; and Both)-indicates all the data from the image.

Status): indicates the port Status. Possible field values include: "Active"-indicates that the port is enabled; "NotActive"-indicates that the port is disabled.

Remove delete): deletes a port image session. Possible field values include: "selected"-delete port image session; "not selected"-retain port image session.

Specific port image Configuration:

1. Select the destination port image from DestinationPort in the portconfiguring dialog box), and then click the Add button;

2. on the "AddSourcePort" add source port) page, define the "SourcePort" source port) and "Type" fields, and click "ApplyChanges" to apply changes ), allows the system to receive changes.

Note: To delete a copy port from a port image session, open the "portinging" port image) page, select the "Remove" delete) check box, and then click "ApplyChanges" to apply changes ). The system will delete the port image session and update the device .)

The following is a CLI command instance:

 
 
  1. Console(config)#interfaceethernet1/e1  
  2.  
  3. Console(config-if)#portmonitor1/e8  
  4.  
  5. Console#showportsmonitor  
  6.  
  7. SourceportDestinationPortTypeStatus  
  8.  
  9. ---------------------------------------  
  10.  
  11. 1/e11/e8RX,TXActive 

Next, let's take a look at how Port Mirroring is configured for several types of switches:

How to configure the port image of the Juniper Switch

How to configure the port image of the JuniperM series and T series switches

Usen @ router # showforwarding-optionsport-loading ing {input {familyinet; rate; run-length ;}outputinterface {next-hop;} no-filter-check ;}}

Select the destination port to which the sampled traffic is sent.

User @ router # showfirewallfiltermirror-samplefrom {...} then {sample; accept ;}

Define a sampling filter and select the traffic you are interested in.

User @ router # showinterfaceunit0familyinetfilter {inputmirror-sample ;}

Select to apply the sampling filter to a port.

How to configure the port image of the Nortel8000 Switch

In versions earlier than Software3.2.0.0, a set of port images, 10 sources, and one destination are supported.

Software3.2.0.0 and later versions support two sets of images. Note: Generally, eight ethernet ports are used as an integrated circuit board. destination cannot be deployed on the same board, only one destination is allowed on Ports 1-8), and 25 sources are supported.

Username/password: rwa/rwa superuser

For example: 2/62/62/8 images to 2/1 Images

 
 
  1. Configdiagmirror-by-port1createin-port2/4out-port2/1 (1 is ID, range 1-10)
  2.  
  3. Configdiagmirror-by-port1enableture
  4.  
  5. Configdiagmirror-by-port2createin-port2/6out-port2/1
  6.  
  7. Configdiagmirror-by-port2enableture
  8.  
  9. Configdiagmirror-by-port3createin-port2/8out-port2/1
  10.  
  11. Configdiagmirror-by-port3enableture
  12.  
  13. Configdiagmirror-by-port1modeboth | tx | rx
  14.  
  15. Saveconfig
  16.  
  17. Diagmirror-by-portidinfo (view ID No. Image Information)

The image function provided by the Nortel switch is generally rx and does not support the both method depending on the cpu). Therefore, if the ping packet fails to be detected, only ping can be detected .?

How to configure the port image of the Baystack450 Switch

Veryeasy, as long as the installation menu step by step. Only two sources and one destination are supported. Vswitch Software Version 3 or later.

 
 
  1. Ssr8000  
  2.  
  3. SSRCommandLineInterfaceReferenceManual551  
  4.  
  5. portmirroring  
  6.  
  7. Command  
  8.  
  9. Purpose  
  10.  
  11. ApplyportmirroringtooneormoretargetportsonanSSRortotrafficspecifiedbyan  
  12.  
  13. ACLprofile.  
  14.  
  15. Format  
  16.  
  17. portmirroringmonitor-porttarget-port|target-profilename> 
  18.  
  19. Mode  
  20.  
  21. Configure  
  22.  
  23. Description  
  24.  
  25. Theportmirroringcommandallowsyoutomonitorviaasingleporttheactivityofone  
  26.  
  27. ormoreportsonanSSRorthetrafficthatisspecifiedbyanACL.  
  28.  
  29. Parameters  
  30.  
  31. monitor-port  
  32.  
  33. Theportyouwillusetomonitoractivity.  
  34.  
  35. target-port  
  36.  
  37. Theport(s)forwhichyouwanttomonitoractivity.Youcanspecifyasingleportora  
  38.  
  39. comma-separatedlistofports.  
  40.  
  41. target-profile  
  42.  
  43. ThenameoftheACLthatspecifiestheprofileofthetrafficthatyouwantto  
  44.  
  45. monitor.TheACLmustbeapreviouslycreatedIPACL.TheACLmaycontain  
  46.  
  47. eitherpermitordenykeywords.Theportmirroringcommandonlylooksatthe  
  48.  
  49. followingACLruleparametervalues:protocol,sourceIPaddress,destinationIP  
  50.  
  51. address,sourceport,destinationport,andTOS. 

A port image is a classic vswitch configuration process. The above lists the port image configuration instances of several common vswitch brands and models, of course, you can read the following articles to learn about the most common configurations of Huawei and CISCO switches.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.