US Region

Grandmetric LLC
Lewes DE 19958
16192 Coastal Hwy USA
EIN: 98-1615498
+1 302 691 94 10

EMEA Region

ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43


Grandmetric LTD
Office 584b
182-184 High Street North
E6 2JA
+44 20 3321 5276

  • en
  • pl
  • Span port configuration

    Design & Configure

    Span port configuration

    We’re going to use a simplified network type in this configuration manual. I’ll show you how to set up a span port.

    Access the switch via Telnet. Though for security reasons it is recommended to use SSH connection.

    Log in to the switch enter enable mode, and then configure terminal.
    You’ll only need two commands to set up a SPAN port configuration. The first one is:

    Switch(config)#monitor session 1 source interface GigabitEthernet 0/1

    The GE0/1 is the port that will be monitored and is also the one via which the Internet is accessed.

    The second command is:

    Switch(config)#monitor session 1 destination interface GigabitEthernet 0/8

    The port GE0/8  is where the user device is connected.

    Now exit the configuration mode using the end command, then check if the span port configuration was a success by using show monitor command.

    Switch(config)#show monitor
    Session 1
    Type              : Local Session
    Source Ports      :
        Both          : Ge0/1
    Destination Ports : Ge0/8
        Encapsulation : Native
              Ingress : Disabled

    Such an output means that the configuration was successful. It is worth noting that Ingress is in a Disabled state. This means that the port on which the SPAN was configured will be used only for monitoring and will not receive any packets.

    Author: Jaroslaw Banakh