Show Commands

Note:

The following command outputs are examples only; actual displays may differ depending on supported functionality and user configuration.

debug

Syntax

debug [application]

Context

show

Description

This command displays set debug points.

Parameters

application

display which debug points have been set for the specified application

Values

atm, bgp, cisco-hdlc, cmpv2, diameter, ethernet, filter, frame-relay, igmp, ip, ipsec, isis, lag, ldp, local-dhcp-server, mcast-management, mirror, mld, mpls, mtrace, oam, ocsp, open-flow, ospf, ospf3, pim, ppp, radius, radius-proxy, rip, rsvp, service, snmp, subscriber-mgmt, system, vrrp, wlan-gw

mirror

Syntax

mirror mirror-dest service-id

Context

show

Description

This command displays information about mirror services.

Parameters

service-id

identifies the service in the service domain

Values

service-id:

1 to 2147483690 or svc-name

Output

The following output is an example of mirror services information, and Table: Mirror Field Descriptions describes the fields.

Output Example
A:7705:Dut-B# show mirror mirror-dest 100  
===============================================================================
Mirror Service   
===============================================================================
Service Id       : 100                  Type          : Ether
Description      : 100
Admin State      : Up                   Oper State    : Up
Forwarding Class : be                   Remote Sources: Yes
Slice            : 0
Destination SAP  : 1/1/2:100.150        Egr QoS Policy: 3
===============================================================================
Mirror Services SDP   
===============================================================================
SdpId       IP Addr         CfgLabel    Signal    EgrLabel      
-------------------------------------------------------------------------------
No Matching Entries      
===============================================================================
-------------------------------------------------------------------------------
Remote Sources      
-------------------------------------------------------------------------------
Far End          : 1.1.1.1              Ingress Label : 131067
ICB              : false                Vc-Id         : 4294967295
Far End          : 3.3.3.3              Ingress Label : 131066
ICB              : false                Vc-Id         : 4294967294
-------------------------------------------------------------------------------
Local Sources      
-------------------------------------------------------------------------------
Admin State      : Up                  
-Port                                   1/1/2                           Egr Ing
===============================================================================
A:7705:Dut-B#  
Table: Mirror Field Descriptions

Label

Description

Service Id

The unique ID for the mirror service

Type

The encapsulation type

Description

The mirror service description

Admin State

Down — the service is administratively disabled

Up — the service is administratively enabled

Oper State

The operational status of the service (up or down)

Forwarding Class

The forwarding class for all packets transmitted to the mirror destination

Remote Sources

Yes — a remote source is configured

No — a remote source is not configured

Slice

The mirrored frame slice size

Destination SAP

The destination to which mirrored packets are sent

Egr Qos Policy

The egress QoS policy ID. A value of 0 indicates that no QoS policy is specified.

SdpId

The SDP configured to the remote node of the mirror destination

IP Addr

The mirror destination node IP address

CfgLabel

The statically configured egress vc label

Signal

The type of signaling used

EgrLabel

The egress label used

Far End

The IP address of the mirror source node

ICB

true — ICB is enabled

false — ICB is disabled

Ingress Label

The ingress vc label used

Vc-Id

The virtual circuit ID of the remote source

Local Sources

The details of the source ports configured on the mirror source

pcap

Syntax

pcap [session-name] [detail]

Context

show

Description

This command shows information about the packet capture session and confirms whether the packet is reliable.

Parameters

session-name

the session name

Output

The following output is an example of packet capture session information, and Table: PCAP Session Field Descriptions describes the fields.

Output Example
*A:7705:Dut-A>show pcap "pcap_1" detail 
===============================================================================
Pcap Session "pcap_1" Information
===============================================================================
Application Type   : mirror-dest        Session State   : ready
Capture            : stop               Last Changed    : 02/06/2018 19:52:07
Capture Count      : 250                Received packets: 0
Packets contiguous : true 
Capture File Url   : ftp://*:*@192.x.x.x/pcap.pcap

Buffer Size        : 0 Bytes            File Size       : 0 Bytes
Write Failures     : 0                  Read Failures   : 0
Proc Time Bailouts : 0                  Last File Write : 02/06/2018 19:52:07
Dropped Packets    : 0 Packets          
===============================================================================
Table: PCAP Session Field Descriptions

Label

Description

Application Type

The application type

Session State

The state of the PCAP session:

failed — Packet capture has failed on the PCAP session

init — The PCAP session is initializing

ready — The PCAP session is ready for capture

start — The PCAP session is in the start state waiting to commence capture

in-progress — Packet capture is in progress on the PCAP session

stopped — Packet capture has stopped on the PCAP session

file-error — The are issues performing file operation on the PCAP session

buffer-full — The PCAP session is running out of memory on its packet capture buffer

buffer-high-watermark — The PCAP session is reaching the operating buffer limit on the packet capture buffer. This may trigger a write to file operation.

Capture

The capture state: start or stop

Last Changed

The timestamp of the last change to the capture state

Capture Count

The number of packets to be captured in the PCAP file during the PCAP session

Received packets

The number of packets captured from the mirror source

Packets contiguous

Indicates whether packets were contiguous or dropped packets were detected:

True: packets were contiguous

False: dropped packets were detected

Capture File Url

The file URL for the FTP server, including the filename for packet capture transfer

Buffer Size

The total buffer size, in bytes, currently in use by the PCAP session

File Size

The current size of the capture file

Write Failures

The number of errors that occurred when packets were written into the buffer. A number greater than 0 indicates that some packets were not captured.

Read Failures

The number of errors that occurred when packets were read from the buffer for exporting to FTP. A number greater than 0 indicates that some packets were not captured.

Proc Time Bailouts

Number of packets not captured due to a system process timeout

Dropped Packets

The number of packets dropped from the buffer due to errors

Last File Write

The timestamp of the last write to file