|
Разработка Датасетов для тренинга локальной модели ИИ Qwen.
Для тренингов локальных моделей ИИ (установленных на изолированных от Интернет серверах) необходимо 2000-3000 примеров (примеров). Если у вас нет подготовленного Dataset, то такие примеры можно сгенерировать с помощью другой, более продвинутой, модели ИИ.
Для этого надо написать грамотный Prompt. С помощью промпта в несколько сессий можно подготовить наборы примеров в JSON формате для тренировок ИИ.
Рассмотрим пример генерирования Dataset для тренинга AI Qwen, установленного на достаточно бюджетном сервере HP Gen 9 с двумя процессорами (2x12 ядер), 64 Гбайт памяти и видеокартой с 16 Гбайт видеопамяти.
ИИ Qwen выберем в компакной конфигурации и с низким квантованием. Такой ИИ займет примерно 7 Гбайт видеопамяти.
Пример Промпта >>
Dataset Development (Удаленная работа)
Удаленная работа >>
AI Qwen Dataset 1
Сгенерированный Dataset для "Начни генерацию с категории "ROUTING_LOOPS (Петли маршрутизации) - `ECMP_LOOP`: Равные маршруты через разные next-hop" и создай 20 JSON примеров."
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 192.168.1.0/24 is directly connected, GigabitEthernet0/0\nS 10.1.1.0/24 [1/0] via 192.168.1.2\nS 10.1.1.0/24 [1/0] via 192.168.1.3\n\nQuestion: Does this routing table contain a routing loop?"}, {"role": "assistant", "content": "\n1. Observation: The table shows two static routes to 10.1.1.0/24 with identical Administrative Distance (1) and metric (0) via next-hops 192.168.1.2 and 192.168.1.3.\n2. Analysis: Having multiple equal-cost static routes to the same destination via different next-hops on the same subnet indicates a cross-static route misconfiguration. In a real topology, these next-hops likely point to each other for this prefix, creating a routing loop.\n3. Context: Traffic destined for 10.1.1.0/24 will be load-balanced between two routers that are likely bouncing the traffic back and forth, leading to packet drops and high CPU utilization.\n4. Recommendation: Identify the correct next-hop for 10.1.1.0/24 and remove the redundant or incorrect static route.\n\n\nCRITICAL: A routing loop is detected due to cross-static route misconfiguration. Two equal-cost static routes to 10.1.1.0/24 exist via next-hops 192.168.1.2 and 192.168.1.3. Remove the incorrect static route to resolve the ECMP loop.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 10.0.0.0/24 is directly connected, GigabitEthernet0/0\nC 10.0.1.0/24 is directly connected, GigabitEthernet0/1\nO 172.16.5.0/24 [110/20] via 10.0.0.2, 00:05:12, GigabitEthernet0/0\nO 172.16.5.0/24 [110/20] via 10.0.1.2, 00:05:12, GigabitEthernet0/1\n\nQuestion: Identify any load balancing issues or routing loops."}, {"role": "assistant", "content": "\n1. Observation: There are two OSPF routes to 172.16.5.0/24 with identical AD (110) and metric (20) via 10.0.0.2 and 10.0.1.2.\n2. Analysis: While this looks like standard ECMP, the next-hops belong to different directly connected subnets (10.0.0.0/24 and 10.0.1.0/24). If these next-hops are actually the same physical router (e.g., a multilayer switch) or if the topology forms a triangle without proper split-horizon, this ECMP setup can cause asymmetric routing or a micro-loop during convergence.\n3. Context: Without verifying the physical topology, identical OSPF metrics via different layer 3 interfaces often indicate a misconfigured ECMP where traffic might be sent to a next-hop that routes it back, or it indicates a suboptimal path if one link is significantly slower but has the same OSPF cost.\n4. Recommendation: Verify the physical topology and OSPF costs. Ensure both paths are truly distinct and loop-free. Adjust OSPF reference bandwidth if link speeds differ.\n\n\nWARNING: Potential ECMP misconfiguration detected. Two OSPF routes to 172.16.5.0/24 have identical metrics via different subnets. Verify physical topology to ensure this does not create a routing loop or asymmetric path.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 10.1.1.0/24 is directly connected, GigabitEthernet0/0\nC 10.2.2.0/24 is directly connected, GigabitEthernet0/1\nC 10.3.3.0/24 is directly connected, GigabitEthernet0/2\nS 192.168.10.0/24 [1/0] via 10.1.1.2\nS 192.168.10.0/24 [1/0] via 10.2.2.2\nS 192.168.10.0/24 [1/0] via 10.3.3.2\nO 10.10.10.0/24 [110/5] via 10.1.1.2\nB 172.16.0.0/16 [20/0] via 10.2.2.2\n\nQuestion: Analyze this routing table for ECMP misconfigurations."}, {"role": "assistant", "content": "\n1. Observation: The table contains three static routes to 192.168.10.0/24, all with AD 1 and metric 0, pointing to next-hops 10.1.1.2, 10.2.2.2, and 10.3.3.2.\n2. Analysis: This is a classic cross-static route loop scenario. Having three equal-cost static routes to the same subnet via three different next-hops strongly suggests that these routers are mutually pointing to each other for this prefix, or they are part of a ring topology without a proper routing protocol to break the loop.\n3. Context: Traffic will be distributed across three paths that likely do not lead to the actual destination, resulting in a severe routing loop, blackholing, or TTL expiration.\n4. Recommendation: Remove the redundant static routes. Use a dynamic routing protocol (like OSPF or EIGRP) to properly calculate loop-free paths, or identify the single correct next-hop for 192.168.10.0/24.\n\n\nCRITICAL: Severe ECMP loop detected. Three identical static routes to 192.168.10.0/24 exist via 10.1.1.2, 10.2.2.2, and 10.3.3.2. This indicates a cross-static misconfiguration. Consolidate to a single correct next-hop or migrate to a dynamic routing protocol.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 192.168.0.0/24 is directly connected, Vlan10\nD 10.50.0.0/16 [90/30720] via 192.168.0.1, 00:12:45, Vlan10\nD 10.50.0.0/16 [90/30720] via 192.168.0.5, 00:12:45, Vlan10\n\nQuestion: Are there any routing loops in this table?"}, {"role": "assistant", "content": "\n1. Observation: Two EIGRP routes to 10.50.0.0/16 are present with identical AD (90) and metric (30720) via next-hops 192.168.0.1 and 192.168.0.5 on the same VLAN.\n2. Analysis: While EIGRP supports unequal cost load balancing, identical metrics via two next-hops on the same broadcast domain is highly suspicious. It often indicates a Layer 2 loop or two routers on the same VLAN that are redundantly configured but actually pointing back to each other for this prefix.\n3. Context: If 192.168.0.1 and 192.168.0.5 are HSRP/VRRP peers or simply two routers in a loop, traffic will bounce between them. Even if they are distinct, having two active EIGRP paths on the same subnet without proper split-horizon can cause routing instability.\n4. Recommendation: Verify the EIGRP topology. Ensure that 192.168.0.1 and 192.168.0.5 are not forming a loop for 10.50.0.0/16. Check for Layer 2 loops on Vlan10.\n\n\nCRITICAL: Potential routing loop detected. Two EIGRP routes to 10.50.0.0/16 with identical metrics via next-hops on the same VLAN (192.168.0.1 and 192.168.0.5). Investigate for Layer 2 loops or cross-router EIGRP misconfiguration.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 172.16.1.0/24 is directly connected, GigabitEthernet0/0\nC 172.16.2.0/24 is directly connected, GigabitEthernet0/1\nS 10.100.1.0/24 [1/0] via 172.16.1.2\nS 10.100.1.0/24 [1/0] via 172.16.2.2\nS 10.200.0.0/16 [1/0] via 172.16.1.2\nO 192.168.5.0/24 [110/10] via 172.16.2.2\n\nQuestion: Does this routing table have any routing inconsistencies?"}, {"role": "assistant", "content": "\n1. Observation: There are two static routes to 10.100.1.0/24 with AD 1 and metric 0 via 172.16.1.2 and 172.16.2.2.\n2. Analysis: This is an ECMP static route configuration. However, the next-hops are on different subnets (172.16.1.0/24 and 172.16.2.0/24). If these two next-hops are actually the same physical device (e.g., a router with multiple interfaces in different VLANs), this creates a false ECMP. If they are different devices, they must both have a valid, loop-free path to 10.100.1.0/24.\n3. Context: Without topology context, this looks like a cross-static loop risk. If 172.16.1.2 and 172.16.2.2 point back to this router for 10.100.1.0/24, a loop is formed. The inconsistency lies in using ECMP across different broadcast domains without a dynamic protocol to verify reachability.\n4. Recommendation: Verify that both 172.16.1.2 and 172.16.2.2 have independent, loop-free paths to 10.100.1.0/24. If they are the same device, remove one static route.\n\n\nWARNING: Routing inconsistency detected. ECMP static routes to 10.100.1.0/24 use next-hops on different subnets (172.16.1.2 and 172.16.2.2). Verify topology to ensure this is not a cross-static loop or false ECMP.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 192.168.10.0/24 is directly connected, GigabitEthernet0/0\nC 192.168.20.0/24 is directly connected, GigabitEthernet0/1\nC 192.168.30.0/24 is directly connected, GigabitEthernet0/2\nB 10.2.2.0/24 [20/0] via 192.168.10.1\nB 10.2.2.0/24 [20/0] via 192.168.20.1\nO 172.16.50.0/24 [110/20] via 192.168.30.1\nS 10.5.5.0/24 [1/0] via 192.168.10.1\nS 10.5.5.0/24 [1/0] via 192.168.20.1\nD 192.168.100.0/24 [90/20480] via 192.168.30.1\n\nQuestion: Identify all potential issues in this routing table."}, {"role": "assistant", "content": "\n1. Observation: The table shows two BGP routes to 10.2.2.0/24 and two static routes to 10.5.5.0/24, both pairs having identical metrics/ADs via next-hops on different subnets (192.168.10.1, 192.168.20.1).\n2. Analysis: This indicates a widespread ECMP misconfiguration across multiple protocols. Having identical BGP and static routes via different layer 3 next-hops strongly suggests a hub-and-spoke or ring topology where the spoke routers are redundantly configured but actually form a routing loop for these prefixes.\n3. Context: Traffic for 10.2.2.0/24 and 10.5.5.0/24 will be load-balanced across paths that likely point back to each other, causing severe routing loops, high CPU, and packet loss.\n4. Recommendation: Audit the BGP and static configurations on the next-hop routers. Ensure that 192.168.10.1 and 192.168.20.1 are not pointing back to this router for these prefixes. Consider using a single active path or implementing BGP multipath correctly with distinct AS paths.\n\n\nCRITICAL: Multiple routing loops detected. Both BGP (10.2.2.0/24) and static (10.5.5.0/24) routes have identical ECMP configurations via next-hops on different subnets. This is a classic cross-route loop scenario. Audit next-hop configurations immediately.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 10.0.1.0/24 is directly connected, GigabitEthernet0/0\nS 172.20.10.0/24 [1/0] via 10.0.1.1\nS 172.20.10.0/24 [1/0] via 10.0.1.2\n\nQuestion: What routing issues could cause network instability?"}, {"role": "assistant", "content": "\n1. Observation: Two static routes to 172.20.10.0/24 with AD 1 and metric 0 via next-hops 10.0.1.1 and 10.0.1.2 on the same subnet.\n2. Analysis: This is a standard ECMP configuration, but in the context of static routes, it is highly prone to creating a routing loop if the next-hops are not properly configured to reach the destination. If 10.0.1.1 and 10.0.1.2 are two routers that only have default routes back to this router, a loop is formed.\n3. Context: Network instability will occur if the next-hops do not have a valid path to 172.20.10.0/24. The router will continuously forward packets to 10.0.1.1 and 10.0.1.2, which will bounce them back, causing TTL exhaustion.\n4. Recommendation: Verify that 10.0.1.1 and 10.0.1.2 have explicit, loop-free routes to 172.20.10.0/24. If they are the only path, ensure they are not pointing back to this router.\n\n\nCRITICAL: High risk of routing loop. Two static routes to 172.20.10.0/24 via 10.0.1.1 and 10.0.1.2. If these next-hops lack a valid return path, traffic will loop. Verify next-hop routing tables.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 192.168.5.0/24 is directly connected, GigabitEthernet0/0\nC 192.168.6.0/24 is directly connected, GigabitEthernet0/1\nO 10.5.5.0/24 [110/65] via 192.168.5.1, 00:10:00, GigabitEthernet0/0\nO 10.5.5.0/24 [110/65] via 192.168.5.5, 00:10:00, GigabitEthernet0/0\nO 172.16.10.0/24 [110/30] via 192.168.6.1\n\nQuestion: Analyze this routing table for Administrative Distance conflicts or loops."}, {"role": "assistant", "content": "\n1. Observation: Two OSPF routes to 10.5.5.0/24 with identical AD (110) and metric (65) via 192.168.5.1 and 192.168.5.5. Both next-hops are on the same subnet (192.168.5.0/24).\n2. Analysis: While OSPF ECMP is normal, having two next-hops on the exact same broadcast domain with identical metrics is suspicious. It often indicates that 192.168.5.1 and 192.168.5.5 are actually the same router (e.g., a multilayer switch with SVI and physical interface) or they are part of a Layer 2 loop.\n3. Context: If they are the same device, this is just redundant ARP entries, not a true loop. If they are different devices in a loop, OSPF will continuously flap or traffic will loop. There are no AD conflicts here, as both are OSPF.\n4. Recommendation: Check the MAC address table and ARP cache for 192.168.5.1 and 192.168.5.5. Ensure they are distinct physical devices and not part of a Layer 2 loop.\n\n\nWARNING: Potential ECMP misconfiguration. Two OSPF routes to 10.5.5.0/24 via next-hops on the same subnet (192.168.5.1 and 192.168.5.5). Verify these are distinct physical devices to rule out Layer 2 loops or false ECMP.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 10.10.10.0/24 is directly connected, GigabitEthernet0/0\nC 10.20.20.0/24 is directly connected, GigabitEthernet0/1\nS 192.168.50.0/24 [1/0] via 10.10.10.2\nS 192.168.50.0/24 [1/0] via 10.10.10.3\nO 10.100.100.0/24 [110/15] via 10.20.20.1\nB 172.16.80.0/24 [20/0] via 10.10.10.2\nD 192.168.200.0/24 [90/25600] via 10.20.20.1\nS 10.50.50.0/24 [1/0] via 10.10.10.2\nS 10.50.50.0/24 [1/0] via 10.10.10.3\n\nQuestion: Identify any summarization errors or routing loops."}, {"role": "assistant", "content": "\n1. Observation: The table contains two sets of identical static routes: 192.168.50.0/24 and 10.50.50.0/24, both with AD 1 and metric 0 via 10.10.10.2 and 10.10.10.3.\n2. Analysis: This is a clear case of cross-static route loops. The router has been configured with redundant static routes to multiple prefixes via the same two next-hops. If 10.10.10.2 and 10.10.10.3 are configured to point back to this router for these prefixes, a severe routing loop is established.\n3. Context: Traffic for both 192.168.50.0/24 and 10.50.50.0/24 will be load-balanced across two paths that likely do not lead to the destination, causing blackholing or TTL expiration. There are no summarization errors visible, but the static routing design is fundamentally flawed.\n4. Recommendation: Remove the redundant static routes. Implement a dynamic routing protocol to automatically calculate loop-free paths and handle redundancy properly.\n\n\nCRITICAL: Severe routing loop detected. Multiple static routes (192.168.50.0/24 and 10.50.50.0/24) have identical ECMP configurations via 10.10.10.2 and 10.10.10.3. This indicates a cross-static misconfiguration. Migrate to a dynamic routing protocol.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 172.16.8.0/24 is directly connected, GigabitEthernet0/0\nL 10.1.1.1/32 is directly connected, Loopback0\nO 10.8.8.0/24 [115/20] via 172.16.8.1, 00:05:00, GigabitEthernet0/0\nO 10.8.8.0/24 [115/20] via 172.16.8.2, 00:05:00, GigabitEthernet0/0\n\nQuestion: Does this routing table contain a routing loop?"}, {"role": "assistant", "content": "\n1. Observation: Two IS-IS routes (AD 115) to 10.8.8.0/24 with identical metric (20) via 172.16.8.1 and 172.16.8.2 on the same subnet.\n2. Analysis: IS-IS supports ECMP, but having two next-hops on the same broadcast domain with identical metrics is unusual unless they are distinct routers in a valid topology. If 172.16.8.1 and 172.16.8.2 are actually the same router (e.g., multiple interfaces in the same IS-IS area), this is just redundant routing.\n3. Context: If they are distinct routers, this is a valid ECMP setup. However, if they form a triangle topology without proper IS-IS levels, a micro-loop could occur during convergence. The risk of a persistent loop is lower than with static routes, but still present if the IS-IS topology is misconfigured.\n4. Recommendation: Verify the IS-IS topology. Ensure 172.16.8.1 and 172.16.8.2 are distinct routers and that the IS-IS area design prevents routing loops.\n\n\nINFO: Potential ECMP misconfiguration. Two IS-IS routes to 10.8.8.0/24 via next-hops on the same subnet. Verify IS-IS topology to ensure these are distinct routers and no micro-loops exist.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 10.0.0.0/24 is directly connected, GigabitEthernet0/0\nC 10.0.1.0/24 is directly connected, GigabitEthernet0/1\nC 10.0.2.0/24 is directly connected, GigabitEthernet0/2\nS 172.31.0.0/16 [1/0] via 10.0.0.2\nS 172.31.0.0/16 [1/0] via 10.0.0.6\nO 192.168.1.0/24 [110/10] via 10.0.1.1\nD 10.50.50.0/24 [90/20480] via 10.0.2.1\nS 10.100.0.0/16 [1/0] via 10.0.0.2\nS 10.100.0.0/16 [1/0] via 10.0.0.6\n\nQuestion: Identify any load balancing issues in this routing table."}, {"role": "assistant", "content": "\n1. Observation: The table shows two sets of static routes with identical AD and metric: 172.31.0.0/16 and 10.100.0.0/16, both via 10.0.0.2 and 10.0.0.6.\n2. Analysis: This is a clear indication of a flawed static routing design. The administrator has configured ECMP for multiple prefixes using the same two next-hops. If 10.0.0.2 and 10.0.0.6 are not properly configured to reach these prefixes, a routing loop will occur.\n3. Context: The load balancing itself is not the issue; the issue is the reliance on static ECMP without verifying the next-hops' routing tables. This setup is highly fragile and prone to creating blackholes or loops if the next-hops point back to this router.\n4. Recommendation: Audit the routing tables on 10.0.0.2 and 10.0.0.6. If they are the only path, consider using a dynamic routing protocol to ensure loop-free path calculation.\n\n\nCRITICAL: Routing loop risk detected. Multiple static routes (172.31.0.0/16 and 10.100.0.0/16) use identical ECMP via 10.0.0.2 and 10.0.0.6. Verify next-hop routing tables to prevent cross-static loops.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 192.168.12.0/24 is directly connected, GigabitEthernet0/0\nC 192.168.13.0/24 is directly connected, GigabitEthernet0/1\nD 10.12.12.0/24 [90/20480] via 192.168.12.1, 00:15:30, GigabitEthernet0/0\nD 10.12.12.0/24 [90/20480] via 192.168.12.5, 00:15:30, GigabitEthernet0/0\nO 172.16.12.0/24 [110/20] via 192.168.13.1\nS 10.50.0.0/16 [1/0] via 192.168.12.1\nS 10.50.0.0/16 [1/0] via 192.168.12.5\n\nQuestion: Are there any overlapping networks or routing loops?"}, {"role": "assistant", "content": "\n1. Observation: Two EIGRP routes to 10.12.12.0/24 and two static routes to 10.50.0.0/16, both pairs having identical metrics/ADs via 192.168.12.1 and 192.168.12.5 on the same subnet.\n2. Analysis: The presence of identical ECMP configurations for both EIGRP and static routes via the same two next-hops on a single subnet is a strong indicator of a cross-route loop. It is highly likely that 192.168.12.1 and 192.168.12.5 are pointing back to this router for these prefixes.\n3. Context: Traffic for 10.12.12.0/24 and 10.50.0.0/16 will be load-balanced across two paths that likely do not lead to the destination, causing a severe routing loop. There are no overlapping networks, but the routing design is fundamentally flawed.\n4. Recommendation: Remove the redundant static routes. Verify the EIGRP topology to ensure 192.168.12.1 and 192.168.12.5 are not forming a loop for 10.12.12.0/24.\n\n\nCRITICAL: Severe routing loop detected. Both EIGRP (10.12.12.0/24) and static (10.50.0.0/16) routes have identical ECMP via 192.168.12.1 and 192.168.12.5. This indicates a cross-route misconfiguration. Audit next-hop routing tables immediately.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 10.1.100.0/24 is directly connected, GigabitEthernet0/0\nC 10.2.100.0/24 is directly connected, GigabitEthernet0/1\nS 192.168.100.0/24 [1/0] via 10.1.100.2\nS 192.168.100.0/24 [1/0] via 10.2.100.2\n\nQuestion: Analyze this routing table for ECMP misconfigurations."}, {"role": "assistant", "content": "\n1. Observation: Two static routes to 192.168.100.0/24 with AD 1 and metric 0 via 10.1.100.2 and 10.2.100.2 on different subnets.\n2. Analysis: This is a cross-subnet static ECMP configuration. While technically valid if both next-hops have a path to 192.168.100.0/24, it is highly prone to routing loops if the next-hops are not properly configured. If 10.1.100.2 and 10.2.100.2 point back to this router, a loop is formed.\n3. Context: The risk of a loop is high because static routes do not verify the reachability of the destination beyond the next-hop. If the next-hops are part of a ring topology, traffic will loop indefinitely.\n4. Recommendation: Verify that 10.1.100.2 and 10.2.100.2 have explicit, loop-free routes to 192.168.100.0/24. Consider using a dynamic routing protocol to prevent such misconfigurations.\n\n\nCRITICAL: High risk of routing loop. Two static routes to 192.168.100.0/24 via next-hops on different subnets (10.1.100.2 and 10.2.100.2). Verify next-hop routing tables to ensure no cross-static loop exists.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 172.16.20.0/24 is directly connected, GigabitEthernet0/0\nC 172.16.21.0/24 is directly connected, GigabitEthernet0/1\nO 10.20.20.0/24 [110/30] via 172.16.20.1, 00:08:45, GigabitEthernet0/0\nO 10.20.20.0/24 [110/30] via 172.16.20.5, 00:08:45, GigabitEthernet0/0\nS 192.168.50.0/24 [1/0] via 172.16.21.1\n\nQuestion: Does this routing table have any unreachable next-hop addresses or loops?"}, {"role": "assistant", "content": "\n1. Observation: Two OSPF routes to 10.20.20.0/24 with identical AD (110) and metric (30) via 172.16.20.1 and 172.16.20.5 on the same subnet.\n2. Analysis: This is an OSPF ECMP configuration. The next-hops are reachable (they are on the directly connected 172.16.20.0/24 subnet). However, having two next-hops on the same broadcast domain with identical metrics is suspicious and could indicate a Layer 2 loop or a misconfigured OSPF topology.\n3. Context: If 172.16.20.1 and 172.16.20.5 are distinct routers, this is a valid ECMP setup. If they are the same router or part of a loop, traffic will loop. There are no unreachable next-hops.\n4. Recommendation: Verify the OSPF topology and Layer 2 connectivity. Ensure 172.16.20.1 and 172.16.20.5 are distinct physical devices and not part of a loop.\n\n\nWARNING: Potential ECMP misconfiguration. Two OSPF routes to 10.20.20.0/24 via next-hops on the same subnet (172.16.20.1 and 172.16.20.5). Verify these are distinct physical devices to rule out Layer 2 loops.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 10.99.1.0/24 is directly connected, GigabitEthernet0/0\nC 10.99.2.0/24 is directly connected, GigabitEthernet0/1\nC 10.99.3.0/24 is directly connected, GigabitEthernet0/2\nS 172.16.99.0/24 [1/0] via 10.99.1.2\nS 172.16.99.0/24 [1/0] via 10.99.2.2\nO 10.10.10.0/24 [110/10] via 10.99.3.1\nB 192.168.10.0/24 [20/0] via 10.99.1.2\nD 10.50.50.0/24 [90/30720] via 10.99.2.2\nS 10.100.100.0/24 [1/0] via 10.99.1.2\nS 10.100.100.0/24 [1/0] via 10.99.2.2\n\nQuestion: Identify all potential issues in this routing table and classify them by severity."}, {"role": "assistant", "content": "\n1. Observation: The table contains multiple sets of identical static routes: 172.16.99.0/24 and 10.100.100.0/24, both via 10.99.1.2 and 10.99.2.2 on different subnets.\n2. Analysis: This is a severe cross-static route misconfiguration. The administrator has configured ECMP for multiple prefixes using the same two next-hops across different subnets. This design is highly fragile and almost certainly creates a routing loop if the next-hops point back to this router.\n3. Context: Traffic for 172.16.99.0/24 and 10.100.100.0/24 will be load-balanced across paths that likely do not lead to the destination, causing blackholing or TTL expiration. The severity is critical due to the widespread nature of the misconfiguration.\n4. Recommendation: Remove all redundant static routes. Implement a dynamic routing protocol (OSPF, EIGRP, or BGP) to automatically calculate loop-free paths and handle redundancy.\n\n\nCRITICAL: Severe routing loop detected. Multiple static routes (172.16.99.0/24 and 10.100.100.0/24) use identical ECMP via 10.99.1.2 and 10.99.2.2 across different subnets. This is a fundamental design flaw. Migrate to a dynamic routing protocol immediately.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 192.168.33.0/24 is directly connected, GigabitEthernet0/0\nB 10.33.33.0/24 [20/0] via 192.168.33.1\nB 10.33.33.0/24 [20/0] via 192.168.33.2\n\nQuestion: What routing issues could cause network instability in this configuration?"}, {"role": "assistant", "content": "\n1. Observation: Two BGP routes to 10.33.33.0/24 with identical AD (20) and metric (0) via 192.168.33.1 and 192.168.33.2 on the same subnet.\n2. Analysis: BGP multipath is configured, but having two next-hops on the same broadcast domain with identical attributes is unusual. It often indicates that 192.168.33.1 and 192.168.33.2 are actually the same router (e.g., a route reflector or a multilayer switch) or they are part of a BGP confederation loop.\n3. Context: If they are the same device, this is just redundant BGP updates. If they are distinct routers in a loop, BGP will continuously flap or traffic will loop. Network instability will occur if the BGP topology is misconfigured.\n4. Recommendation: Verify the BGP topology and next-hop reachability. Ensure 192.168.33.1 and 192.168.33.2 are distinct routers and that the BGP design prevents routing loops.\n\n\nWARNING: Potential BGP multipath misconfiguration. Two BGP routes to 10.33.33.0/24 via next-hops on the same subnet (192.168.33.1 and 192.168.33.2). Verify BGP topology to rule out routing loops or false multipath.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 10.200.1.0/24 is directly connected, GigabitEthernet0/0\nC 10.200.2.0/24 is directly connected, GigabitEthernet0/1\nS 192.168.200.0/24 [1/0] via 10.200.1.1\nS 192.168.200.0/24 [1/0] via 10.200.2.1\nO 10.50.50.0/24 [110/20] via 10.200.1.1\n\nQuestion: Does this routing table contain a routing loop?"}, {"role": "assistant", "content": "\n1. Observation: Two static routes to 192.168.200.0/24 with AD 1 and metric 0 via 10.200.1.1 and 10.200.2.1 on different subnets.\n2. Analysis: This is a cross-subnet static ECMP configuration. The risk of a routing loop is high if 10.200.1.1 and 10.200.2.1 do not have a valid path to 192.168.200.0/24 and instead point back to this router.\n3. Context: Static routes do not verify destination reachability. If the next-hops are part of a ring topology or are misconfigured, traffic will loop indefinitely, causing TTL exhaustion and high CPU.\n4. Recommendation: Verify that 10.200.1.1 and 10.200.2.1 have explicit, loop-free routes to 192.168.200.0/24. If they are the only path, consider using a dynamic routing protocol.\n\n\nCRITICAL: High risk of routing loop. Two static routes to 192.168.200.0/24 via next-hops on different subnets (10.200.1.1 and 10.200.2.1). Verify next-hop routing tables to prevent cross-static loops.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 172.16.44.0/24 is directly connected, GigabitEthernet0/0\nC 172.16.45.0/24 is directly connected, GigabitEthernet0/1\nC 172.16.46.0/24 is directly connected, GigabitEthernet0/2\nD 10.44.0.0/16 [90/40960] via 172.16.44.1, 00:20:00, GigabitEthernet0/0\nD 10.44.0.0/16 [90/40960] via 172.16.44.2, 00:20:00, GigabitEthernet0/0\nS 192.168.44.0/24 [1/0] via 172.16.45.1\nS 192.168.44.0/24 [1/0] via 172.16.46.1\nO 10.100.0.0/16 [110/30] via 172.16.45.1\n\nQuestion: Identify any load balancing issues or routing loops."}, {"role": "assistant", "content": "\n1. Observation: The table shows two EIGRP routes to 10.44.0.0/16 via 172.16.44.1 and 172.16.44.2 on the same subnet, and two static routes to 192.168.44.0/24 via 172.16.45.1 and 172.16.46.1 on different subnets.\n2. Analysis: The EIGRP ECMP is suspicious due to identical metrics on the same broadcast domain, potentially indicating a Layer 2 loop or false ECMP. The static ECMP for 192.168.44.0/24 is a classic cross-subnet misconfiguration, highly prone to routing loops if the next-hops point back to this router.\n3. Context: Traffic for both prefixes is at risk. The EIGRP routes may flap or loop if the topology is misconfigured. The static routes will likely cause a severe routing loop if the next-hops lack a valid path to 192.168.44.0/24.\n4. Recommendation: For EIGRP, verify Layer 2 and OSPF/EIGRP topology. For static routes, remove the redundancy and use a single correct next-hop, or migrate to a dynamic routing protocol.\n\n\nCRITICAL: Multiple routing issues detected. EIGRP ECMP for 10.44.0.0/16 via same-subnet next-hops risks Layer 2 loops. Static ECMP for 192.168.44.0/24 via different-subnet next-hops is a severe cross-static loop risk. Audit both configurations immediately.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 10.55.1.0/24 is directly connected, GigabitEthernet0/0\nC 10.55.2.0/24 is directly connected, GigabitEthernet0/1\nO 172.16.55.0/24 [110/128] via 10.55.1.2, 00:03:15, GigabitEthernet0/0\nO 172.16.55.0/24 [110/128] via 10.55.2.2, 00:03:15, GigabitEthernet0/1\n\nQuestion: Analyze this routing table for routing inconsistencies."}, {"role": "assistant", "content": "\n1. Observation: Two OSPF routes to 172.16.55.0/24 with identical AD (110) and metric (128) via 10.55.1.2 and 10.55.2.2 on different subnets.\n2. Analysis: This is a cross-subnet OSPF ECMP configuration. While technically valid if both next-hops have a path to 172.16.55.0/24, it is unusual to have identical OSPF metrics via different layer 3 interfaces unless the topology is perfectly symmetric.\n3. Context: If the topology is not perfectly symmetric, this could indicate a misconfigured OSPF cost or a routing loop where the next-hops are pointing back to each other. The inconsistency lies in the assumption that both paths are equally optimal and loop-free.\n4. Recommendation: Verify the OSPF topology and link costs. Ensure that 10.55.1.2 and 10.55.2.2 have independent, loop-free paths to 172.16.55.0/24.\n\n\nWARNING: Routing inconsistency detected. OSPF ECMP for 172.16.55.0/24 via next-hops on different subnets (10.55.1.2 and 10.55.2.2) with identical metrics. Verify topology to ensure both paths are truly distinct and loop-free.\n"}]}
{"messages": [{"role": "system", "content": "You are a network routing expert. Analyze the routing table, detect issues, and provide step-by-step reasoning. Use the format: ...step-by-step analysis......concise answer..."}, {"role": "user", "content": "Routing table:\nC 192.168.77.0/24 is directly connected, GigabitEthernet0/0\nC 192.168.78.0/24 is directly connected, GigabitEthernet0/1\nS 10.77.77.0/24 [1/0] via 192.168.77.2\nS 10.77.77.0/24 [1/0] via 192.168.77.3\nO 172.16.77.0/24 [110/10] via 192.168.78.1\n\nQuestion: Identify any ECMP loop scenarios in this routing table."}, {"role": "assistant", "content": "\n1. Observation: Two static routes to 10.77.77.0/24 with AD 1 and metric 0 via 192.168.77.2 and 192.168.77.3 on the same subnet.\n2. Analysis: This is a same-subnet static ECMP configuration. It is highly suspicious and strongly indicates a cross-static route loop. If 192.168.77.2 and 192.168.77.3 are two routers that only have default routes back to this router, or if they point to each other for 10.77.77.0/24, a severe routing loop is formed.\n3. Context: Traffic for 10.77.77.0/24 will be load-balanced across two paths that likely do not lead to the destination, causing blackholing or TTL expiration. This is a classic ECMP loop scenario.\n4. Recommendation: Remove the redundant static route. Identify the single correct next-hop for 10.77.77.0/24 and configure only that route.\n\n\nCRITICAL: ECMP loop detected. Two static routes to 10.77.77.0/24 via next-hops on the same subnet (192.168.77.2 and 192.168.77.3). This is a cross-static misconfiguration. Remove the redundant static route immediately.\n"}]}
Для обучения надо подключить модель ИИ на https://huggingface.co/
При дообучении компактных изолированных моделей ИИ надо использовать LoRA.
Low Rank Adaptation (LoRA) представляет собой метод эффективной настройки (fine-tuning) предварительно обученных больших нейронных сетей под конкретные задачи. Вместо полной переобучки всей модели, LoRA вводит в сеть дополнительные низкоранговые проекционные слои, обучаемые только на целевых данных. Это позволяет адаптировать модель, сохраняя большую часть её исходных параметров неизменными. Такой подход требует значительно меньшего количества обучающих данных и вычислительных ресурсов по сравнению с традиционным fine-tuning, обеспечивая при этом высокую производительность на специфических задачах.
Удаленная работа
AI Fine Tuning >>
Удаленная работа >>
Prompts Developer >>
Screenplay >>
Proxmox Virtual Environment >>
Удаленная работа
|
|