Suggested-Search-Strategies.mdโข15.7 kB
# Suggested Search Strategies
This guide provides practical search strategies for the Cisco Support MCP Server, based on real-world usage patterns and analysis. Use these examples to get the most effective results from the bug database.
## ๐ฏ Quick Start Strategies
### High-Severity Bug Search
**User Question**: *"What are the critical bugs affecting my ISR4431 router?"*
```bash
# Option 1: Technical ID (balanced specificity and coverage)
Tool: multi_severity_search
search_term: "ISR4431"
search_type: "keyword"
max_severity: 3
# Option 2: Full product series name (broader coverage, finds cross-platform issues)
Tool: multi_severity_search
search_term: "Cisco 4000 Series Integrated Services Routers"
search_type: "keyword"
max_severity: 3
# Option 3: Short model number (fastest search, may include false positives)
Tool: multi_severity_search
search_term: "4431"
search_type: "keyword"
max_severity: 3
```
**When to Use Each Option**:
- **Option 1** (`ISR4431`): Best balance of specificity and coverage
- **Option 2** (`Cisco 4000 Series...`): Broadest coverage, finds cross-platform issues
- **Option 3** (`4431`): Fastest search, may include false positives from other product lines
### Product-Specific Investigation
```bash
# When you have exact product model
Tool: progressive_bug_search
primary_search_term: "ISR4431/K9"
severity_range: "high"
status: "O"
```
### Product Series Search (Supports Full Names!)
```bash
# Example 1: Using full product series name with version (Cisco API format - no leading zeros)
Tool: search_bugs_by_product_series_affected
product_series: "Cisco 4000 Series Integrated Services Routers"
affected_releases: "17.9.6"
# Example 2: Cisco Unified Communications Manager
Tool: search_bugs_by_product_series_affected
product_series: "Cisco Unified Communications Manager (CallManager)"
affected_releases: "12.5"
```
### Software Version Analysis
```bash
# For version-specific issues
Tool: comprehensive_analysis
product_identifier: "ISR4431"
software_version: "17.09.06"
analysis_focus: "comprehensive"
```
## ๐ Search Strategy by Use Case
### 1. Incident Response
**Scenario**: Production system experiencing issues
```bash
# Step 1: Get search strategy
Tool: smart_search_strategy
query_description: "ISR4431 memory leak high CPU 17.09.06"
search_context: "incident"
# Step 2: Execute comprehensive search
Tool: comprehensive_analysis
product_identifier: "ISR4431"
software_version: "17.09.06"
analysis_focus: "incident_response"
```
**Expected Results**:
- Product resolved to "Cisco 4431 Integrated Services Router"
- Multi-severity bug search results
- Web search queries for official Cisco documentation
- Immediate action recommendations
### 2. Upgrade Planning
**Scenario**: Planning software upgrade from 17.09.06 to 17.12.1
```bash
# Step 1: Analyze current version
Tool: progressive_bug_search
primary_search_term: "17.09.06"
severity_range: "high"
# Step 2: Check target version
Tool: multi_severity_search
search_term: "17.12.1"
search_type: "keyword"
max_severity: 3
# Step 3: Get lifecycle info
Tool: comprehensive_analysis
product_identifier: "ISR4431"
software_version: "17.09.06"
analysis_focus: "upgrade_planning"
```
### 3. Security Review
**Scenario**: Monthly security assessment
```bash
# Search for security-related bugs
Tool: multi_severity_search
search_term: "security CVE authentication"
search_type: "keyword"
max_severity: 2
# Product-specific security analysis
Tool: comprehensive_analysis
product_identifier: "ISR4431"
analysis_focus: "security"
```
### 4. End-of-Life Research
**Scenario**: Planning hardware refresh
```bash
# Get product information and lifecycle status
Tool: product_name_resolver
product_id: "ISR4431/K9"
include_search_strategies: true
# Comprehensive lifecycle analysis
Tool: comprehensive_analysis
product_identifier: "ISR4431/K9"
software_version: "17.09.06"
analysis_focus: "lifecycle"
```
## ๐ Search Patterns by Product Type
### ISR (Integrated Services Routers)
**Product Variations to Try**:
- `ISR4431/K9` โ `ISR4431` โ `ISR4400` โ `ISR`
**Effective Searches**:
```bash
# Memory issues
Tool: progressive_bug_search
primary_search_term: "ISR4400 memory"
severity_range: "medium"
# Performance problems
Tool: multi_severity_search
search_term: "ISR high CPU utilization"
search_type: "keyword"
max_severity: 3
```
### Catalyst Switches
**Product Variations**:
- `WS-C2960-24TC-L` โ `C2960` โ `Catalyst 2960`
**Effective Searches**:
```bash
# Switching issues
Tool: progressive_bug_search
primary_search_term: "Catalyst 2960 spanning tree"
severity_range: "high"
# Stack problems
Tool: multi_severity_search
search_term: "stack master election"
search_type: "keyword"
max_severity: 3
```
### ASR (Aggregation Services Routers)
**Product Variations**:
- `ASR1001-X` โ `ASR1000` โ `ASR`
**Effective Searches**:
```bash
# Interface issues
Tool: progressive_bug_search
primary_search_term: "ASR1000 interface flap"
severity_range: "high"
# BGP problems
Tool: multi_severity_search
search_term: "ASR BGP neighbor down"
search_type: "keyword"
max_severity: 3
```
### Unified Communications Manager
**Product Variations**:
- `Cisco Unified Communications Manager` โ `CallManager` โ `CUCM`
**Effective Searches**:
```bash
# Call quality issues
Tool: progressive_bug_search
primary_search_term: "CallManager call drop"
severity_range: "high"
# Database problems
Tool: multi_severity_search
search_term: "CUCM database replication"
search_type: "keyword"
max_severity: 3
```
## ๐ง Advanced Search Techniques
### 1. Version Normalization Strategy
When searching by software version, the system automatically tries:
- Full version: `17.09.06`
- Short version: `17.09`
- Major version: `17`
**Manual approach**:
```bash
# Try each variation explicitly
Tool: search_bugs_by_keyword
keyword: "17.09.06"
severity: "2"
Tool: search_bugs_by_keyword
keyword: "17.09"
severity: "2"
Tool: search_bugs_by_keyword
keyword: "17"
severity: "2"
```
### 2. Multi-Severity Parallel Search
Since Cisco API only accepts single severity values:
**Instead of**: `severity: "1,2,3"` โ
**Use**:
```bash
Tool: multi_severity_search
search_term: "memory leak"
search_type: "keyword"
max_severity: 3 # Searches severity 1, 2, 3 in parallel
```
### 3. Progressive Product Search
Start specific, then broaden:
```bash
# 1. Exact model (most specific)
Tool: search_bugs_by_product_id
base_pid: "ISR4431/K9"
# 2. Model without suffix
Tool: search_bugs_by_product_id
base_pid: "ISR4431"
# 3. Product series
Tool: search_bugs_by_keyword
keyword: "ISR4400"
# 4. Product family
Tool: search_bugs_by_keyword
keyword: "ISR"
```
## ๐ Web Search Integration
### Resolving Product Names
```bash
Tool: product_name_resolver
product_id: "ISR4431/K9"
```
**Result**: `Cisco 4431 Integrated Services Router`
**Official URL**: `https://www.cisco.com/c/en/us/support/routers/4431-integrated-services-router-isr/model.html`
### Lifecycle Research Queries
The system generates specific web search queries:
- `"ISR4431/K9" end of life site:cisco.com`
- `"17.09.06" end of support site:cisco.com`
- `"ISR4431" replacement migration site:cisco.com`
### Security Research Queries
- `"ISR4431" security advisories site:cisco.com`
- `"17.09.06" CVE vulnerability site:cisco.com`
- `"ISR4431" field notices site:cisco.com`
## ๐ Search Effectiveness Tips
### โ
Most Effective Approaches
1. **Start with comprehensive analysis** for unknown situations
2. **Use progressive search** when exact searches fail
3. **Try multiple severity levels** for critical issues
4. **Combine product ID and keyword searches**
5. **Include version numbers** in searches when available
6. **Use full product names over technical IDs** for broader coverage
#### **Product Name vs. Product ID Example**
**โ Less Effective**:
```bash
# Using technical product ID
Tool: search_bugs_by_keyword
keyword: "ISR4431/K9 17.09.06"
```
**โ
More Effective**:
```bash
# Using full product name (resolved automatically by product_name_resolver)
Tool: search_bugs_by_keyword
keyword: "Cisco 4431 Integrated Services Router 17.09.06"
```
**Why This Works Better**:
- Technical IDs (`ISR4431/K9`) are often too specific for bug database searches
- Full product names (`Cisco 4431 Integrated Services Router`) match more bug reports
- Bug descriptions typically use marketing names, not part numbers
- Cisco engineers write bugs using product names customers recognize
- Broader terminology captures related products in the same series
**Best Practice**: Use the correct tool for your product identifier:
**Option 1 - Product Series Search (Recommended for full names)**:
```bash
# Direct product series search with full name and version
# IMPORTANT: Use Cisco API version format (17.9.6 not 17.09.06)
Tool: search_bugs_by_product_series_affected
product_series: "Cisco 4000 Series Integrated Services Routers"
affected_releases: "17.9.6"
```
**Option 2 - Automated Resolution**:
```bash
# Step 1: Resolve the technical ID
Tool: product_name_resolver
product_id: "ISR4431/K9"
# Step 2: Use the resolved name for searching
Tool: search_bugs_by_keyword
keyword: "Cisco 4431 Integrated Services Router 17.09.06"
```
**Option 3 - Comprehensive Analysis (Best for complex scenarios)**:
```bash
# Automatically handles product resolution and multiple search strategies
Tool: comprehensive_analysis
product_identifier: "ISR4431/K9"
software_version: "17.09.06"
```
**Key Insight**: The query "Search for bugs affecting Cisco 4431 Integrated Services Router running 17.09.06" will typically return **more relevant results** than "Search for bugs affecting Cisco ISR4431/K9 running 17.09.06" because:
1. **Product Series Endpoint**: The Cisco Bug API accepts full product series names like "Cisco 4000 Series Integrated Services Routers" in the `product_series` endpoint
2. **Bug report authors** use product marketing names, not part numbers
3. **Internal Cisco systems** often reference products by their commercial names
4. **Customer-facing documentation** uses full product names for clarity
5. **Related product coverage** - searches capture entire product family variations
6. **Cross-platform issues** affecting multiple models in the same series
**API Discovery**: The endpoint `https://apix.cisco.com/bug/v2.0/bugs/product_series/Cisco 4000 Series Integrated Services Routers/affected_releases/17.9.6` works perfectly, confirming that:
1. Full product series names are accepted by the API
2. **CRITICAL**: Version format must NOT have leading zeros (`17.9.6` โ
works, `17.09.06` โ returns no results)
### โ Less Effective Patterns
1. **Too specific initial searches** (start broader)
2. **Single severity only** (miss important bugs)
3. **Exact version strings only** (try abbreviated versions)
4. **Product names without variations** (try multiple formats)
5. **Status filters too restrictive** (check both open and fixed)
## ๐ Smart Search Workflow
### Complete Investigation Process
```bash
# 1. Get strategy recommendations
Tool: smart_search_strategy
query_description: "ISR4431 17.09.06 memory issues production"
search_context: "incident"
# 2. Execute comprehensive analysis
Tool: comprehensive_analysis
product_identifier: "ISR4431"
software_version: "17.09.06"
analysis_focus: "incident_response"
include_web_search_guidance: true
# 3. Follow up with specific searches based on results
Tool: multi_severity_search
search_term: "memory leak repm process"
search_type: "keyword"
max_severity: 3
```
### Results Analysis
1. **Review bug analysis** for immediate issues
2. **Check product resolution** for official documentation
3. **Use web search guidance** for additional research
4. **Follow recommendations** for next steps
## ๐ฏ Real-World Examples
### Example 1: Product Name vs. Technical ID Effectiveness
**Scenario**: Searching for bugs affecting ISR4431 router running version 17.09.06
**โ Less Effective Search**:
```bash
# Using technical product ID - often too specific
Tool: search_bugs_by_keyword
keyword: "ISR4431/K9 17.09.06"
```
**Result**: Limited results because bug descriptions rarely use exact part numbers
**โ
More Effective Search**:
```bash
# Using resolved full product name - broader coverage
Tool: search_bugs_by_keyword
keyword: "Cisco 4431 Integrated Services Router 17.09.06"
```
**Result**: Better coverage because bug reports use marketing product names
**๐ Best Approach - Automated Resolution**:
```bash
Tool: comprehensive_analysis
product_identifier: "ISR4431/K9"
software_version: "17.09.06"
analysis_focus: "incident_response"
```
**Result**: Automatically resolves `ISR4431/K9` โ `Cisco 4431 Integrated Services Router` and searches optimally
### Example 2: ISR4431 Memory Issue Deep Dive
**Query**: "ISR4431 17.09.06 memory constantly increasing"
**Optimal Strategy**:
```bash
Tool: comprehensive_analysis
product_identifier: "ISR4431"
software_version: "17.09.06"
analysis_focus: "incident_response"
```
**Expected Results**:
- Bug CSCwp03948: Memory usage constantly increasing on repm process
- Product: Cisco 4431 Integrated Services Router
- Status: Open, Severity 2
- Platforms: Multiple including ISR4400 series
- Web searches for end-of-life status and migration options
### Example 3: Catalyst Switch Stack Issues
**Query**: "Catalyst 2960 stack master election problems"
**Optimal Strategy**:
```bash
Tool: progressive_bug_search
primary_search_term: "Catalyst 2960 stack"
severity_range: "high"
status: "O"
```
### Example 4: Security Vulnerability Assessment
**Query**: "ISR4431 security vulnerabilities current version"
**Optimal Strategy**:
```bash
Tool: multi_severity_search
search_term: "ISR4431 security CVE"
search_type: "keyword"
max_severity: 2
Tool: comprehensive_analysis
product_identifier: "ISR4431"
analysis_focus: "security"
```
## ๐ Iterative Search Strategy
### When Initial Search Returns No Results
1. **Broaden product terms**: `ISR4431` โ `ISR4400` โ `ISR`
2. **Shorten version strings**: `17.09.06` โ `17.09` โ `17`
3. **Increase severity range**: `1-2` โ `1-3` โ `1-4`
4. **Remove status filters**: Try both open and fixed bugs
5. **Use keyword search**: Switch from product ID to general keywords
### When Too Many Results
1. **Add version filter**: Include specific software version
2. **Restrict severity**: Focus on higher severities (1-2)
3. **Add status filter**: Open bugs only for current issues
4. **Use product-specific tools**: Switch from keyword to product ID search
5. **Add symptom keywords**: Include specific error messages
## ๐ Best Practices Summary
### For Incident Response
- Use `comprehensive_analysis` with `incident_response` focus
- Include specific error messages or symptoms
- Check both current version bugs and upgrade paths
- Review web search guidance for official workarounds
### For Maintenance Planning
- Use `progressive_bug_search` for broad coverage
- Focus on fixed bugs in target versions
- Check lifecycle status with web search queries
- Plan multiple severity levels of issues
### For Security Reviews
- Use `multi_severity_search` with security keywords
- Focus on severities 1-2 for critical vulnerabilities
- Include CVE, authentication, DoS in search terms
- Follow up with official Cisco security advisories
### For Product Research
- Start with `product_name_resolver` for official information
- Use `comprehensive_analysis` for complete overview
- Include both hardware and software version details
- Leverage web search strategies for additional context
This comprehensive approach ensures you get the most relevant and actionable information from the Cisco Support MCP Server.