D-Link d-link manual Port Mirroring, Example #1 show monitor session, Example #2 show port all

Page 49

Port Mirroring 49

Port Mirroring

This section describes the Port Mirroring feature.

Overview

Port Mirroring:

zAllows you to monitor network traffic with an external network analyzer

zForwards a copy of each incoming and outgoing packet to a specific port

zIs used as a diagnostic tool, debugging feature or means of fending off attacks

zAssigns a specific port to copy all packets to

zAllows inbound or outbound packets to switch to their destination and to be copied to the mirrored port

CLI Examples

The following are examples of the commands used in the Port Mirroring feature.

Example #1: show monitor session

(Console)

 

#show monitor session 1

Session ID

Admin Mode

Probe Port

Mirrored Port

----------

----------

----------

-------------

1

Enable

0/5

0/4

NOTE: Monitor session ID “1” - “1” is a hardware limitation.

Example #2: show port all

(Console)

 

 

#show port all

 

 

Intf

Type

Admin

PhysicalPhysicalLink

Link

LACP

Mode

Mode

StatusStatus

Trap

Mode

----

----

------

---------------------- ----

----

0/1

 

Enable

Auto

Down

Enable

Enable

0/2

 

Enable

Auto

Down

Enable

Enable

0/3

Mirror

Enable

Auto

Down

Enable

Enable

0/4

Enable

Auto

Down

Enable

Enable

0/5

Probe

Enable

Auto

Down

Enable

Enable

0/6

 

Enable

Auto

Down

Enable

Enable

0/7

 

Enable

Auto

Down

Enable

Enable

0/8

 

Enable

Auto

Down

Enable

Enable

0/10

 

Enable

Auto

Down

Enable

Enable

Image 49
Contents Layer 2 Switch Page Table of Contents Using the Web Interface Traceroute Web User Guide Link DES-3226L Front View List of FiguresWeb User Guide Document Organization About This BookAudience Related DocumentationFeatures Link Offices for Registration and Warranty ServiceTrademarks Copyright Statement„ TCP „ MIB-II Safety Cautions Safety InstructionsProduct Overview Web User Guide General Precautions for Rack-Mountable Products Protecting Against Electrostatic Discharge Switch DescriptionSpecifications Description Technical SpecificationsPerformance Preparing the Site for Installation Installing the HardwareInstalling the D-Link DES-3226L Switch Setting up the Switch Unpacking the SwitchConnecting the Switch to a Power Supply Connecting Power Cable Installing on a Flat Surface Free-standing SwitchAttaching the Brackets Installing in a RackConfiguring for In-band Connectivity Starting and Configuring the SwitchSubnet Configuring for Out-Of-Band Connectivity Initial Configuration Starting the SwitchExample Session Initial Configuration ProcedureDram 64 MB LED LED IndicatorsWeb User Guide Upgrading the Switch Firmware Software InstallationQuick Starting the Networking Device System Information and System SetupCommand Mode Description Privileged Sets the IP address, subnet mask and gateway Systemimage or a configuration file nvramstartup-con Web User Guide Configuring for Web Access Using the Web InterfaceWeb Interface Panel-Example Web Page LayoutStarting the Web Interface Configuring an Snmp V3 User ProfileSave Command ButtonsOverview Igmp SnoopingCLI Examples Example #1 show igmpsnoopingWeb Examples Igmp Snooping Global Configuration and StatusIgmp Snooping Interface Configuration Web User Guide Considerations Configuration ScriptingExample #1 script Example #4 Creating a Configuration Script Example #3 script apply running-config.scrExample #2 script list and script delete Example #5 Upload a Configuration Script Example #6 script validate running-config.scrExample #7 Validate another Configuration Script Example #1 show monitor session Port MirroringExample #2 show port all Example #3 show port interface Example #5 Config monitor session 1 modeExample #4 show monitor session Specify the source ports and destination port Example #6 Config monitor session 1 source interfaceSystem Port Multiple Port Mirroring Persistent Log Files SyslogInterpreting Log Files Example #2 show logging persistent Example #1 show loggingExample #3 show logging traplogs Example #5 show logging hosts Example #4 logging port configurationFollowing web pages are used in the Syslog feature Traceroute Overview TracerouteCLI Example Web User Guide Virtual LANs Vlan Configuration ExampleCLI Examples Vlan example network diagramVirtual LANs Graphical User Interface Private Edge VLANsCLI Example CoS Queue Mapping Class of Service CoSTraffic-shape Traffic Shaping and Rate LimitingModes Rate-limitWeb Example CoS Interface ConfigurationLink Aggregation Example #1 Link Aggregation Configuration ExampleLink Aggregation Shows the example network Switching -- Link Aggregation -- Configuration Web User Guide Limited Warranty USA only Web User Guide Limited Warranty USA only Web User Guide Registration Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Italy India Brasil International OfficesWeb User Guide Shows the standard RJ-45 pin assignments Appendix a Cables and ConnectorsWeb User Guide Following tables show connector pinout information Appendix B Connector PinoutsWeb User Guide Following tables show maximum cable lengths and wavelengths Appendix C Cable Lengths and WavelengthsWeb User Guide
Related manuals
Manual 1 pages 56.33 Kb