Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-3-5-haiku-20241022· AnthropicHugging Face LMArena Human Preference 140K

can you create .yml file with labs for cisco cml?

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Mistralmagistral-medium-2506’s answer.
  1. User

    can you create .yml file with labs for cisco cml?

  2. Claude Assistant

    I'll help you create a YAML file for Cisco Modeling Labs (CML) that defines some typical network lab topologies. Here's an example YAML configuration:

    ---
    # Cisco Modeling Labs (CML) Lab Topology
    lab:
      name: Enterprise Network Lab
      description: Multi-site enterprise network topology with routers, switches, and firewalls
      version: 1.0
      
    nodes:
      - name: HQ-ROUTER
        type: cisco-router
        image: csr1000v-universalk9
        interfaces:
          - id: GigabitEthernet0/0
            label: WAN
          - id: GigabitEthernet0/1
            label: LAN
    
      - name: HQ-SWITCH
        type: cisco-switch
        image: catalyst-9300
        interfaces:
          - id: GigabitEthernet1/0/1
            label: Trunk
          - id: GigabitEthernet1/0/2
            label: Access
    
      - name: BRANCH-ROUTER
        type: cisco-router
        image: csr1000v-universalk9
        interfaces:
          - id: GigabitEthernet0/0
            label: WAN
          - id: GigabitEthernet0/1
            label: LAN
    
      - name: FIREWALL
        type: cisco-firewall
        image: ftdv
        interfaces:
          - id: GigabitEthernet0/0
            label: Outside
          - id: GigabitEthernet0/1
            label: Inside
    
    connections:
      - source: HQ-ROUTER:GigabitEthernet0/1
        destination: HQ-SWITCH:GigabitEthernet1/0/1
        
      - source: HQ-ROUTER:GigabitEthernet0/0
        destination: FIREWALL:GigabitEthernet0/0
    
      - source: BRANCH-ROUTER:GigabitEthernet0/0
        destination: FIREWALL:GigabitEthernet0/1
    
    network_settings:
      addressing_scheme: ipv4
      default_gateway: 192.168.1.1
      dns_servers:
        - 8.8.8.8
        - 1.1.1.1
    
    additional_config:
      routing_protocol: OSPF
      management_access: SSH
    

    This YAML file includes:

    1. Lab metadata (name, description, version)
    2. Network nodes with specific types and interfaces
    3. Connections between nodes
    4. Network settings
    5. Additional configuration details

    A few notes:

    • The node types and images should match what's available in your CML environment
    • You may need to adjust interface names and types based on your specific CML setup
    • This is a sample topology and should be customized to your specific network design requirements

    Would you like me to elaborate on any part of the YAML configuration or explain how it might be used in Cisco Modeling Labs?

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.