Monitoring CBF Interfaces
You can set a statistics baseline for CBF interfaces using the baseline cbf interface command, and you can clear statistics with the clear cbf interface command. To display baselined statistics, use the delta keyword with CBF show commands.
Output Filtering
To include or exclude lines of output based on a text string that you specify, use the filtering feature of the show command. See show Commands in JUNOSe System Basics Configuration Guide, Chapter 2, Command-Line Interface, for details.
baseline cbf interface
- Use to establish a baseline for statistics associated with a CBF interface.
- The router implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- Use the delta keyword with CBF show commands to specify that baselined statistics are to be shown.
- Example
host1#baseline cbf interface 2/0There is no no version. clear cbf interface
host1#clear cbf interface 2/0There is no no version. show cbf connection
host1#show cbf connectionhssi 4/0 <--> hssi 4/1show cbf interface
- Lower interface type—Type of the lower interface in the interface column
- Administrative status—Interface is administratively enabled (Up), which means that the no cbf shutdown command is operational; interface is administratively disabled (Down), which means that the cbf shutdown command is operational
- Operational status—Operational status of the interface: up, down, not present, lower layer down, local status, path status
- Received bytes—Number of bytes received from the lower layer
- Received packets—Number of packets received and forwarded to the egress interface
- Receive discards—Number of packets discarded during receive
- Receive errors—Number of packet errors detected during receive
- Transmitted bytes—Number of bytes transmitted to the lower layer
- Transmitted packets—Number of packets forwarded from an ingress interface and transmitted
- Transmit discards—Number of packets discarded during transmit
- Transmit errors—Number of packet errors detected during transmit
host1#show cbf interfacehssi 4/0 is upLower interface type: SmdsAdministrative status: UpOperational status: Uphssi 4/1 is upLower interface type: SmdsAdministrative status: UpOperational status: UpExample 2 host1#show cbf interface fullhssi 4/0 is upLower interface type: SmdsAdministrative status: UpOperational status: UpStatistics:Received bytes: 0Received packets: 0Receive discards: 0Receive errors: 0Transmitted bytes: 0Transmitted packets: 0Transmit discards: 0Transmit errors: 0hssi 4/1 is upLower interface type: SmdsAdministrative status: UpOperational status: UpStatistics:Received bytes: 0Received packets: 0Receive discards: 0Receive errors: 0Transmitted bytes: 0Transmitted packets: 0Transmit discards: 0Transmit errors: 0