Answer

Mar 25, 2025 - 11:13 AM
To configure the Transient Capture Buffer (TCB) on a Cisco Nexus 3000 Series switch, follow these steps:
1. Access the switch's configuration mode by entering the command: `switch(config)# hardware profile packet-drop`
2. Configure the capture scope and entity based on the desired scope type:
- For Unicast scope: Use the command `source unicast-queue interface qos-group `
- For Ingress scope: Use the command `source ingress interface `
- For Egress scope: Use the command `source egress interface `
3. (Optional) Configure threshold profiles for monitoring:
- Use the command `hardware profile packet-drop profile ` to create a profile.
- Use the commands `start-threshold ` and `stop-threshold ` to set the start and stop thresholds for the profile.
- Use the command `interface qos-group ` to map the interface to the profile.
4. (Optional) Configure trigger events for capturing packets:
- Use the command `drop-trigger ` to specify the trigger event. Supported events are "egress-admission", "ingress-admission", and "wred".
5. (Optional) Configure sampling rates for capturing packets:
- Use the command `sampling-rate pre-trigger post-trigger ` to set the pre-trigger and post-trigger sampling rates.
6. (Optional) Configure timers for capturing packets:
- Use the command `timer ` to set the capture timer interval in microseconds.
7. (Optional) Configure capture counts for capturing packets:
- Use the command `count ` to set the minimum number of transactions to be captured after a drop.
8. Verify the TCB configurations using the command `show running-config ipqos`.
9. (Optional) Verify the packet drop information using the commands `show hardware profile packet-drop data`, `show hardware profile packet-drop event`, or `show hardware profile packet-drop status`.
10. (Optional) Clear the TCB information using the command `clear hardware profile packet-drop file_instance`.
Please note that these instructions are based on the Cisco Nexus 3000 Series NX-OS System Management User Guide. It is recommended to refer to the official documentation for more detailed information and specific configuration options.
Add New Comment