4-38
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter 4 Configuring Interfaces
Configuring CDP Mode
Use the show interfaces [clear | brief] command in EXEC mode to display statistics for all system
interfaces. Use the show interfaces {FastEthernet | GigabitEthernet | Management | PortChannel}
[slot/port] command to display statistics for specific interfaces.
The following options apply:
•
clear—(Optional) Clears the diagnostics.
•
brief—(Optional) Displays a summary of the usability status information for each interface.
•
FastEthernet—Displays statistics for FastEthernet interfaces.
•
GigabitEthernet—Displays statistics for GigabitEthernet interfaces.
•
Management—Displays statistics for Management interfaces.
Note
Only platforms with external ports marked Management support this keyword.
•
PortChannel—Displays statistics for PortChannel interfaces
•
slot/port—Displays statistics for the specific slot/port of the interface.
To display interface statistics, follow these steps:
Step 1
Log in to the CLI.
Step 2
Display statistics for all interfaces.
sensor# show interfaces
Interface Statistics
Total Packets Received = 0
Total Bytes Received = 0
Missed Packet Percentage = 0
Current Bypass Mode = Auto_off
MAC statistics from interface GigabitEthernet0/0
Statistics From Subinterface 12
Vlans in this group = 12
Total Packets Received On This Vlan Group = 0
Total Bytes Received On This Vlan Group = 0
Total Packets Transmitted On This Vlan Group = 0
Total Bytes Transmitted On This Vlan Group = 0
Statistics From Subinterface 16
Vlans in this group = 10
Total Packets Received On This Vlan Group = 0
Total Bytes Received On This Vlan Group = 0
Total Packets Transmitted On This Vlan Group = 0
Total Bytes Transmitted On This Vlan Group = 0
Statistics From Subinterface 25
Vlans in this group = 11
Total Packets Received On This Vlan Group = 0
Total Bytes Received On This Vlan Group = 0
Total Packets Transmitted On This Vlan Group = 0
Total Bytes Transmitted On This Vlan Group = 0
--MORE--
Step 3
Show a brief summary of the interfaces. The * indicates that the interface is the command and control
interface.
sensor# show interfaces brief
CC Interface Sensing State Link Inline Mode Pair Status
GigabitEthernet0/0 Disabled Down Unpaired N/A
* Management0/0 Disabled Up
GigabitEthernet0/1 Disabled Down Unpaired N/A