Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Configuration Guide for the S4048–ON System 9.14.2.6

PDF

Configuring Port Monitoring

To configure port monitoring, use the following commands.

  1. Verify that the intended monitoring port has no configuration other than no shutdown, as shown in the following example.
    EXEC Privilege mode
    show interface
  2. Create a monitoring session using the command monitor session from CONFIGURATION mode, as shown in the following example.
    CONFIGURATION mode
    monitor session
    monitor session type rpm/erpm
    type is an optional keyword, required only for rpm and erpm
  3. Specify the source and destination port and direction of traffic, as shown in the following example.
    MONITOR SESSION mode
    source

Example of Viewing Port Monitoring Configuration

To display information on currently configured port-monitoring sessions, use the show monitor session command from EXEC Privilege mode.
DellEMC(conf)#monitor session 0
DellEMC(conf-mon-sess-0)#$source te 1/1 dest te 1/2 dir rx
DellEMC(conf-mon-sess-0)#show c
!
monitor session 0
 source TenGigabitEthernet 1/1 destination TenGigabitEthernet 1/2 direction rx
DellEMC(conf-mon-sess-0)#
DellEMC(conf-mon-sess-0)#do show monitor session
  SessID  Source    Destination    Dir  Mode   Source IP    Dest IP    DSCP  TTL   Drop  Rate    Gre-Protocol FcMonitor
  ------  ------    ------------   ---  ----   ---------    --------   ----  ---   ----  ----    -----------  ---------
     0   Te 1/1       Te 1/2       rx   Port   0.0.0.0      0.0.0.0     0     0    No    N/A        N/A        No
	 
DellEMC(conf)#monitor session 0
DellEMC(conf-mon-sess-0)#source po 10 dest ten 1/2 dir rx
DellEMC(conf-mon-sess-0)#do show monitor session
  SessID  Source   Destination     Dir  Mode   Source IP    Dest IP    DSCP  TTL   Drop  Rate    Gre-Protocol FcMonitor
  ------  ------   -----------     ---  ----   ---------    --------   ----  ---   ----  ----    -----------  ---------
     0   Te 1/1       Te 1/2        rx   Port  0.0.0.0      0.0.0.0     0     0    No    N/A        N/A        No
     0   Po 10        Te 1/2        rx   Port  0.0.0.0      0.0.0.0     0     0    No    N/A        N/A        No

DellEMC(conf)#monitor session 1
DellEMC(conf-mon-sess-1)#source vl 40 dest ten 1/3 dir rx
DellEMC(conf-mon-sess-1)#flow-based enable
DellEMC(conf-mon-sess-1)#exit
DellEMC(conf)#do show monitor session
  SessID  Source   Destination   Dir  Mode   Source IP    Dest IP    DSCP  TTL   Drop  Rate    Gre-Protocol FcMonitor
  ------  ------   -----------   ---  ----   ---------    --------   ----  ---   ----  ----    -----------  ---------
     0   Te 1/1      Te 1/2       rx   Port  0.0.0.0      0.0.0.0     0     0    No    N/A        N/A        No
     0   Po 10       Te 1/2       rx   Port  0.0.0.0      0.0.0.0     0     0    No    N/A        N/A        No
     1   Vl 40       Te 1/3       rx   Flow  0.0.0.0      0.0.0.0     0     0    No    N/A        N/A        No

NOTE Source as VLAN is achieved via Flow based mirroring. Please refer section Enabling Flow-Based Monitoring.

In the following example, the host and server are exchanging traffic which passes through the uplink interface 1/1. Port 1/1 is the monitored port and port 1/42 is the destination port, which is configured to only monitor traffic received on tengigabitethernet 1/1 (host-originated traffic).

Figure 1. Port Monitoring ExamplePort Monitoring Example

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\