- Preface
- New and Changed Information
- Understanding the Carrier Packet Transport System
- Hardware
- Configuring Ethernet Virtual Circuit
- Configuring Multiprotocol Label Switching
- Configuring MPLS–Transport Profile
- Configuring Pseudowire
- Configuring Virtual Private LAN Services
- Configuring Quality of Service
- Configuring High Availability
- Configuring Resilient Ethernet Protocol
- Configuring Link Aggregation Group and Link Aggregation Control Protocol
- Configuring Span
- Configuring MAC Learning
- Configuring Multicast VLAN Registration
- Configuring IGMP Snooping
- Configuring Ethernet OAM, Connectivity Fault Management, and Y.1731
- Configuring Synchronous Ethernet
- Configuring Performance Monitoring, RMON, OTN, and Port Provisioning
- Configuring Local Authentication
- Configuring Cisco Discovery Protocol
- Alarm Troubleshooting
- SNMP
- CPT Error Messages
- Support for MSTP Cards
- Network Element Defaults
- Index
Configuring Span
This chapter describes port and EFP span. This chapter also describes procedures to configure port and EFP span.
- Understanding Span
- Limitations and Restrictions of Port and EFP Span in CPT
- NTP-J119 Configure a Span Using Cisco IOS Commands
- NTP-J118 Configure a Span Using CTC
Understanding Span
Span
Span is a technique of replicating the ingress or egress frames in a specific port to a specified list of destination ports. It is a monitoring feature used to monitor the traffic that is coming in and out of a port, channel group, or an Ethernet Flow Point (EFP). The monitored traffic can be used to debug the network and can also be used by law enforcement agencies.
The span can be configured to monitor ingress traffic, egress traffic, or both. The span source can be a physical port, channel group, or an EFP. The span destination can be a physical port or a channel group.
CPT supports two span modes:
- Port Span—In this configuration, the ingress or egress traffic on all the Ethernet Virtual Circuits (EVCs) in the source port or channel group is captured on the destination port or channel group. The pseudowire or tunnel port is not supported as a span destination.
- EFP Span—In this configuration, the ingress or egress traffic on the specified EFPs on a particular port or channel group is captured on the destination port or channel group. All types of services such as Multiprotocol Label Switching (MPLS), Virtual Private LAN Service (VPLS), Virtual Private Wire Service (VPWS), xconnect can be monitored. The pseudowire or tunnel port is not supported as a span destination.
Span Session
A span session is a collection of span source and destination ports, where traffic from each source port (based on their span direction) is replicated to the destination ports. Both the egress and ingress spans can be configured in a single session. A span destination port must not be a source of another span session. A span destination port cannot be shared among different sessions. CPT supports up to 50 span sessions.
Limitations and Restrictions of Port and EFP Span in CPT
- CPT supports only local span and not remote span. Therefore, the destination port or channel group can be any port or channel group on the same card or on different card on the same node.
- A port on the CPT 50 fanned out from a fabric card can be a destination span port only if the source span port is also on the same CPT 50.
- A span source port on a CPT 50 fanned out from a line card and a span destination port on another CPT 50 fanned out from another line card is not supported. If traffic is affected due to this issue, remove the span and reload the line card that has the fanout of the destination CPT 50 span.
- For egress span of the line card, only Ethernet Virtual Private LAN (EVPLAN) traffic is supported. The operations, administration, and maintenance (OAM) control traffic is not replicated.
- The span destination can only be a port or a channel group and not an EFP. The span source can be a port, channel group, or an EFP.
- If a channel group is selected as a destination port, the member ports of the channel group cannot be selected as destination ports.
- The egress span for the line card is supported only for point-to-multipoint traffic.
- The EFP, Resilient Ethernet Protocol (REP), Ethernet in the first mile (EFM) loopback, Link Aggregation Control Protocol (LACP), and Quality of Service (QoS) cannot be configured on the span destination port.
- For port span, two egress span destinations and three ingress span destinations for each card is supported.
- For EFP span, one egress span destination for each card is supported.
- For EFP span, three ingress span destinations for each card is supported. When you add the fourth destination port to the span, the traffic is not received on the three destination ports.
- The maximum egress span bandwidth traffic is 10 Gbps for each card; the maximum egress span bandwidth traffic for the line card is 16 Gbps for the CPT system.
- CPT can monitor up to 256 EFPs for each fabric card, line card (ingress), and CPT 50 panel.
- CPT can monitor up to 150 EFPs in the entire CPT system for line card egress span.
- If there are multiple source ports, the traffic sent by each source port is not equally shared on the destination port.
- If other services are available on a port, a service with default encap cannot be created on that port and vice-versa
- On MPLS-TP port, no service can be created.
- If QoS policy is attached to a port, span destination port cannot be configured on that.
- If the service is tagged, MVR cannot be enabled on that.
- If a port is MPLS-TP core port, span destination port cannot be configured on that.
- If a port is FOG port, span destination port cannot be configured on that.
- A port that has egress policy in the port-channel as a member-link cannot be associated.
NTP-J119 Configure a Span Using Cisco IOS Commands
Purpose | This procedure configures a span using Cisco IOS commands. |
Tools/Equipment | None |
Prerequisite Procedures | None |
Required/As Needed | As needed |
Onsite/Remote | Onsite or remote |
Security Level | Provisioning or higher |
Stop. You have completed this procedure. |
DLP-J359 Configure a Port Span Using Cisco IOS Commands
Purpose | This procedure configures a port span using Cisco IOS commands. |
Tools/Equipment | None |
Prerequisite Procedures | None |
Required/As Needed | As needed |
Onsite/Remote | Onsite or remote |
Security Level | Provisioning or higher |
Example: Configure a Port Span
The following example shows how to configure a port span using Cisco IOS commands:
Router> enable Router# configure terminal Router(config)# monitor session 3 type local Router(config-mon-local)# source interface TenGigabitEthernet 4/1 rx Router(config-mon-local)# destination interface TenGigabitEthernet 5/1 Router(config-mon-local)# exit
DLP-J360 Configure an EFP Span Using Cisco IOS Commands
Purpose | This procedure configures an EFP span using Cisco IOS commands. |
Tools/Equipment | None |
Prerequisite Procedures | None |
Required/As Needed | As needed |
Onsite/Remote | Onsite or remote |
Security Level | Provisioning or higher |
Example: Configure an EFP Span
The following example shows how to configure an EFP span for a channel group using Cisco IOS commands:
Router> enable Router# configure terminal Router(config)# interface port-channel 11 Router(config-if)# service instance 101 ethernet Router(config-if-srv)# encapsulation dot1q 13 Router(config-if-srv)# rewrite ingress tag push dot1q 20 symmetric Router(config-if-srv)# exit Router(config)# monitor session 3 type local Router(config-mon-local)# source service instance 2 - 200 Port-channel 1 both Router(config-mon-local)# destination interface TenGigabitEthernet 5/1 Router(config-mon-local)# end
DLP-J362 Restrict the Destination Ports for a Span Using Cisco IOS Commands
Purpose | This procedure enables you to restrict the destination ports that can be used for a span session using Cisco IOS commands. |
Tools/Equipment | None |
Prerequisite Procedures | None |
Required/As Needed | As needed |
Onsite/Remote | Onsite or remote |
Security Level | Provisioning or higher |
DLP-J361 Verify the Span Configuration Using Cisco IOS Commands
Purpose | This procedure verifies the span configuration using Cisco IOS commands. |
Tools/Equipment | None |
Prerequisite Procedures | None |
Required/As Needed | As needed |
Onsite/Remote | Onsite or remote |
Security Level | Provisioning or higher |
NTP-J118 Configure a Span Using CTC
Purpose | This procedure configures a span using CTC. |
Tools/Equipment | None |
Prerequisite Procedures | None |
Required/As Needed | As needed |
Onsite/Remote | Onsite or remote |
Security Level | Provisioning or higher |
Stop. You have completed this procedure. |
DLP-J357 Configure a Port or EFP Span Using CTC
Purpose | This procedure enables you to configure a port or EFP span using CTC. |
Tools/Equipment | None |
Prerequisite Procedures | DLP-J2 Create an EVC Circuit Using CTC |
Required/As Needed | As needed |
Onsite/Remote | Onsite or remote |
Security Level | Provisioning or higher |
![]() Note | The span destination can only be a port or a channel group and not an EFP. The span source can be a port, channel group, or an EFP. |
Step 1 | Complete the NTP-J22 Log into CTC procedure at a node where you want to configure a span. |
Step 2 | Right-click the fabric or line card and choose Open Packet Transport System View. The Packet Transport System View dialog box appears. |
Step 3 | Click the Provisioning > Span > Span tabs. |
Step 4 | Click Create. The Create Span dialog box appears. |
Step 5 | From the Span type drop-down list, choose Port or EFP. |
Step 6 | To set the port span type: |
Step 7 | To set the EFP span type: |
Step 8 | Click Add to create a port or EFP span. You can also edit or delete a port or EFP span from the Span tab. The span type cannot be changed while editing a span. |
Step 9 | Return to your originating procedure (NTP). |
DLP-J358 Restrict the Destination Ports for a Span Using CTC
Purpose | This procedure enables you to restrict the destination ports that can be used for a span session using CTC. |
Tools/Equipment | None |
Prerequisite Procedures | None |
Required/As Needed | As needed |
Onsite/Remote | Onsite or remote |
Security Level | Provisioning or higher |
![]() Note | Only the ports in the Permit List tab can be specified as a destination port while creating a span session. If the Permit List tab is empty, all the ports can be specified as destination ports for the span session except the source span ports. |
Step 1 | Complete the NTP-J22 Log into CTC procedure at a node where you want to restrict the destination ports for a span session. |
Step 2 | Right-click the fabric or line card and choose Open Packet Transport System View. The Packet Transport System View dialog box appears. |
Step 3 | Click the Provisioning > Span > Permit List tabs. |
Step 4 | Click Add. The Add Source dialog box appears. |
Step 5 | In the Add Source dialog box, choose Slot/Port or CHGRP as an interface type. |
Step 6 | (For Slot/Port interface type) From the Slot drop-down list, choose a slot. |
Step 7 | From the Available Ports/Available CHGRPS list, choose the required destination ports or channel groups and click the right arrow to move them to the Selected Ports/Selected CHGRPS list. |
Step 8 | Click OK to close the Add Source dialog box. The ports that can be specified as destination ports appear in the Permit List tab. |
Step 9 | Return to your originating procedure (NTP). |