├── .gitignore
├── automation-sdn
├── m2
│ ├── readme.md
│ └── underlay-template.txt
└── m3
│ ├── example.rb
│ ├── example.yaml
│ ├── intent-api.py
│ ├── requirements.txt
│ ├── vmanage-api.py
│ └── watch-interface.tcl
├── basic-networking-ip-fundamentals
├── after
│ ├── r1.cfg
│ ├── r2.cfg
│ ├── r3.cfg
│ ├── r4.cfg
│ ├── r5.cfg
│ ├── r6.cfg
│ ├── r7.cfg
│ └── r8.cfg
├── before
│ ├── R1.cfg
│ ├── R2.cfg
│ ├── R3.cfg
│ ├── R4.cfg
│ ├── R5.cfg
│ ├── R6.cfg
│ ├── R7.cfg
│ ├── R8.cfg
│ ├── cml
│ │ └── basic-networking-ip-fundamentals.yaml
│ └── isp1.cfg
├── ipv4-rip-topology.png
├── ipv6-only-topology.png
├── l2-topology.png
└── readme.md
├── bgp-path-control
├── m2
│ └── before
│ │ ├── FR.cfg
│ │ ├── ISP1.cfg
│ │ ├── Interface mappings.txt
│ │ ├── L3 IPv4 topology.png
│ │ ├── L3 IPv6 topology.png
│ │ ├── R1.cfg
│ │ ├── R2.cfg
│ │ ├── R3.cfg
│ │ ├── R4.cfg
│ │ ├── R5.cfg
│ │ ├── R6.cfg
│ │ ├── R7.cfg
│ │ └── R8.cfg
├── m3
│ ├── ISP1.cfg
│ ├── R1.cfg
│ └── R4.cfg
├── m4
│ ├── R4.cfg
│ └── R5.cfg
├── m5
│ ├── R1.cfg
│ ├── R2.cfg
│ ├── R3.cfg
│ ├── R4.cfg
│ ├── R5.cfg
│ └── R6.cfg
├── m6
│ ├── R1.cfg
│ ├── R2.cfg
│ ├── R3.cfg
│ ├── R4.cfg
│ └── R6.cfg
├── m7
│ ├── R1.cfg
│ ├── R2.cfg
│ ├── R3.cfg
│ └── R7.cfg
└── readme.md
├── design
├── m2
│ ├── Collapsed Core.png
│ ├── Comparison of L1 L2 and L3 diagrams.png
│ ├── Core, Distribution, and Access Tiers.png
│ ├── L1 sample topology.png
│ ├── L2 sample topology simplified.png
│ ├── L3 sample topology.png
│ ├── Two Access-Distribution blocks connected to the Core.png
│ └── north-south-east-west.png
├── m3
│ ├── Cisco Recommended loop-free Switched Topology.png
│ ├── Loop-free U topology.png
│ ├── Loop-free inverted-U topology.png
│ ├── Looped square.png
│ ├── Looped triangle.png
│ ├── Routed topology.png
│ ├── Switched vs routed topology.png
│ └── Virtual switch topology.png
└── m4
│ ├── Generic Multicast Topology.png
│ └── PIM topology.png
├── first-hop-redundancy-protocols
├── M2
│ ├── Interface mappings.txt
│ ├── SW1 - show vlan brief.txt
│ ├── SW1.txt
│ ├── SW2 - show vlan brief.txt
│ ├── SW2.txt
│ └── topology.png
├── M3
│ ├── SW3.txt
│ └── SW4.txt
├── M4
│ ├── Asher.txt
│ ├── R1.txt
│ ├── R2.txt
│ ├── R3.txt
│ ├── Simeon.txt
│ └── topology.png
├── M5
│ └── SW1.txt
└── M6
│ ├── SW1.txt
│ └── SW2.txt
├── implementing-eigrp
├── m2
│ └── before
│ │ ├── isp1.cfg
│ │ ├── r1.cfg
│ │ ├── r2.cfg
│ │ ├── r3.cfg
│ │ ├── r4.cfg
│ │ ├── r5.cfg
│ │ ├── r6.cfg
│ │ ├── r7.cfg
│ │ └── r8.cfg
├── m3
│ └── after
│ │ ├── r3.cfg
│ │ ├── r4.cfg
│ │ ├── r5.cfg
│ │ └── r6.cfg
├── m4
│ └── after
│ │ ├── r3.cfg
│ │ ├── r4.cfg
│ │ ├── r5.cfg
│ │ └── r6.cfg
├── m5
│ ├── r3.cfg
│ ├── r4.cfg
│ ├── r5.cfg
│ └── r6.cfg
├── m6
│ ├── r3.cfg
│ ├── r4.cfg
│ ├── r5.cfg
│ └── r6.cfg
└── readme.md
├── implementing-ospf
├── after
│ ├── isp1.cfg
│ ├── r1.cfg
│ ├── r2.cfg
│ ├── r3.cfg
│ ├── r4.cfg
│ ├── r5.cfg
│ ├── r6.cfg
│ ├── r7.cfg
│ └── r8.cfg
├── before
│ ├── isp1.cfg
│ ├── r1.cfg
│ ├── r2.cfg
│ ├── r3.cfg
│ ├── r4.cfg
│ ├── r5.cfg
│ ├── r6.cfg
│ ├── r7.cfg
│ └── r8.cfg
├── ipv4-topology.png
├── ipv6-topology.png
├── l2-topology.png
├── ospf-ipv4-topology.png
└── readme.md
├── infrastructure-security
├── m2
│ ├── after
│ │ ├── SW1.txt
│ │ ├── SW2-client.txt
│ │ └── SW3-server.txt
│ ├── before
│ │ ├── Do not use SW4.txt
│ │ ├── SW1.txt
│ │ ├── SW2.txt
│ │ └── SW3.txt
│ ├── physical-topology-with-new-hostnames.png
│ └── physical-topology.png
├── m3
│ └── after
│ │ └── SW1.txt
├── m4
│ └── after
│ │ └── SW1.txt
└── m5
│ └── after
│ └── SW1.txt
├── layer-2-troubleshooting
├── SuperPuTTY sessions.xml
├── m2
│ ├── Using an external terminal emulator with VIRL.png
│ ├── Using an external terminal emulator with VIRL.txt
│ ├── layer-2-protocols-ccnp-configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ └── layer-2-protocols-ccnp
│ │ └── layer-2-protocols-ccnp-300-135-tshoot.virl
├── m3
│ ├── methodology-configs
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── Server1-config.txt
│ │ ├── Server2-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ └── tshoot-methodology
│ │ └── methodology.virl
├── m4
│ ├── After
│ │ ├── layer-2-protocols-ccnp-configs
│ │ │ ├── PC1-config.txt
│ │ │ ├── PC2-config.txt
│ │ │ ├── R1-config.txt
│ │ │ ├── R2-config.txt
│ │ │ ├── R3-config.txt
│ │ │ ├── R4-config.txt
│ │ │ ├── R5-config.txt
│ │ │ ├── R6-config.txt
│ │ │ ├── R7-config.txt
│ │ │ ├── R8-config.txt
│ │ │ ├── R9-config.txt
│ │ │ ├── SW1-config.txt
│ │ │ ├── SW2-config.txt
│ │ │ ├── SW3-config.txt
│ │ │ ├── SW4-config.txt
│ │ │ ├── SW5-config.txt
│ │ │ ├── WebServer-config.txt
│ │ │ ├── connections.csv
│ │ │ └── devices.csv
│ │ └── layer-2-protocols-ccnp
│ │ │ └── layer-2-protocols-ccnp-300-135-tshoot.virl
│ ├── Before
│ │ ├── layer-2-protocols-ccnp-configs
│ │ │ ├── PC1-config.txt
│ │ │ ├── PC2-config.txt
│ │ │ ├── R1-config.txt
│ │ │ ├── R2-config.txt
│ │ │ ├── R3-config.txt
│ │ │ ├── R4-config.txt
│ │ │ ├── R5-config.txt
│ │ │ ├── R6-config.txt
│ │ │ ├── R7-config.txt
│ │ │ ├── R8-config.txt
│ │ │ ├── R9-config.txt
│ │ │ ├── SW1-config.txt
│ │ │ ├── SW2-config.txt
│ │ │ ├── SW3-config.txt
│ │ │ ├── SW4-config.txt
│ │ │ ├── SW5-config.txt
│ │ │ ├── WebServer-config.txt
│ │ │ ├── connections.csv
│ │ │ └── devices.csv
│ │ └── layer-2-protocols-ccnp
│ │ │ └── layer-2-protocols-ccnp-300-135-tshoot.virl
│ └── topology.png
├── m5
│ ├── After
│ │ ├── layer-2-protocols-ccnp-configs
│ │ │ ├── PC1-config.txt
│ │ │ ├── PC2-config.txt
│ │ │ ├── R1-config.txt
│ │ │ ├── R2-config.txt
│ │ │ ├── R3-config.txt
│ │ │ ├── R4-config.txt
│ │ │ ├── R5-config.txt
│ │ │ ├── R6-config.txt
│ │ │ ├── R7-config.txt
│ │ │ ├── R8-config.txt
│ │ │ ├── R9-config.txt
│ │ │ ├── SW1-config.txt
│ │ │ ├── SW2-config.txt
│ │ │ ├── SW3-config.txt
│ │ │ ├── SW4-config.txt
│ │ │ ├── SW5-config.txt
│ │ │ ├── WebServer-config.txt
│ │ │ ├── connections.csv
│ │ │ └── devices.csv
│ │ └── layer-2-protocols-ccnp
│ │ │ └── layer-2-protocols-ccnp-300-135-tshoot.virl
│ └── Before
│ │ ├── layer-2-protocols-ccnp-configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── layer-2-protocols-ccnp
│ │ └── layer-2-protocols-ccnp-300-135-tshoot.virl
├── m6
│ ├── After
│ │ ├── layer-2-protocols-ccnp-configs
│ │ │ ├── PC1-config.txt
│ │ │ ├── PC2-config.txt
│ │ │ ├── R1-config.txt
│ │ │ ├── R2-config.txt
│ │ │ ├── R3-config.txt
│ │ │ ├── R4-config.txt
│ │ │ ├── R5-config.txt
│ │ │ ├── R6-config.txt
│ │ │ ├── R7-config.txt
│ │ │ ├── R8-config.txt
│ │ │ ├── R9-config.txt
│ │ │ ├── SW1-config.txt
│ │ │ ├── SW2-config.txt
│ │ │ ├── SW3-config.txt
│ │ │ ├── SW4-config.txt
│ │ │ ├── SW5-config.txt
│ │ │ ├── WebServer-config.txt
│ │ │ ├── connections.csv
│ │ │ └── devices.csv
│ │ └── layer-2-protocols-ccnp
│ │ │ └── layer-2-protocols-ccnp-300-135-tshoot.virl
│ ├── Before
│ │ ├── layer-2-protocols-ccnp-configs
│ │ │ ├── PC1-config.txt
│ │ │ ├── PC2-config.txt
│ │ │ ├── R1-config.txt
│ │ │ ├── R2-config.txt
│ │ │ ├── R3-config.txt
│ │ │ ├── R4-config.txt
│ │ │ ├── R5-config.txt
│ │ │ ├── R6-config.txt
│ │ │ ├── R7-config.txt
│ │ │ ├── R8-config.txt
│ │ │ ├── R9-config.txt
│ │ │ ├── SW1-config.txt
│ │ │ ├── SW2-config.txt
│ │ │ ├── SW3-config.txt
│ │ │ ├── SW4-config.txt
│ │ │ ├── SW5-config.txt
│ │ │ ├── WebServer-config.txt
│ │ │ ├── connections.csv
│ │ │ └── devices.csv
│ │ └── layer-2-protocols-ccnp
│ │ │ └── layer-2-protocols-ccnp-300-135-tshoot.virl
│ ├── L1 topology.png
│ └── topology diagram.png
└── readme.md
├── nat-security
├── m2
│ ├── FR.cfg
│ ├── ISP1.cfg
│ ├── Interface mappings.txt
│ ├── L3 IPv4 topology.png
│ ├── L3 IPv6 topology.png
│ ├── R1.cfg
│ ├── R2.cfg
│ ├── R3.cfg
│ ├── R4.cfg
│ ├── R5.cfg
│ ├── R6.cfg
│ ├── R7.cfg
│ └── R8.cfg
├── m3
│ ├── R1.cfg
│ ├── R4.cfg
│ ├── R5.cfg
│ └── R6.cfg
└── m4
│ ├── R2.cfg
│ ├── R5.cfg
│ └── R7.cfg
├── qos
├── m2
│ └── before
│ │ ├── sw1.txt
│ │ └── sw2.txt
└── m4
│ └── after
│ ├── r1.txt
│ ├── r2.txt
│ ├── sw1.txt
│ └── sw2.txt
├── readme.md
├── spanning-tree-protocols-etherchannels
├── m2
│ ├── SW1.txt
│ ├── SW2.txt
│ ├── SW3.txt
│ ├── SW4.txt
│ ├── lab-topology.png
│ └── port mappings.txt
├── m3
│ ├── Blocked-ports-unidirectional-link.png
│ ├── SW2.txt
│ ├── SW3.txt
│ ├── SW4.txt
│ ├── blocked-ports.png
│ └── root-port-links.png
├── m4
│ ├── SW1.txt
│ ├── SW2.txt
│ ├── SW3.txt
│ ├── SW4.txt
│ └── vlan-300-and-400.png
├── m5
│ ├── SW1.txt
│ ├── SW2.txt
│ ├── SW3.txt
│ ├── SW4.txt
│ ├── mst-final-topology.png
│ ├── mst-full-topology.png
│ ├── mst1-topology.png
│ └── mst2-topology.png
└── m6
│ ├── LACP.png
│ ├── PAgP.png
│ ├── SW1.txt
│ ├── SW2.txt
│ ├── SW3.txt
│ ├── SW4.txt
│ ├── URLs.txt
│ └── static-etherchannel.png
├── troubleshooting-bgp-gre-tunnels
├── m2
│ ├── L2 topology.ndg
│ ├── L2 topology.png
│ ├── L3 topology IPv4 BGP.ndg
│ ├── L3 topology IPv4 BGP.png
│ ├── L3 topology IPv4 IGP.ndg
│ ├── L3 topology IPv4 IGP.png
│ ├── L3 topology IPv6 IGP.ndg
│ ├── L3 topology IPv6 IGP.png
│ ├── Start here! Import this topology into VIRL.txt
│ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ └── internet-security-ccnp-300-135-tshoot.virl
├── m3
│ ├── .project
│ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ └── internet-security-ccnp-300-135-tshoot.virl
└── m4
│ ├── Ticket #10 solution.md
│ ├── configs
│ ├── PC1-config.txt
│ ├── PC2-config.txt
│ ├── R1-config.txt
│ ├── R2-config.txt
│ ├── R3-config.txt
│ ├── R4-config.txt
│ ├── R5-config.txt
│ ├── R6-config.txt
│ ├── R7-config.txt
│ ├── R8-config.txt
│ ├── R9-config.txt
│ ├── SW1-config.txt
│ ├── SW2-config.txt
│ ├── SW3-config.txt
│ ├── SW4-config.txt
│ ├── SW5-config.txt
│ ├── WebServer-config.txt
│ ├── connections.csv
│ └── devices.csv
│ └── internet-security-ccnp-300-135-tshoot.virl
├── troubleshooting-ip-services
├── L2 topology.png
├── L3 topology.png
├── m2
│ ├── cml
│ │ └── troubleshooting-ip-services.yaml
│ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── Server-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ └── virl
│ │ └── infrastructure-services-ccnp-300-135-tshoot.virl
├── m3
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── Server-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── virl
│ │ ├── .project
│ │ └── infrastructure-services-ccnp-300-135-tshoot.virl
├── m4
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── Server-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── virl
│ │ ├── .project
│ │ └── infrastructure-services-ccnp-300-135-tshoot.virl
├── m5
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── Server-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── virl
│ │ ├── .project
│ │ └── infrastructure-services-ccnp-300-135-tshoot.virl
└── m6
│ └── after
│ ├── configs
│ ├── PC1-config.txt
│ ├── PC2-config.txt
│ ├── R1-config.txt
│ ├── R2-config.txt
│ ├── R3-config.txt
│ ├── R4-config.txt
│ ├── R5-config.txt
│ ├── R6-config.txt
│ ├── R7-config.txt
│ ├── R8-config.txt
│ ├── R9-config.txt
│ ├── SW1-config.txt
│ ├── SW2-config.txt
│ ├── SW3-config.txt
│ ├── SW4-config.txt
│ ├── SW5-config.txt
│ ├── Server-config.txt
│ ├── connections.csv
│ └── devices.csv
│ └── virl
│ ├── .project
│ └── infrastructure-services-ccnp-300-135-tshoot.virl
├── troubleshooting-ospf-eigrp-ipv4
├── M3
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── ipv4-routing-protocols-ccnp-300-135-tshoot.virl
├── M4
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── ipv4-routing-protocols-ccnp-300-135-tshoot.virl
├── M5
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── ipv4-routing-protocols-ccnp-300-135-tshoot.virl
├── M6
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── ipv4-routing-protocols-ccnp-300-135-tshoot.virl
├── M7
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── ipv4-routing-protocols-ccnp-300-135-tshoot.virl
├── l2-topology.png
├── l3-topology.png
├── m2
│ ├── Start here! Import this topology into VIRL.txt
│ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ └── ipv4-routing-protocols-ccnp-300-135-tshoot.virl
└── readme.md
├── troubleshooting-ospf-eigrp-ipv6
├── M2
│ ├── Start here! Import this topology into VIRL.txt
│ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ └── ipv6-routing-protocols-ccnp-300-135-tshoot.virl
├── M3
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── ipv6-routing-protocols-ccnp-300-135-tshoot.virl
├── M4
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── ipv6-routing-protocols-ccnp-300-135-tshoot.virl
├── M5
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── ipv6-routing-protocols-ccnp-300-135-tshoot.virl
├── M6
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── ipv6-routing-protocols-ccnp-300-135-tshoot.virl
├── M7
│ └── after
│ │ ├── configs
│ │ ├── PC1-config.txt
│ │ ├── PC2-config.txt
│ │ ├── R1-config.txt
│ │ ├── R2-config.txt
│ │ ├── R3-config.txt
│ │ ├── R4-config.txt
│ │ ├── R5-config.txt
│ │ ├── R6-config.txt
│ │ ├── R7-config.txt
│ │ ├── R8-config.txt
│ │ ├── R9-config.txt
│ │ ├── SW1-config.txt
│ │ ├── SW2-config.txt
│ │ ├── SW3-config.txt
│ │ ├── SW4-config.txt
│ │ ├── SW5-config.txt
│ │ ├── WebServer-config.txt
│ │ ├── connections.csv
│ │ └── devices.csv
│ │ └── ipv6-routing-protocols-ccnp-300-135-tshoot.virl
├── l2-topology.png
├── l3-topology.png
└── readme.md
├── virtualization
├── m2
│ ├── after
│ │ ├── isp.cfg
│ │ ├── r1.cfg
│ │ └── r2.cfg
│ └── gre-topology.png
├── m3
│ └── after
│ │ ├── ipsec-transport-mode
│ │ ├── r1.cfg
│ │ └── r2.cfg
│ │ └── ipsec-tunnel-mode
│ │ ├── r1.cfg
│ │ └── r2.cfg
├── m4
│ ├── after
│ │ ├── MR_MS.cfg
│ │ ├── xTR1.cfg
│ │ └── xTR2.cfg
│ └── before
│ │ ├── MR_MS.cfg
│ │ ├── xTR1.cfg
│ │ └── xTR2.cfg
├── m5
│ ├── after
│ │ ├── r1.cfg
│ │ ├── r2.cfg
│ │ ├── sw1.cfg
│ │ └── sw2.cfg
│ ├── before
│ │ ├── R1.cfg
│ │ ├── R2.cfg
│ │ ├── SW1.cfg
│ │ └── SW2.cfg
│ └── vxlan-topology.png
└── m6
│ ├── after
│ ├── r1.cfg
│ ├── r2.cfg
│ └── r3.cfg
│ └── vrf-topology.png
└── vlans-trunking
├── m2
├── SW1.txt
├── SW2.txt
├── SW3.txt
├── SW4.txt
├── physical-topology.png
└── port-mappings.txt
├── m3
├── M3 lab topology.png
├── SW1.txt
├── SW2.txt
├── SW3.txt
└── SW4.txt
├── m4
├── M4 lab topology.png
├── SW1 show vlan output.txt
├── SW1.txt
├── SW2 show vlan output.txt
└── SW2.txt
├── m5
├── After
│ ├── SW1.txt
│ ├── SW2.txt
│ ├── SW3.txt
│ └── SW4.txt
├── Before
│ ├── SW1-before.txt
│ ├── SW2-before.txt
│ ├── SW3-before.txt
│ ├── SW4-before.txt
│ └── show vtp and vlan outputs
│ │ ├── SW1 show vlan.txt
│ │ ├── SW1 show vtp status.txt
│ │ ├── SW2 show vlan.txt
│ │ ├── SW2 show vtp status.txt
│ │ ├── SW3 show vlan.txt
│ │ ├── SW3 show vtp status.txt
│ │ ├── SW4 show vlan.txt
│ │ └── SW4 show vtp status.txt
└── M5 lab topology.png
└── readme.md
/.gitignore:
--------------------------------------------------------------------------------
1 | *.bak
2 | virl-parse.py
3 | debug.log
--------------------------------------------------------------------------------
/automation-sdn/m2/readme.md:
--------------------------------------------------------------------------------
1 | # Software-defined Networking
2 |
3 | ## Cisco DNA Center sandbox
4 |
5 | There are multiple public Cisco DNA Center sandboxes
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | Credentials: *devnetuser*/*Cisco123!*
14 |
15 | ## Cisco SD-Access sandbox
16 |
17 | You must provision a sandbox environment to follow along with the SD-WAN lab. A Cisco DevNet account and the AnyConnect VPN client are required.
18 |
19 | 1. Click [Cisco SD-WAN Reservation](https://devnetsandbox.cisco.com/RM/Diagram/Index/c9679e49-6751-4f43-9bb4-9d7ee162b069?diagramType=Topology) which should take you to Cisco DevNet. If the link doesn't work, go to and look for *Cisco SD-WAN Reservation*.
20 |
21 | 2. Log in when prompted
22 |
23 | 3. Click the *Reserve* button to provision the sandbox. Follow the on-screen instructions.
24 |
25 | Once the sandbox is provisioned and you're connected to the VPN, browse to the vManage NMS address
--------------------------------------------------------------------------------
/automation-sdn/m3/example.rb:
--------------------------------------------------------------------------------
1 | class webserver::apache {
2 |
3 | $apache = $operatingsystem ? {
4 | centos => 'httpd',
5 | ubuntu => 'apache2',
6 | }
7 |
8 | package { $apache:
9 | ensure => 'installed',
10 | }
11 |
12 | service { "$apache":
13 | enable => true,
14 | ensure => running,
15 | }
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/automation-sdn/m3/example.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | - name: Enable OSPF
3 | nclu:
4 | commands:
5 | - add ospf router-id {{ rid }}
6 | - add ospf network {{ prefix }} area {{ area }}
7 | atomic: true
8 | description: "Enable OSPF"
9 |
--------------------------------------------------------------------------------
/automation-sdn/m3/requirements.txt:
--------------------------------------------------------------------------------
1 | requests
2 |
--------------------------------------------------------------------------------
/automation-sdn/m3/vmanage-api.py:
--------------------------------------------------------------------------------
1 | import json
2 | import requests
3 | from requests.auth import HTTPBasicAuth
4 |
5 | # The vManage controller uses cookies for authentication
6 |
7 | s = requests.Session()
8 | data = {
9 | 'j_username': 'admin',
10 | 'j_password': 'C1sco12345'
11 | }
12 | headers = {'Content-type': 'application/x-www-form-urlencoded'}
13 | url = "https://10.10.20.90:8443/j_security_check"
14 | response = s.post(url, headers=headers, data=data, verify=False)
15 |
16 | # To avoid TLS errors, add a DNS or hosts record for "vmanage"
17 | # and use the URL https://vmanage:8443/j_security_check
18 |
19 | # Use the vManage API to view devices
20 |
21 | url = "https://10.10.20.90:8443/dataservice/device"
22 | response = s.get(url, data=data, verify=False)
23 |
24 | print(json.dumps(response.json(), indent=2))
25 |
26 | url = "https://10.10.20.90:8443/dataservice/device/omp/routes/received?deviceId=10.10.1.13"
27 | response = s.get(url, data=data, verify=False)
28 |
29 | # The response has extraneous output, so we show only the "data" heading.
30 |
31 | print(json.dumps(response.json()["data"], indent=2))
32 |
33 | # SD-WAN API documentation: https://developer.cisco.com/docs/sdwan/
--------------------------------------------------------------------------------
/automation-sdn/m3/watch-interface.tcl:
--------------------------------------------------------------------------------
1 | event manager applet WatchGig0/1
2 | event syslog pattern "Line protocol on Interface GigabitEthernet0/1, changed state to down" period 1
3 | action 1.0 cli command "enable"
4 | action 2.0 cli command "configure terminal"
5 | action 3.0 cli command "interface gi0/1"
6 | action 4.0 cli command "shut"
7 | action 5.0 cli command "no shut"
8 | exit
9 |
10 | # To test:
11 | # R1(config)#int gi0/1
12 | # R1(config-if)#shut
13 | # R1(config-if)end
14 | # R1#
15 | # %SYS-5-CONFIG_I: Configured from console by console
16 | # %LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to administratively down
17 | # %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down
18 | # %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up
19 | # %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/after/r5.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R5
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | ip cef
33 | ipv6 unicast-routing
34 | ipv6 cef
35 | !
36 | multilink bundle-name authenticated
37 | !
38 | !
39 | !
40 | !
41 | !
42 | redundancy
43 | !
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | !
58 | interface GigabitEthernet0/0
59 | ip address 10.0.56.5 255.255.255.248
60 | duplex auto
61 | speed auto
62 | media-type rj45
63 | ipv6 address 2001:DB8:56::5/64
64 | !
65 | interface GigabitEthernet0/1
66 | no ip address
67 | shutdown
68 | duplex auto
69 | speed auto
70 | media-type rj45
71 | !
72 | interface GigabitEthernet0/2
73 | no ip address
74 | shutdown
75 | duplex auto
76 | speed auto
77 | media-type rj45
78 | !
79 | interface GigabitEthernet0/3
80 | ip address 10.0.45.5 255.255.255.248
81 | duplex auto
82 | speed auto
83 | media-type rj45
84 | ipv6 address 2001:DB8:45::5/64
85 | !
86 | ip forward-protocol nd
87 | !
88 | !
89 | no ip http server
90 | no ip http secure-server
91 | !
92 | !
93 | !
94 | !
95 | control-plane
96 | !
97 | !
98 | line con 0
99 | line aux 0
100 | line vty 0 4
101 | login
102 | transport input none
103 | !
104 | no scheduler allocate
105 | !
106 | end
107 |
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/after/r6.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R6
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | ip cef
33 | ipv6 unicast-routing
34 | ipv6 cef
35 | !
36 | multilink bundle-name authenticated
37 | !
38 | !
39 | !
40 | !
41 | !
42 | redundancy
43 | !
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | !
58 | interface GigabitEthernet0/0
59 | ip address 10.0.56.6 255.255.255.248
60 | duplex auto
61 | speed auto
62 | media-type rj45
63 | ipv6 address 2001:DB8:56::6/64
64 | !
65 | interface GigabitEthernet0/1
66 | no ip address
67 | shutdown
68 | duplex auto
69 | speed auto
70 | media-type rj45
71 | !
72 | interface GigabitEthernet0/2
73 | ip address 10.0.36.6 255.255.255.248
74 | duplex auto
75 | speed auto
76 | media-type rj45
77 | ipv6 address 2001:DB8:36::6/64
78 | !
79 | interface GigabitEthernet0/3
80 | no ip address
81 | shutdown
82 | duplex auto
83 | speed auto
84 | media-type rj45
85 | !
86 | ip forward-protocol nd
87 | !
88 | !
89 | no ip http server
90 | no ip http secure-server
91 | !
92 | !
93 | !
94 | !
95 | control-plane
96 | !
97 | !
98 | line con 0
99 | line aux 0
100 | line vty 0 4
101 | login
102 | transport input none
103 | !
104 | no scheduler allocate
105 | !
106 | end
107 |
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/after/r7.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R7
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | ip cef
33 | ipv6 unicast-routing
34 | ipv6 cef
35 | !
36 | multilink bundle-name authenticated
37 | !
38 | !
39 | !
40 | !
41 | !
42 | redundancy
43 | !
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | !
58 | interface GigabitEthernet0/0
59 | no ip address
60 | shutdown
61 | duplex auto
62 | speed auto
63 | media-type rj45
64 | !
65 | interface GigabitEthernet0/1
66 | no ip address
67 | shutdown
68 | duplex auto
69 | speed auto
70 | media-type rj45
71 | !
72 | interface GigabitEthernet0/2
73 | ip address 10.0.27.7 255.255.255.240
74 | duplex auto
75 | speed auto
76 | media-type rj45
77 | ipv6 address 2001:DB8:27::7/64
78 | !
79 | interface GigabitEthernet0/3
80 | no ip address
81 | shutdown
82 | duplex auto
83 | speed auto
84 | media-type rj45
85 | !
86 | ip forward-protocol nd
87 | !
88 | !
89 | no ip http server
90 | no ip http secure-server
91 | !
92 | !
93 | !
94 | !
95 | control-plane
96 | !
97 | !
98 | line con 0
99 | line aux 0
100 | line vty 0 4
101 | login
102 | transport input none
103 | !
104 | no scheduler allocate
105 | !
106 | end
107 |
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/before/R1.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R1
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | ip cef
33 | no ipv6 cef
34 | !
35 | multilink bundle-name authenticated
36 | !
37 | !
38 | !
39 | !
40 | !
41 | redundancy
42 | !
43 | !
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | interface GigabitEthernet0/0
58 | ip address 10.0.12.1 255.255.255.252
59 | duplex auto
60 | speed auto
61 | media-type rj45
62 | !
63 | interface GigabitEthernet0/1
64 | ip address 10.0.14.1 255.255.255.248
65 | duplex auto
66 | speed auto
67 | media-type rj45
68 | !
69 | interface GigabitEthernet0/2
70 | ip address 10.0.18.1 255.255.255.240
71 | duplex auto
72 | speed auto
73 | media-type rj45
74 | !
75 | interface GigabitEthernet0/3
76 | ip address 203.0.113.1 255.255.255.252
77 | duplex auto
78 | speed auto
79 | media-type rj45
80 | !
81 | ip forward-protocol nd
82 | !
83 | !
84 | no ip http server
85 | no ip http secure-server
86 |
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/before/R2.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R2
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | ip cef
33 | no ipv6 cef
34 | !
35 | multilink bundle-name authenticated
36 | !
37 | !
38 | !
39 | !
40 | !
41 | redundancy
42 | !
43 | !
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | interface GigabitEthernet0/0
58 | ip address 10.0.12.2 255.255.255.252
59 | duplex auto
60 | speed auto
61 | media-type rj45
62 | !
63 | interface GigabitEthernet0/1
64 | ip address 10.0.23.2 255.255.255.248
65 | duplex auto
66 | speed auto
67 | media-type rj45
68 | !
69 | interface GigabitEthernet0/2
70 | ip address 10.0.27.2 255.255.255.240
71 | duplex auto
72 | speed auto
73 | media-type rj45
74 | !
75 | interface GigabitEthernet0/3
76 | no ip address
77 | shutdown
78 | duplex auto
79 | speed auto
80 | media-type rj45
81 | !
82 | ip forward-protocol nd
83 | !
84 | !
85 | no ip http server
86 | no ip http secure-server
87 |
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/before/R3.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R3
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | ip cef
33 | no ipv6 cef
34 | !
35 | multilink bundle-name authenticated
36 | !
37 | !
38 | !
39 | !
40 | !
41 | redundancy
42 | !
43 | !
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | interface GigabitEthernet0/0
58 | ip address 10.0.34.3 255.255.255.240
59 | duplex auto
60 | speed auto
61 | media-type rj45
62 | !
63 | interface GigabitEthernet0/1
64 | ip address 10.0.23.3 255.255.255.248
65 | duplex auto
66 | speed auto
67 | media-type rj45
68 | !
69 | interface GigabitEthernet0/2
70 | ip address 10.0.36.3 255.255.255.248
71 | duplex auto
72 | speed auto
73 | media-type rj45
74 | !
75 | interface GigabitEthernet0/3
76 | no ip address
77 | shutdown
78 | duplex auto
79 | speed auto
80 | media-type rj45
81 | !
82 | ip forward-protocol nd
83 | !
84 | !
85 | no ip http server
86 | no ip http secure-server
87 |
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/before/R4.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R4
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | ip cef
33 | no ipv6 cef
34 | !
35 | multilink bundle-name authenticated
36 | !
37 | !
38 | !
39 | !
40 | !
41 | redundancy
42 | !
43 | !
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | interface GigabitEthernet0/0
58 | ip address 10.0.34.4 255.255.255.240
59 | duplex auto
60 | speed auto
61 | media-type rj45
62 | !
63 | interface GigabitEthernet0/1
64 | ip address 10.0.14.4 255.255.255.248
65 | duplex auto
66 | speed auto
67 | media-type rj45
68 | !
69 | interface GigabitEthernet0/2
70 | ip address 198.51.100.1 255.255.255.252
71 | duplex auto
72 | speed auto
73 | media-type rj45
74 | !
75 | interface GigabitEthernet0/3
76 | ip address 10.0.45.4 255.255.255.248
77 | duplex auto
78 | speed auto
79 | media-type rj45
80 | !
81 | ip forward-protocol nd
82 | !
83 | !
84 | no ip http server
85 | no ip http secure-server
86 |
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/before/R5.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R5
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | ip cef
33 | no ipv6 cef
34 | !
35 | multilink bundle-name authenticated
36 | !
37 | !
38 | !
39 | !
40 | !
41 | redundancy
42 | !
43 | !
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | interface GigabitEthernet0/0
58 | ip address 10.0.56.5 255.255.255.248
59 | duplex auto
60 | speed auto
61 | media-type rj45
62 | !
63 | interface GigabitEthernet0/1
64 | no ip address
65 | shutdown
66 | duplex auto
67 | speed auto
68 | media-type rj45
69 | !
70 | interface GigabitEthernet0/2
71 | no ip address
72 | shutdown
73 | duplex auto
74 | speed auto
75 | media-type rj45
76 | !
77 | interface GigabitEthernet0/3
78 | ip address 10.0.45.5 255.255.255.248
79 | duplex auto
80 | speed auto
81 | media-type rj45
82 | !
83 | ip forward-protocol nd
84 | !
85 | !
86 | no ip http server
87 | no ip http secure-server
88 |
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/before/R6.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R6
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | ip cef
33 | no ipv6 cef
34 | !
35 | multilink bundle-name authenticated
36 | !
37 | !
38 | !
39 | !
40 | !
41 | redundancy
42 | !
43 | !
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | interface GigabitEthernet0/0
58 | ip address 10.0.56.6 255.255.255.248
59 | duplex auto
60 | speed auto
61 | media-type rj45
62 | !
63 | interface GigabitEthernet0/1
64 | no ip address
65 | shutdown
66 | duplex auto
67 | speed auto
68 | media-type rj45
69 | !
70 | interface GigabitEthernet0/2
71 | ip address 10.0.36.6 255.255.255.248
72 | duplex auto
73 | speed auto
74 | media-type rj45
75 | !
76 | interface GigabitEthernet0/3
77 | no ip address
78 | shutdown
79 | duplex auto
80 | speed auto
81 | media-type rj45
82 | !
83 | ip forward-protocol nd
84 | !
85 | !
86 | no ip http server
87 | no ip http secure-server
88 |
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/before/R7.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R7
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | ip cef
33 | no ipv6 cef
34 | !
35 | multilink bundle-name authenticated
36 | !
37 | !
38 | !
39 | !
40 | !
41 | redundancy
42 | !
43 | !
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | interface GigabitEthernet0/0
58 | no ip address
59 | shutdown
60 | duplex auto
61 | speed auto
62 | media-type rj45
63 | !
64 | interface GigabitEthernet0/1
65 | no ip address
66 | shutdown
67 | duplex auto
68 | speed auto
69 | media-type rj45
70 | !
71 | interface GigabitEthernet0/2
72 | ip address 10.0.27.7 255.255.255.240
73 | duplex auto
74 | speed auto
75 | media-type rj45
76 | !
77 | interface GigabitEthernet0/3
78 | no ip address
79 | shutdown
80 | duplex auto
81 | speed auto
82 | media-type rj45
83 | !
84 | ip forward-protocol nd
85 | !
86 | !
87 | no ip http server
88 | no ip http secure-server
89 |
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/before/R8.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R8
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | no ip icmp rate-limit unreachable
27 | !
28 | !
29 | !
30 | !
31 | !
32 | !
33 | no ip domain lookup
34 | ip cef
35 | no ipv6 cef
36 | !
37 | multilink bundle-name authenticated
38 | !
39 | !
40 | !
41 | !
42 | !
43 | redundancy
44 | !
45 | no cdp log mismatch duplex
46 | !
47 | ip tcp synwait-time 5
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | !
58 | !
59 | !
60 | !
61 | interface GigabitEthernet0/0
62 | no ip address
63 | shutdown
64 | duplex auto
65 | speed auto
66 | media-type rj45
67 | !
68 | interface GigabitEthernet0/1
69 | no ip address
70 | shutdown
71 | duplex auto
72 | speed auto
73 | media-type rj45
74 | !
75 | interface GigabitEthernet0/2
76 | ip address 10.0.18.8 255.255.255.240
77 | duplex auto
78 | speed auto
79 | media-type rj45
80 | !
81 | interface GigabitEthernet0/3
82 | no ip address
83 | shutdown
84 | duplex auto
85 | speed auto
86 | media-type rj45
87 | !
88 | ip forward-protocol nd
89 | !
90 | !
91 | no ip http server
92 | no ip http secure-server
93 |
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/ipv4-rip-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/basic-networking-ip-fundamentals/ipv4-rip-topology.png
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/ipv6-only-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/basic-networking-ip-fundamentals/ipv6-only-topology.png
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/l2-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/basic-networking-ip-fundamentals/l2-topology.png
--------------------------------------------------------------------------------
/basic-networking-ip-fundamentals/readme.md:
--------------------------------------------------------------------------------
1 | # Start Here
2 |
3 | Course: [Basic Networking and IP Fundamentals](https://pluralsight.pxf.io/WDJ5BP)
4 |
5 | ## Router Configurations
6 |
7 | [Starting device configurations](before)—Use if you're setting up your own lab (e.g. GNS3)
8 |
9 | [CML lab configuration](before/cml)—If you're using Cisco Modeling Labs (CML), import the lab topology file
10 |
11 | [Ending configurations](after)—Verify your configurations against these
12 |
--------------------------------------------------------------------------------
/bgp-path-control/m2/before/FR.cfg:
--------------------------------------------------------------------------------
1 | hostname FR
2 | frame-relay switching
3 | !
4 | interface Serial2/0
5 | description R1
6 | no ip address
7 | no shutdown
8 | encapsulation frame-relay
9 | serial restart-delay 0
10 | frame-relay intf-type dce
11 | frame-relay route 102 interface Serial2/1 201
12 | !
13 | interface Serial2/1
14 | description R2
15 | no ip address
16 | no shutdown
17 | encapsulation frame-relay
18 | serial restart-delay 0
19 | frame-relay intf-type dce
20 | frame-relay route 201 interface Serial2/0 102
21 | frame-relay route 203 interface Serial2/2 302
22 | !
23 | interface Serial2/2
24 | description R3
25 | no ip address
26 | no shutdown
27 | encapsulation frame-relay
28 | serial restart-delay 0
29 | frame-relay intf-type dce
30 | frame-relay route 302 interface Serial2/1 203
31 | frame-relay route 304 interface Serial2/3 403
32 | !
33 | interface Serial2/3
34 | description R4
35 | no ip address
36 | no shutdown
37 | encapsulation frame-relay
38 | serial restart-delay 0
39 | frame-relay intf-type dce
40 | frame-relay route 403 interface Serial2/2 304
--------------------------------------------------------------------------------
/bgp-path-control/m2/before/ISP1.cfg:
--------------------------------------------------------------------------------
1 | hostname ISP1
2 | !
3 | username R1 password cisco
4 | !
5 | interface Loopback11
6 | ip address 11.11.11.11 255.255.255.255
7 | !
8 | interface Loopback12
9 | ip address 12.12.12.12 255.255.255.255
10 | !
11 | interface Loopback13
12 | ip address 13.13.13.13 255.255.255.0
13 | !
14 | interface Loopback14
15 | ip address 14.14.14.14 255.255.255.255
16 | !
17 | interface Loopback15
18 | ip address 15.15.15.15 255.255.255.255
19 | !
20 | interface Loopback55
21 | ip address 55.55.55.55 255.255.255.255
22 | !
23 | interface Loopback66
24 | ip address 66.66.66.66 255.255.255.0
25 | !
26 | interface Loopback77
27 | ip address 77.77.77.77 255.255.255.255
28 | !
29 | interface Ethernet0/1
30 | description To R1
31 | no ip address
32 | pppoe enable group R1
33 | no shutdown
34 | !
35 | interface Ethernet0/2
36 | description To R4
37 | ip address 198.51.100.2 255.255.255.252
38 | no shutdown
39 | !
40 | router bgp 65550
41 | bgp log-neighbor-changes
42 | redistribute connected
43 | redistribute static
44 | neighbor 198.51.100.1 remote-as 64477
45 | neighbor 198.51.100.1 password cisco
46 | neighbor 203.0.113.1 remote-as 64477
47 | neighbor 203.0.113.1 password cisco
48 | ip route 0.0.0.0 0.0.0.0 Null0
49 | !
50 | bba-group pppoe R1
51 | virtual-template 1
52 | !
53 | interface Virtual-Template1
54 | ip address 203.0.113.2 255.255.255.0
55 | peer default ip address pool R1
56 | ppp authentication chap
57 | !
58 | interface Dialer1
59 | no ip address
60 | !
61 | ip local pool R1 203.0.113.1
--------------------------------------------------------------------------------
/bgp-path-control/m2/before/Interface mappings.txt:
--------------------------------------------------------------------------------
1 | FR s2/0 <> R1 s2/0
2 | FR s2/1 <> R2 s2/0
3 | FR s2/2 <> R3 s2/0
4 | FR s2/3 <> R4 s2/0
5 | R1 s2/1 <> R4 s2/1
6 | R3 s2/1 <> R6 s2/1
7 | R1 e0/0 <> R8 e0/0
8 | R1 e0/1 <> ISP1 e0/1
9 | R2 e0/0 <> R7 e0/0
10 | R4 e0/0 <> R5 e0/0
11 | R4 e0/2 <> ISP1 e0/2
12 | R5 e0/1 <> R6 e0/1
--------------------------------------------------------------------------------
/bgp-path-control/m2/before/L3 IPv4 topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/bgp-path-control/m2/before/L3 IPv4 topology.png
--------------------------------------------------------------------------------
/bgp-path-control/m2/before/L3 IPv6 topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/bgp-path-control/m2/before/L3 IPv6 topology.png
--------------------------------------------------------------------------------
/bgp-path-control/readme.md:
--------------------------------------------------------------------------------
1 | # Start Here
2 |
3 | ## Router Configurations
4 |
5 | [Starting configurations](m2/before)
--------------------------------------------------------------------------------
/design/m2/Collapsed Core.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m2/Collapsed Core.png
--------------------------------------------------------------------------------
/design/m2/Comparison of L1 L2 and L3 diagrams.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m2/Comparison of L1 L2 and L3 diagrams.png
--------------------------------------------------------------------------------
/design/m2/Core, Distribution, and Access Tiers.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m2/Core, Distribution, and Access Tiers.png
--------------------------------------------------------------------------------
/design/m2/L1 sample topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m2/L1 sample topology.png
--------------------------------------------------------------------------------
/design/m2/L2 sample topology simplified.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m2/L2 sample topology simplified.png
--------------------------------------------------------------------------------
/design/m2/L3 sample topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m2/L3 sample topology.png
--------------------------------------------------------------------------------
/design/m2/Two Access-Distribution blocks connected to the Core.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m2/Two Access-Distribution blocks connected to the Core.png
--------------------------------------------------------------------------------
/design/m2/north-south-east-west.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m2/north-south-east-west.png
--------------------------------------------------------------------------------
/design/m3/Cisco Recommended loop-free Switched Topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m3/Cisco Recommended loop-free Switched Topology.png
--------------------------------------------------------------------------------
/design/m3/Loop-free U topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m3/Loop-free U topology.png
--------------------------------------------------------------------------------
/design/m3/Loop-free inverted-U topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m3/Loop-free inverted-U topology.png
--------------------------------------------------------------------------------
/design/m3/Looped square.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m3/Looped square.png
--------------------------------------------------------------------------------
/design/m3/Looped triangle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m3/Looped triangle.png
--------------------------------------------------------------------------------
/design/m3/Routed topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m3/Routed topology.png
--------------------------------------------------------------------------------
/design/m3/Switched vs routed topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m3/Switched vs routed topology.png
--------------------------------------------------------------------------------
/design/m3/Virtual switch topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m3/Virtual switch topology.png
--------------------------------------------------------------------------------
/design/m4/Generic Multicast Topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m4/Generic Multicast Topology.png
--------------------------------------------------------------------------------
/design/m4/PIM topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/design/m4/PIM topology.png
--------------------------------------------------------------------------------
/first-hop-redundancy-protocols/M2/Interface mappings.txt:
--------------------------------------------------------------------------------
1 | SW1 fa0/2 <-> SW3 fa0/1
2 | SW1 fa0/4 <-> SW3 fa0/3
3 |
4 | SW1 fa0/23 <-> SW2 fa0/1
5 | SW1 fa0/24 <-> SW2 fa0/2
6 |
7 | SW1 fa0/20 <-> SW4 fa0/3
8 | SW1 fa0/22 <-> SW4 fa0/5
9 |
10 | SW2 fa0/4 <-> SW3 fa0/19
11 | SW2 fa0/6 <-> SW3 fa0/21
12 |
13 | SW3 fa0/23 <-> SW4 fa0/1
14 | SW3 fa0/24 <-> SW4 fa0/2
15 |
16 | SW2 fa0/22 <-> SW4 fa0/21
17 | SW2 fa0/24 <-> SW4 fa0/23
18 |
19 |
20 | Commands:
21 |
22 | SW1(config)#int range fa0/2,fa0/4,fa0/20,fa0/22-24
23 | SW1(config-if-range)#switchport trunk encap dot1q
24 | SW1(config-if-range)#switchport mode trunk
25 |
26 | SW2(config)#int range fa0/1-2,fa0/4,fa0/6,fa0/22,fa0/24
27 | SW2(config-if-range)#switchport trunk encap dot1q
28 | SW2(config-if-range)#switchport mode trunk
29 |
30 | SW3(config)#int range fa0/1,fa0/3,fa0/19,fa0/21,fa0/23-24
31 | SW3(config-if-range)#switchport trunk encap dot1q
32 | SW3(config-if-range)#switchport mode trunk
33 |
34 | SW4(config)#int range fa0/1-3,fa0/5,fa0/21,fa0/23
35 | SW4(config-if-range)#switchport trunk encap dot1q
36 | SW4(config-if-range)#switchport mode trunk
--------------------------------------------------------------------------------
/first-hop-redundancy-protocols/M2/SW1 - show vlan brief.txt:
--------------------------------------------------------------------------------
1 | VLAN Name Status Ports
2 | ---- -------------------------------- --------- -------------------------------
3 | 1 default active Fa0/1, Fa0/3, Fa0/5, Fa0/6
4 | Fa0/7, Fa0/8, Fa0/9, Fa0/10
5 | Fa0/11, Fa0/12, Fa0/13, Fa0/14
6 | Fa0/15, Fa0/16, Fa0/17, Fa0/18
7 | Fa0/19, Fa0/21, Gi0/1, Gi0/2
8 | 10 VLAN0010 active
9 | 20 VLAN0020 active
10 | 1002 fddi-default act/unsup
11 | 1003 token-ring-default act/unsup
12 | 1004 fddinet-default act/unsup
13 | 1005 trnet-default act/unsup
14 |
--------------------------------------------------------------------------------
/first-hop-redundancy-protocols/M2/SW2 - show vlan brief.txt:
--------------------------------------------------------------------------------
1 | VLAN Name Status Ports
2 | ---- -------------------------------- --------- -------------------------------
3 | 1 default active Fa0/3, Fa0/5, Fa0/7, Fa0/8
4 | Fa0/9, Fa0/10, Fa0/11, Fa0/12
5 | Fa0/13, Fa0/14, Fa0/15, Fa0/16
6 | Fa0/17, Fa0/18, Fa0/19, Fa0/20
7 | Fa0/21, Fa0/23, Gi0/1, Gi0/2
8 | 10 VLAN0010 active
9 | 20 VLAN0020 active
10 | 1002 fddi-default act/unsup
11 | 1003 token-ring-default act/unsup
12 | 1004 fddinet-default act/unsup
13 | 1005 trnet-default act/unsup
14 |
--------------------------------------------------------------------------------
/first-hop-redundancy-protocols/M2/topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/first-hop-redundancy-protocols/M2/topology.png
--------------------------------------------------------------------------------
/first-hop-redundancy-protocols/M4/Asher.txt:
--------------------------------------------------------------------------------
1 | Asher> show ip
2 |
3 | NAME : Asher[1]
4 | IP/MASK : 3.0.0.2/24
5 | GATEWAY : 3.0.0.254
6 | DNS :
7 | MAC : 00:50:79:66:68:01
8 | LPORT : 10005
9 | RHOST:PORT : 192.168.56.1:10004
10 | MTU: : 1500
11 |
--------------------------------------------------------------------------------
/first-hop-redundancy-protocols/M4/Simeon.txt:
--------------------------------------------------------------------------------
1 | Simeon> show ip
2 |
3 | NAME : Simeon[1]
4 | IP/MASK : 3.0.0.1/24
5 | GATEWAY : 3.0.0.254
6 | DNS :
7 | MAC : 00:50:79:66:68:00
8 | LPORT : 10003
9 | RHOST:PORT : 192.168.56.1:10002
10 | MTU: : 1500
11 |
--------------------------------------------------------------------------------
/first-hop-redundancy-protocols/M4/topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/first-hop-redundancy-protocols/M4/topology.png
--------------------------------------------------------------------------------
/implementing-eigrp/m2/before/r5.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R5
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | no ip domain lookup
33 | ip cef
34 | ipv6 unicast-routing
35 | ipv6 cef
36 | !
37 | multilink bundle-name authenticated
38 | !
39 | !
40 | !
41 | !
42 | !
43 | redundancy
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | !
58 | !
59 | interface GigabitEthernet0/0
60 | ip address 10.0.56.5 255.255.255.248
61 | duplex auto
62 | speed auto
63 | media-type rj45
64 | ipv6 address 2001:DB8:56::5/64
65 | !
66 | interface GigabitEthernet0/1
67 | no ip address
68 | shutdown
69 | duplex auto
70 | speed auto
71 | media-type rj45
72 | !
73 | interface GigabitEthernet0/2
74 | no ip address
75 | shutdown
76 | duplex auto
77 | speed auto
78 | media-type rj45
79 | !
80 | interface GigabitEthernet0/3
81 | ip address 10.0.45.5 255.255.255.248
82 | duplex auto
83 | speed auto
84 | media-type rj45
85 | ipv6 address 2001:DB8:45::5/64
86 | !
87 | ip forward-protocol nd
88 | !
89 | !
90 | no ip http server
91 | no ip http secure-server
92 | !
93 | !
94 | !
95 | !
96 | control-plane
97 | !
98 | !
99 | line con 0
100 | line aux 0
101 | line vty 0 4
102 | login
103 | transport input none
104 | !
105 | no scheduler allocate
106 | !
107 | end
108 |
--------------------------------------------------------------------------------
/implementing-eigrp/m2/before/r6.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R6
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | no ip domain lookup
33 | ip cef
34 | ipv6 unicast-routing
35 | ipv6 cef
36 | !
37 | multilink bundle-name authenticated
38 | !
39 | !
40 | !
41 | !
42 | !
43 | redundancy
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | !
58 | !
59 | interface GigabitEthernet0/0
60 | ip address 10.0.56.6 255.255.255.248
61 | duplex auto
62 | speed auto
63 | media-type rj45
64 | ipv6 address 2001:DB8:56::6/64
65 | !
66 | interface GigabitEthernet0/1
67 | no ip address
68 | shutdown
69 | duplex auto
70 | speed auto
71 | media-type rj45
72 | !
73 | interface GigabitEthernet0/2
74 | ip address 10.0.36.6 255.255.255.248
75 | duplex auto
76 | speed auto
77 | media-type rj45
78 | ipv6 address 2001:DB8:36::6/64
79 | !
80 | interface GigabitEthernet0/3
81 | no ip address
82 | shutdown
83 | duplex auto
84 | speed auto
85 | media-type rj45
86 | !
87 | ip forward-protocol nd
88 | !
89 | !
90 | no ip http server
91 | no ip http secure-server
92 | !
93 | !
94 | !
95 | !
96 | control-plane
97 | !
98 | !
99 | line con 0
100 | line aux 0
101 | line vty 0 4
102 | login
103 | transport input none
104 | !
105 | no scheduler allocate
106 | !
107 | end
108 |
--------------------------------------------------------------------------------
/implementing-eigrp/readme.md:
--------------------------------------------------------------------------------
1 | # Start Here
2 |
3 | Course: [Implementing EIGRP](https://pluralsight.pxf.io/n1jMD6)
4 |
5 | ## Router Configurations
6 |
7 | [Starting configurations](before)
8 |
9 | [Ending configurations](after)—Verify your configurations against these
--------------------------------------------------------------------------------
/implementing-ospf/after/r5.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R5
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | no ip domain lookup
33 | ip cef
34 | ipv6 unicast-routing
35 | ipv6 cef
36 | !
37 | multilink bundle-name authenticated
38 | !
39 | !
40 | !
41 | !
42 | !
43 | redundancy
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | !
58 | !
59 | interface GigabitEthernet0/0
60 | ip address 10.0.56.5 255.255.255.248
61 | duplex auto
62 | speed auto
63 | media-type rj45
64 | ipv6 address 2001:DB8:56::5/64
65 | !
66 | interface GigabitEthernet0/1
67 | no ip address
68 | shutdown
69 | duplex auto
70 | speed auto
71 | media-type rj45
72 | !
73 | interface GigabitEthernet0/2
74 | no ip address
75 | shutdown
76 | duplex auto
77 | speed auto
78 | media-type rj45
79 | !
80 | interface GigabitEthernet0/3
81 | ip address 10.0.45.5 255.255.255.248
82 | duplex auto
83 | speed auto
84 | media-type rj45
85 | ipv6 address 2001:DB8:45::5/64
86 | !
87 | ip forward-protocol nd
88 | !
89 | !
90 | no ip http server
91 | no ip http secure-server
92 | !
93 | !
94 | !
95 | !
96 | control-plane
97 | !
98 | !
99 | line con 0
100 | line aux 0
101 | line vty 0 4
102 | login
103 | transport input none
104 | !
105 | no scheduler allocate
106 | !
107 | end
108 |
--------------------------------------------------------------------------------
/implementing-ospf/after/r6.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R6
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | no ip domain lookup
33 | ip cef
34 | ipv6 unicast-routing
35 | ipv6 cef
36 | !
37 | multilink bundle-name authenticated
38 | !
39 | !
40 | !
41 | !
42 | !
43 | redundancy
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | !
58 | !
59 | interface GigabitEthernet0/0
60 | ip address 10.0.56.6 255.255.255.248
61 | duplex auto
62 | speed auto
63 | media-type rj45
64 | ipv6 address 2001:DB8:56::6/64
65 | !
66 | interface GigabitEthernet0/1
67 | no ip address
68 | shutdown
69 | duplex auto
70 | speed auto
71 | media-type rj45
72 | !
73 | interface GigabitEthernet0/2
74 | ip address 10.0.36.6 255.255.255.248
75 | duplex auto
76 | speed auto
77 | media-type rj45
78 | ipv6 address 2001:DB8:36::6/64
79 | !
80 | interface GigabitEthernet0/3
81 | no ip address
82 | shutdown
83 | duplex auto
84 | speed auto
85 | media-type rj45
86 | !
87 | ip forward-protocol nd
88 | !
89 | !
90 | no ip http server
91 | no ip http secure-server
92 | !
93 | !
94 | !
95 | !
96 | control-plane
97 | !
98 | !
99 | line con 0
100 | line aux 0
101 | line vty 0 4
102 | login
103 | transport input none
104 | !
105 | no scheduler allocate
106 | !
107 | end
108 |
--------------------------------------------------------------------------------
/implementing-ospf/before/r5.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R5
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | no ip domain lookup
33 | ip cef
34 | ipv6 unicast-routing
35 | ipv6 cef
36 | !
37 | multilink bundle-name authenticated
38 | !
39 | !
40 | !
41 | !
42 | !
43 | redundancy
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | !
58 | !
59 | interface GigabitEthernet0/0
60 | ip address 10.0.56.5 255.255.255.248
61 | duplex auto
62 | speed auto
63 | media-type rj45
64 | ipv6 address 2001:DB8:56::5/64
65 | !
66 | interface GigabitEthernet0/1
67 | no ip address
68 | shutdown
69 | duplex auto
70 | speed auto
71 | media-type rj45
72 | !
73 | interface GigabitEthernet0/2
74 | no ip address
75 | shutdown
76 | duplex auto
77 | speed auto
78 | media-type rj45
79 | !
80 | interface GigabitEthernet0/3
81 | ip address 10.0.45.5 255.255.255.248
82 | duplex auto
83 | speed auto
84 | media-type rj45
85 | ipv6 address 2001:DB8:45::5/64
86 | !
87 | ip forward-protocol nd
88 | !
89 | !
90 | no ip http server
91 | no ip http secure-server
92 | !
93 | !
94 | !
95 | !
96 | control-plane
97 | !
98 | !
99 | line con 0
100 | line aux 0
101 | line vty 0 4
102 | login
103 | transport input none
104 | !
105 | no scheduler allocate
106 | !
107 | end
108 |
--------------------------------------------------------------------------------
/implementing-ospf/before/r6.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R6
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | no ip domain lookup
33 | ip cef
34 | ipv6 unicast-routing
35 | ipv6 cef
36 | !
37 | multilink bundle-name authenticated
38 | !
39 | !
40 | !
41 | !
42 | !
43 | redundancy
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | !
58 | !
59 | interface GigabitEthernet0/0
60 | ip address 10.0.56.6 255.255.255.248
61 | duplex auto
62 | speed auto
63 | media-type rj45
64 | ipv6 address 2001:DB8:56::6/64
65 | !
66 | interface GigabitEthernet0/1
67 | no ip address
68 | shutdown
69 | duplex auto
70 | speed auto
71 | media-type rj45
72 | !
73 | interface GigabitEthernet0/2
74 | ip address 10.0.36.6 255.255.255.248
75 | duplex auto
76 | speed auto
77 | media-type rj45
78 | ipv6 address 2001:DB8:36::6/64
79 | !
80 | interface GigabitEthernet0/3
81 | no ip address
82 | shutdown
83 | duplex auto
84 | speed auto
85 | media-type rj45
86 | !
87 | ip forward-protocol nd
88 | !
89 | !
90 | no ip http server
91 | no ip http secure-server
92 | !
93 | !
94 | !
95 | !
96 | control-plane
97 | !
98 | !
99 | line con 0
100 | line aux 0
101 | line vty 0 4
102 | login
103 | transport input none
104 | !
105 | no scheduler allocate
106 | !
107 | end
108 |
--------------------------------------------------------------------------------
/implementing-ospf/before/r7.cfg:
--------------------------------------------------------------------------------
1 | no service timestamps debug uptime
2 | no service timestamps log uptime
3 | no service password-encryption
4 | !
5 | hostname R7
6 | !
7 | boot-start-marker
8 | boot-end-marker
9 | !
10 | !
11 | !
12 | no aaa new-model
13 | ethernet lmi ce
14 | !
15 | !
16 | !
17 | mmi polling-interval 60
18 | no mmi auto-configure
19 | no mmi pvc
20 | mmi snmp-timeout 180
21 | !
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | no ip domain lookup
33 | ip cef
34 | ipv6 unicast-routing
35 | ipv6 cef
36 | !
37 | multilink bundle-name authenticated
38 | !
39 | !
40 | !
41 | !
42 | !
43 | redundancy
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | !
57 | !
58 | !
59 | interface GigabitEthernet0/0
60 | no ip address
61 | shutdown
62 | duplex auto
63 | speed auto
64 | media-type rj45
65 | !
66 | interface GigabitEthernet0/1
67 | no ip address
68 | shutdown
69 | duplex auto
70 | speed auto
71 | media-type rj45
72 | !
73 | interface GigabitEthernet0/2
74 | ip address 10.0.27.7 255.255.255.240
75 | duplex auto
76 | speed auto
77 | media-type rj45
78 | ipv6 address 2001:DB8:27::7/64
79 | !
80 | interface GigabitEthernet0/3
81 | no ip address
82 | shutdown
83 | duplex auto
84 | speed auto
85 | media-type rj45
86 | !
87 | ip forward-protocol nd
88 | !
89 | !
90 | no ip http server
91 | no ip http secure-server
92 | !
93 | !
94 | !
95 | !
96 | control-plane
97 | !
98 | !
99 | line con 0
100 | line aux 0
101 | line vty 0 4
102 | login
103 | transport input none
104 | !
105 | no scheduler allocate
106 | !
107 | end
108 |
--------------------------------------------------------------------------------
/implementing-ospf/ipv4-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/implementing-ospf/ipv4-topology.png
--------------------------------------------------------------------------------
/implementing-ospf/ipv6-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/implementing-ospf/ipv6-topology.png
--------------------------------------------------------------------------------
/implementing-ospf/l2-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/implementing-ospf/l2-topology.png
--------------------------------------------------------------------------------
/implementing-ospf/ospf-ipv4-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/implementing-ospf/ospf-ipv4-topology.png
--------------------------------------------------------------------------------
/implementing-ospf/readme.md:
--------------------------------------------------------------------------------
1 | # Start Here
2 |
3 | Course: [Implementing OSPF](https://pluralsight.pxf.io/ORoqGQ)
4 |
5 | ## Router Configurations
6 |
7 | [Starting configurations](before)
8 |
9 | [Ending configurations](after)—Verify your configurations against these
--------------------------------------------------------------------------------
/infrastructure-security/m2/before/Do not use SW4.txt:
--------------------------------------------------------------------------------
1 | Do not use SW4 in this course
--------------------------------------------------------------------------------
/infrastructure-security/m2/physical-topology-with-new-hostnames.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/infrastructure-security/m2/physical-topology-with-new-hostnames.png
--------------------------------------------------------------------------------
/infrastructure-security/m2/physical-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/infrastructure-security/m2/physical-topology.png
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m2/Using an external terminal emulator with VIRL.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/layer-2-troubleshooting/m2/Using an external terminal emulator with VIRL.png
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m2/Using an external terminal emulator with VIRL.txt:
--------------------------------------------------------------------------------
1 | Xshell download: https://www.netsarang.com/download/free_license.html
2 |
3 | Telnet command: C:\Program Files (x86)\NetSarang\Xshell 5\xshell.exe
4 | Telnet arguments: -url telnet://%h:%p -newtab %t
5 | SSH command: C:\Program Files (x86)\NetSarang\Xshell 5\xshell.exe
6 | SSH arguments: -url ssh://%h:%p -newtab %t
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m2/layer-2-protocols-ccnp-configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m2/layer-2-protocols-ccnp-configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m3/methodology-configs/Server1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: Server1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.7
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 10.0.0.100 netmask 255.255.128.0
53 | route add -net 0.0.0.0/0 gw 10.0.0.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m3/methodology-configs/Server2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: Server2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.7
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 10.0.128.200 netmask 255.255.128.0
53 | route add -net 0.0.0.0/0 gw 10.0.128.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m3/methodology-configs/connections.csv:
--------------------------------------------------------------------------------
1 | Server1,eth1,SW1,GigabitEthernet0/1
2 | SW1,GigabitEthernet0/2,SW2,GigabitEthernet0/2
3 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/2
4 | SW2,GigabitEthernet1/2,R2,GigabitEthernet0/2
5 | R1,GigabitEthernet0/3,SW3,GigabitEthernet0/1
6 | R2,GigabitEthernet0/3,SW3,GigabitEthernet1/1
7 | SW3,GigabitEthernet0/2,SW4,GigabitEthernet0/1
8 | SW4,GigabitEthernet0/2,Server2,eth1
9 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m3/methodology-configs/devices.csv:
--------------------------------------------------------------------------------
1 | R1,IOSv,GigabitEthernet0/2,GigabitEthernet0/3,
2 | Server1,server,eth1,
3 | R2,IOSv,GigabitEthernet0/2,GigabitEthernet0/3,
4 | SW4,IOSvL2,GigabitEthernet0/1,GigabitEthernet0/2,
5 | SW3,IOSvL2,GigabitEthernet0/1,GigabitEthernet0/2,GigabitEthernet1/1,
6 | SW1,IOSvL2,GigabitEthernet0/1,GigabitEthernet0/2,
7 | SW2,IOSvL2,GigabitEthernet0/2,GigabitEthernet1/1,GigabitEthernet1/2,
8 | Server2,server,eth1,
9 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m4/After/layer-2-protocols-ccnp-configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m4/After/layer-2-protocols-ccnp-configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m4/Before/layer-2-protocols-ccnp-configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m4/Before/layer-2-protocols-ccnp-configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m4/topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/layer-2-troubleshooting/m4/topology.png
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m5/After/layer-2-protocols-ccnp-configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m5/After/layer-2-protocols-ccnp-configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m5/Before/layer-2-protocols-ccnp-configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m5/Before/layer-2-protocols-ccnp-configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m6/After/layer-2-protocols-ccnp-configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m6/After/layer-2-protocols-ccnp-configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m6/Before/layer-2-protocols-ccnp-configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m6/Before/layer-2-protocols-ccnp-configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m6/L1 topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/layer-2-troubleshooting/m6/L1 topology.png
--------------------------------------------------------------------------------
/layer-2-troubleshooting/m6/topology diagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/layer-2-troubleshooting/m6/topology diagram.png
--------------------------------------------------------------------------------
/layer-2-troubleshooting/readme.md:
--------------------------------------------------------------------------------
1 | # Cisco Enterprise Networks: Layer 2 Troubleshooting
2 |
3 | The easiest way to set up your troubleshooting lab is to import [the starting topology](m2/layer-2-protocols-ccnp/layer-2-protocols-ccnp-300-135-tshoot.virl) into Cisco VIRL or Cisco Modeling Labs (CML). Alternatively, you can manually set up your own lab in GNS3.
4 |
5 | ## [Starting configuration files](m2)
6 | ### GNS3
7 | - [Individual device configurations](m2/layer-2-protocols-ccnp-configs)
8 | - [Interface mappings](m2/layer-2-protocols-ccnp-configs/connections.csv)
9 | ### VIRL/CML
10 | - [VIRL topology file](m2/layer-2-protocols-ccnp/layer-2-protocols-ccnp-300-135-tshoot.virl)
11 |
--------------------------------------------------------------------------------
/nat-security/m2/FR.cfg:
--------------------------------------------------------------------------------
1 | hostname FR
2 | frame-relay switching
3 | !
4 | interface Serial2/0
5 | description R1
6 | no ip address
7 | no shutdown
8 | encapsulation frame-relay
9 | serial restart-delay 0
10 | frame-relay intf-type dce
11 | frame-relay route 102 interface Serial2/1 201
12 | !
13 | interface Serial2/1
14 | description R2
15 | no ip address
16 | no shutdown
17 | encapsulation frame-relay
18 | serial restart-delay 0
19 | frame-relay intf-type dce
20 | frame-relay route 201 interface Serial2/0 102
21 | frame-relay route 203 interface Serial2/2 302
22 | !
23 | interface Serial2/2
24 | description R3
25 | no ip address
26 | no shutdown
27 | encapsulation frame-relay
28 | serial restart-delay 0
29 | frame-relay intf-type dce
30 | frame-relay route 302 interface Serial2/1 203
31 | frame-relay route 304 interface Serial2/3 403
32 | !
33 | interface Serial2/3
34 | description R4
35 | no ip address
36 | no shutdown
37 | encapsulation frame-relay
38 | serial restart-delay 0
39 | frame-relay intf-type dce
40 | frame-relay route 403 interface Serial2/2 304
--------------------------------------------------------------------------------
/nat-security/m2/Interface mappings.txt:
--------------------------------------------------------------------------------
1 | FR s2/0 <> R1 s2/0
2 | FR s2/1 <> R2 s2/0
3 | FR s2/2 <> R3 s2/0
4 | FR s2/3 <> R4 s2/0
5 | R1 s2/1 <> R4 s2/1
6 | R3 s2/1 <> R6 s2/1
7 | R1 e0/0 <> R8 e0/0
8 | R1 e0/1 <> ISP1 e0/1
9 | R2 e0/0 <> R7 e0/0
10 | R4 e0/0 <> R5 e0/0
11 | R4 e0/2 <> ISP1 e0/2
12 | R5 e0/1 <> R6 e0/1
--------------------------------------------------------------------------------
/nat-security/m2/L3 IPv4 topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/nat-security/m2/L3 IPv4 topology.png
--------------------------------------------------------------------------------
/nat-security/m2/L3 IPv6 topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/nat-security/m2/L3 IPv6 topology.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m2/lab-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m2/lab-topology.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m2/port mappings.txt:
--------------------------------------------------------------------------------
1 | SW1 fa0/2 <> SW3 fa0/1
2 | SW1 fa0/4 <> SW3 fa0/3
3 | SW1 fa0/23 <> SW2 fa0/1
4 | SW1 fa0/24 <> SW2 fa0/2
5 | SW2 fa0/4 <> SW3 fa0/19
6 | SW2 fa0/6 <> SW3 fa0/21
7 | SW3 fa0/23 <> SW4 fa0/1
8 | SW3 fa0/24 <> SW4 fa0/2
9 | SW2 fa0/22 <> SW4 fa0/21
10 | SW2 fa0/24 <> SW4 fa0/23
11 |
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m3/Blocked-ports-unidirectional-link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m3/Blocked-ports-unidirectional-link.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m3/blocked-ports.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m3/blocked-ports.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m3/root-port-links.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m3/root-port-links.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m4/vlan-300-and-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m4/vlan-300-and-400.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m5/mst-final-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m5/mst-final-topology.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m5/mst-full-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m5/mst-full-topology.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m5/mst1-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m5/mst1-topology.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m5/mst2-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m5/mst2-topology.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m6/LACP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m6/LACP.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m6/PAgP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m6/PAgP.png
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m6/URLs.txt:
--------------------------------------------------------------------------------
1 | Catalyst 3560 Switch Command Reference - bit.ly/1P2TB3s
2 | Virtual Switching System (VSS) Q&A - bit.ly/1LQLh2c
--------------------------------------------------------------------------------
/spanning-tree-protocols-etherchannels/m6/static-etherchannel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/spanning-tree-protocols-etherchannels/m6/static-etherchannel.png
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m2/L2 topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/troubleshooting-bgp-gre-tunnels/m2/L2 topology.png
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m2/L3 topology IPv4 BGP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/troubleshooting-bgp-gre-tunnels/m2/L3 topology IPv4 BGP.png
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m2/L3 topology IPv4 IGP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/troubleshooting-bgp-gre-tunnels/m2/L3 topology IPv4 IGP.png
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m2/L3 topology IPv6 IGP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/troubleshooting-bgp-gre-tunnels/m2/L3 topology IPv6 IGP.png
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m2/Start here! Import this topology into VIRL.txt:
--------------------------------------------------------------------------------
1 | Import internet-security-ccnp-300-135-tshoot.virl into VIRL
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m2/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m2/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m2/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
3 | SW3,GigabitEthernet2/0,PC1,eth1
4 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
5 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
6 | SW4,GigabitEthernet2/0,PC2,eth1
7 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
8 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
9 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
10 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
11 | R9,GigabitEthernet0/14,WebServer,eth1
12 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
13 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
14 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
15 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
16 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
17 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
18 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
19 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
20 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
21 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
22 |
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m3/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | TSHOOT
4 |
5 |
6 |
7 |
8 |
9 | com.cisco.vmmaestro.validation.topologyBuilder
10 |
11 |
12 |
13 |
14 |
15 | com.cisco.vmmaestro.validation.topologyNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m3/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m3/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m3/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
3 | SW3,GigabitEthernet2/0,PC1,eth1
4 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
5 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
6 | SW4,GigabitEthernet2/0,PC2,eth1
7 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
8 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
9 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
10 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
11 | R9,GigabitEthernet0/14,WebServer,eth1
12 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
13 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
14 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
15 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
16 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
17 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
18 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
19 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
20 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
21 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
22 |
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m4/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m4/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-bgp-gre-tunnels/m4/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
3 | SW3,GigabitEthernet2/0,PC1,eth1
4 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
5 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
6 | SW4,GigabitEthernet2/0,PC2,eth1
7 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
8 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
9 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
10 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
11 | R9,GigabitEthernet0/14,WebServer,eth1
12 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
13 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
14 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
15 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
16 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
17 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
18 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
19 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
20 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
21 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
22 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/L2 topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/troubleshooting-ip-services/L2 topology.png
--------------------------------------------------------------------------------
/troubleshooting-ip-services/L3 topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/troubleshooting-ip-services/L3 topology.png
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m2/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | route del default dev eth0
53 | dhclient eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m2/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | route del default dev eth0
53 | dhclient eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m2/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
3 | SW3,GigabitEthernet2/0,PC1,eth1
4 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
5 | SW4,GigabitEthernet2/0,PC2,eth1
6 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
7 | R9,GigabitEthernet0/14,Server,eth1
8 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
9 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
10 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
11 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
12 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
13 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
14 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
15 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
16 | R6,GigabitEthernet0/7,R7,GigabitEthernet0/6
17 | SW4,GigabitEthernet2/2,SW2,GigabitEthernet2/2
18 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
19 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
20 | SW5,GigabitEthernet2/3,SW4,GigabitEthernet2/3
21 | SW1,GigabitEthernet3/3,SW3,GigabitEthernet3/3
22 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m3/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | route del default dev eth0
53 | dhclient eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m3/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | route del default dev eth0
53 | dhclient eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m3/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
3 | SW3,GigabitEthernet2/0,PC1,eth1
4 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
5 | SW4,GigabitEthernet2/0,PC2,eth1
6 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
7 | R9,GigabitEthernet0/14,Server,eth1
8 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
9 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
10 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
11 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
12 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
13 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
14 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
15 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
16 | R6,GigabitEthernet0/7,R7,GigabitEthernet0/6
17 | SW4,GigabitEthernet2/2,SW2,GigabitEthernet2/2
18 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
19 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
20 | SW5,GigabitEthernet2/3,SW4,GigabitEthernet2/3
21 | SW1,GigabitEthernet3/3,SW3,GigabitEthernet3/3
22 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m3/after/virl/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | TSHOOT
4 |
5 |
6 |
7 |
8 |
9 | com.cisco.vmmaestro.validation.topologyBuilder
10 |
11 |
12 |
13 |
14 |
15 | com.cisco.vmmaestro.validation.topologyNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m4/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | route del default dev eth0
53 | dhclient eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m4/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | route del default dev eth0
53 | dhclient eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m4/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
3 | SW3,GigabitEthernet2/0,PC1,eth1
4 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
5 | SW4,GigabitEthernet2/0,PC2,eth1
6 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
7 | R9,GigabitEthernet0/14,Server,eth1
8 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
9 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
10 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
11 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
12 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
13 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
14 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
15 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
16 | R6,GigabitEthernet0/7,R7,GigabitEthernet0/6
17 | SW4,GigabitEthernet2/2,SW2,GigabitEthernet2/2
18 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
19 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
20 | SW5,GigabitEthernet2/3,SW4,GigabitEthernet2/3
21 | SW1,GigabitEthernet3/3,SW3,GigabitEthernet3/3
22 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m4/after/virl/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | TSHOOT
4 |
5 |
6 |
7 |
8 |
9 | com.cisco.vmmaestro.validation.topologyBuilder
10 |
11 |
12 |
13 |
14 |
15 | com.cisco.vmmaestro.validation.topologyNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m5/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | route del default dev eth0
53 | dhclient eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m5/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | route del default dev eth0
53 | dhclient eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m5/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
3 | SW3,GigabitEthernet2/0,PC1,eth1
4 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
5 | SW4,GigabitEthernet2/0,PC2,eth1
6 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
7 | R9,GigabitEthernet0/14,Server,eth1
8 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
9 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
10 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
11 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
12 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
13 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
14 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
15 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
16 | R6,GigabitEthernet0/7,R7,GigabitEthernet0/6
17 | SW4,GigabitEthernet2/2,SW2,GigabitEthernet2/2
18 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
19 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
20 | SW5,GigabitEthernet2/3,SW4,GigabitEthernet2/3
21 | SW1,GigabitEthernet3/3,SW3,GigabitEthernet3/3
22 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m5/after/virl/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | TSHOOT
4 |
5 |
6 |
7 |
8 |
9 | com.cisco.vmmaestro.validation.topologyBuilder
10 |
11 |
12 |
13 |
14 |
15 | com.cisco.vmmaestro.validation.topologyNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m6/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | route del default dev eth0
53 | dhclient eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m6/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | route del default dev eth0
53 | dhclient eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m6/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
3 | SW3,GigabitEthernet2/0,PC1,eth1
4 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
5 | SW4,GigabitEthernet2/0,PC2,eth1
6 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
7 | R9,GigabitEthernet0/14,Server,eth1
8 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
9 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
10 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
11 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
12 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
13 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
14 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
15 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
16 | R6,GigabitEthernet0/7,R7,GigabitEthernet0/6
17 | SW4,GigabitEthernet2/2,SW2,GigabitEthernet2/2
18 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
19 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
20 | SW5,GigabitEthernet2/3,SW4,GigabitEthernet2/3
21 | SW1,GigabitEthernet3/3,SW3,GigabitEthernet3/3
22 |
--------------------------------------------------------------------------------
/troubleshooting-ip-services/m6/after/virl/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | TSHOOT
4 |
5 |
6 |
7 |
8 |
9 | com.cisco.vmmaestro.validation.topologyBuilder
10 |
11 |
12 |
13 |
14 |
15 | com.cisco.vmmaestro.validation.topologyNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M3/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M3/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M3/after/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M3/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M4/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M4/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M4/after/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M4/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M5/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M5/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M5/after/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M5/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M6/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M6/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M6/after/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M6/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M7/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M7/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M7/after/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/M7/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/l2-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/troubleshooting-ospf-eigrp-ipv4/l2-topology.png
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/l3-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/troubleshooting-ospf-eigrp-ipv4/l3-topology.png
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/m2/Start here! Import this topology into VIRL.txt:
--------------------------------------------------------------------------------
1 | Import ipv4-routing-protocols-ccnp-300-135-tshoot.virl into VIRL
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/m2/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/m2/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/m2/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/m2/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv4/readme.md:
--------------------------------------------------------------------------------
1 | # Cisco Enterprise Networks: Troubleshooting OSPF and EIGRP for IPv4
2 | ## Lab Setup
3 |
4 | The easiest way to set up your troubleshooting lab is to import [the starting topology](m2/ipv4-routing-protocols-ccnp-300-135-tshoot.virl) into Cisco VIRL or [Cisco Modeling Labs](https://developer.cisco.com/modeling-labs/) (CML). Alternatively, you can manually set up your own lab in GNS3.
5 |
6 | [L2 topology diagram](l2-topology.png)
7 |
8 | [L3 topology diagram](l3-topology.png)
9 |
10 | ## [Starting configuration files](m2)
11 | ### GNS3
12 | - [Individual device configurations](m2/configs)
13 | - [Interface mappings](m2/configs/connections.csv)
14 | ### VIRL/CML
15 | - [VIRL topology file](m2/ipv4-routing-protocols-ccnp-300-135-tshoot.virl)
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M2/Start here! Import this topology into VIRL.txt:
--------------------------------------------------------------------------------
1 | Import ipv6-routing-protocols-ccnp-300-135-tshoot.virl into VIRL
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M2/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M2/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M2/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M2/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M3/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M3/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M3/after/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M3/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M4/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M4/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M4/after/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M4/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M5/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M5/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M5/after/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M5/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M6/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M6/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M6/after/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M6/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M7/after/configs/PC1-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC1
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 172.16.100.101 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 172.16.100.254 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M7/after/configs/PC2-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: PC2
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 0.0.0.0 0.0.0.0 && dhclient
53 | exit 0
54 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M7/after/configs/WebServer-config.txt:
--------------------------------------------------------------------------------
1 | #cloud-config
2 | bootcmd:
3 | - ln -s -t /etc/rc.d /etc/rc.local
4 | hostname: WebServer
5 | manage_etc_hosts: true
6 | runcmd:
7 | - start ttyS0
8 | - systemctl start getty@ttyS0.service
9 | - systemctl start rc-local
10 | - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
11 | - echo "UseDNS no" >> /etc/ssh/sshd_config
12 | - service ssh restart
13 | - service sshd restart
14 | users:
15 | - default
16 | - gecos: User configured by VIRL Configuration Engine 0.21.6
17 | lock-passwd: false
18 | name: cisco
19 | plain-text-passwd: cisco
20 | shell: /bin/bash
21 | ssh-authorized-keys:
22 | - VIRL-USER-SSH-PUBLIC-KEY
23 | sudo: ALL=(ALL) ALL
24 | write_files:
25 | - path: /etc/init/ttyS0.conf
26 | owner: root:root
27 | content: |
28 | # ttyS0 - getty
29 | # This service maintains a getty on ttyS0 from the point the system is
30 | # started until it is shut down again.
31 | start on stopped rc or RUNLEVEL=[12345]
32 | stop on runlevel [!12345]
33 | respawn
34 | exec /sbin/getty -L 115200 ttyS0 vt102
35 | permissions: '0644'
36 | - path: /etc/systemd/system/dhclient@.service
37 | content: |
38 | [Unit]
39 | Description=Run dhclient on %i interface
40 | After=network.target
41 | [Service]
42 | Type=oneshot
43 | ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
44 | RemainAfterExit=yes
45 | owner: root:root
46 | permissions: '0644'
47 | - path: /etc/rc.local
48 | owner: root:root
49 | permissions: '0755'
50 | content: |-
51 | #!/bin/sh
52 | ifconfig eth1 up 192.0.2.100 netmask 255.255.255.0
53 | route add -net 0.0.0.0/0 gw 192.0.2.1 dev eth1
54 | exit 0
55 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/M7/after/configs/connections.csv:
--------------------------------------------------------------------------------
1 | SW1,GigabitEthernet0/1,SW2,GigabitEthernet0/1
2 | SW1,GigabitEthernet1/0,SW3,GigabitEthernet1/0
3 | SW2,GigabitEthernet1/0,SW4,GigabitEthernet1/0
4 | SW3,GigabitEthernet1/2,SW4,GigabitEthernet1/2
5 | SW3,GigabitEthernet2/0,PC1,eth1
6 | SW5,GigabitEthernet1/1,SW1,GigabitEthernet1/1
7 | SW5,GigabitEthernet1/2,SW2,GigabitEthernet1/2
8 | SW5,GigabitEthernet1/3,SW3,GigabitEthernet1/3
9 | SW4,GigabitEthernet2/0,PC2,eth1
10 | SW1,GigabitEthernet2/0,R5,GigabitEthernet0/1
11 | SW1,GigabitEthernet2/1,SW2,GigabitEthernet2/1
12 | SW5,GigabitEthernet2/3,SW3,GigabitEthernet2/3
13 | SW1,GigabitEthernet3/1,SW5,GigabitEthernet3/1
14 | R9,GigabitEthernet0/14,WebServer,eth1
15 | R1,GigabitEthernet0/2,R2,GigabitEthernet0/1
16 | R2,GigabitEthernet0/4,R4,GigabitEthernet0/2
17 | R3,GigabitEthernet0/4,R4,GigabitEthernet0/3
18 | SW2,GigabitEthernet1/1,R1,GigabitEthernet0/1
19 | R4,GigabitEthernet0/4,SW4,GigabitEthernet1/1
20 | R7,GigabitEthernet0/1,SW3,GigabitEthernet3/0
21 | R9,GigabitEthernet0/8,R8,GigabitEthernet0/9
22 | R5,GigabitEthernet0/6,R6,GigabitEthernet0/5
23 | R7,GigabitEthernet0/8,R8,GigabitEthernet0/7
24 | R5,GigabitEthernet0/7,R7,GigabitEthernet0/5
25 | R6,GigabitEthernet0/8,R8,GigabitEthernet0/6
26 | R5,GigabitEthernet0/8,R8,GigabitEthernet0/5
27 | R1,GigabitEthernet0/3,R3,GigabitEthernet0/1
28 |
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/l2-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/troubleshooting-ospf-eigrp-ipv6/l2-topology.png
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/l3-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/troubleshooting-ospf-eigrp-ipv6/l3-topology.png
--------------------------------------------------------------------------------
/troubleshooting-ospf-eigrp-ipv6/readme.md:
--------------------------------------------------------------------------------
1 | # Cisco Enterprise Networks: Troubleshooting OSPF and EIGRP for IPv6
2 | ## Lab Setup
3 |
4 | The easiest way to set up your troubleshooting lab is to import the [starting topology](M2/ipv6-routing-protocols-ccnp-300-135-tshoot.virl) into Cisco VIRL or [Cisco Modeling Labs](https://developer.cisco.com/modeling-labs/) (CML). Alternatively, you can manually set up your own lab in GNS3.
5 |
6 | [L2 topology diagram](l2-topology.png)
7 |
8 | [L3 topology diagram](l3-topology.png)
9 |
10 | ## [Starting configuration files](M2)
11 | ### GNS3
12 | - [Individual device configurations](M2/configs)
13 | - [Interface mappings](M2/configs/connections.csv)
14 | ### VIRL/CML
15 | - [VIRL topology file](M2/ipv6-routing-protocols-ccnp-300-135-tshoot.virl)
--------------------------------------------------------------------------------
/virtualization/m2/gre-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/virtualization/m2/gre-topology.png
--------------------------------------------------------------------------------
/virtualization/m5/vxlan-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/virtualization/m5/vxlan-topology.png
--------------------------------------------------------------------------------
/virtualization/m6/vrf-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/virtualization/m6/vrf-topology.png
--------------------------------------------------------------------------------
/vlans-trunking/m2/physical-topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/vlans-trunking/m2/physical-topology.png
--------------------------------------------------------------------------------
/vlans-trunking/m2/port-mappings.txt:
--------------------------------------------------------------------------------
1 | SW1 fa0/2 <> SW3 fa0/1
2 | SW1 fa0/4 <> SW3 fa0/3
3 | SW1 fa0/20 <> SW4 fa0/3
4 | SW1 fa0/22 <> SW4 fa0/5
5 | SW2 fa0/22 <> SW4 fa0/21
6 | SW2 fa0/24 <> SW4 fa0/23
7 | SW1 fa0/11 <> SW2 fa0/1
8 | SW1 fa0/12 <> SW2 fa0/2
9 | SW2 fa0/4 <> SW3 fa0/19
10 | SW2 fa0/6 <> SW3 fa0/21
11 | SW3 fa0/23 <> SW4 fa0/1
12 | SW3 fa0/24 <> SW4 fa0/2
13 |
--------------------------------------------------------------------------------
/vlans-trunking/m3/M3 lab topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/vlans-trunking/m3/M3 lab topology.png
--------------------------------------------------------------------------------
/vlans-trunking/m4/M4 lab topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/vlans-trunking/m4/M4 lab topology.png
--------------------------------------------------------------------------------
/vlans-trunking/m5/Before/show vtp and vlan outputs/SW1 show vtp status.txt:
--------------------------------------------------------------------------------
1 | SW1#sh vtp status
2 | VTP Version capable : 1 to 3
3 | VTP version running : 1
4 | VTP Domain Name :
5 | VTP Pruning Mode : Disabled
6 | VTP Traps Generation : Disabled
7 | Device ID : 0015.f9fb.1e80
8 | Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
9 |
10 | Feature VLAN:
11 | --------------
12 | VTP Operating Mode : Transparent
13 | Maximum VLANs supported locally : 1005
14 | Number of existing VLANs : 12
15 | Configuration Revision : 0
16 | MD5 digest : 0xC3 0xC4 0x9B 0xE3 0x47 0x45 0xBC 0x39
17 | 0x2E 0x12 0xC3 0x0A 0xC5 0x45 0x1A 0x84
18 |
--------------------------------------------------------------------------------
/vlans-trunking/m5/Before/show vtp and vlan outputs/SW2 show vtp status.txt:
--------------------------------------------------------------------------------
1 | SW2#sh vtp status
2 | VTP Version capable : 1 to 3
3 | VTP version running : 1
4 | VTP Domain Name :
5 | VTP Pruning Mode : Disabled
6 | VTP Traps Generation : Disabled
7 | Device ID : 0015.fa88.4e80
8 | Configuration last modified by 0.0.0.0 at 3-1-93 04:35:27
9 | Local updater ID is 0.0.0.0 (no valid interface found)
10 |
11 | Feature VLAN:
12 | --------------
13 | VTP Operating Mode : Server
14 | Maximum VLANs supported locally : 1005
15 | Number of existing VLANs : 9
16 | Configuration Revision : 8
17 | MD5 digest : 0x95 0xE2 0xD1 0x29 0x0D 0xAF 0x96 0x9B
18 | 0xC5 0x25 0xA7 0x0D 0x80 0xCD 0xE4 0xB6
19 |
--------------------------------------------------------------------------------
/vlans-trunking/m5/Before/show vtp and vlan outputs/SW3 show vtp status.txt:
--------------------------------------------------------------------------------
1 | SW3#sh vtp status
2 | VTP Version capable : 1 to 3
3 | VTP version running : 1
4 | VTP Domain Name :
5 | VTP Pruning Mode : Disabled
6 | VTP Traps Generation : Disabled
7 | Device ID : 0015.fa83.e900
8 | Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
9 | Local updater ID is 0.0.0.0 (no valid interface found)
10 |
11 | Feature VLAN:
12 | --------------
13 | VTP Operating Mode : Server
14 | Maximum VLANs supported locally : 1005
15 | Number of existing VLANs : 5
16 | Configuration Revision : 0
17 | MD5 digest : 0x57 0xCD 0x40 0x65 0x63 0x59 0x47 0xBD
18 | 0x56 0x9D 0x4A 0x3E 0xA5 0x69 0x35 0xBC
19 |
--------------------------------------------------------------------------------
/vlans-trunking/m5/Before/show vtp and vlan outputs/SW4 show vlan.txt:
--------------------------------------------------------------------------------
1 | SW4#sh vlan
2 |
3 | VLAN Name Status Ports
4 | ---- -------------------------------- --------- -------------------------------
5 | 1 default active Fa0/1, Fa0/2, Fa0/4, Fa0/5
6 | Fa0/6, Fa0/7, Fa0/8, Fa0/9
7 | Fa0/10, Fa0/11, Fa0/12, Fa0/13
8 | Fa0/14, Fa0/15, Fa0/16, Fa0/17
9 | Fa0/18, Fa0/19, Fa0/20, Fa0/22
10 | Fa0/23, Fa0/24, Gi0/1, Gi0/2
11 | 1002 fddi-default act/unsup
12 | 1003 token-ring-default act/unsup
13 | 1004 fddinet-default act/unsup
14 | 1005 trnet-default act/unsup
15 |
16 | VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
17 | ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
18 | 1 enet 100001 1500 - - - - - 0 0
19 | 1002 fddi 101002 1500 - - - - - 0 0
20 | 1003 tr 101003 1500 - - - - - 0 0
21 | 1004 fdnet 101004 1500 - - - ieee - 0 0
22 | 1005 trnet 101005 1500 - - - ibm - 0 0
23 |
24 | Remote SPAN VLANs
25 | ------------------------------------------------------------------------------
26 |
27 |
28 | Primary Secondary Type Ports
29 | ------- --------- ----------------- ------------------------------------------
30 |
--------------------------------------------------------------------------------
/vlans-trunking/m5/Before/show vtp and vlan outputs/SW4 show vtp status.txt:
--------------------------------------------------------------------------------
1 | SW4#sh vtp status
2 | VTP Version capable : 1 to 3
3 | VTP version running : 1
4 | VTP Domain Name :
5 | VTP Pruning Mode : Disabled
6 | VTP Traps Generation : Disabled
7 | Device ID : 001d.45cf.e800
8 | Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
9 | Local updater ID is 192.168.23.4 on interface Fa0/3 (first layer3 interface found)
10 |
11 | Feature VLAN:
12 | --------------
13 | VTP Operating Mode : Server
14 | Maximum VLANs supported locally : 1005
15 | Number of existing VLANs : 5
16 | Configuration Revision : 0
17 | MD5 digest : 0x57 0xCD 0x40 0x65 0x63 0x59 0x47 0xBD
18 | 0x56 0x9D 0x4A 0x3E 0xA5 0x69 0x35 0xBC
19 |
--------------------------------------------------------------------------------
/vlans-trunking/m5/M5 lab topology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benpiper/ccnp-enterprise/d1f3000c708de1fb3b17eedb4f2c46fa19489949/vlans-trunking/m5/M5 lab topology.png
--------------------------------------------------------------------------------
/vlans-trunking/readme.md:
--------------------------------------------------------------------------------
1 | # Start Here
2 |
3 | Course: [VLANs and Trunking](https://pluralsight.pxf.io/RyYQJ9)
4 |
--------------------------------------------------------------------------------