From bffa0ad7b7f5aa11d2a370e6129ccd73e1a992dd Mon Sep 17 00:00:00 2001 From: Bertha Stanfill Date: Thu, 30 Oct 2025 13:41:06 -0700 Subject: [PATCH 1/2] added router3 and router4 --- routers.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/routers.yaml b/routers.yaml index 8ed287d..768282c 100644 --- a/routers.yaml +++ b/routers.yaml @@ -8,4 +8,14 @@ routers: ip: 192.168.1.2 username: admin password: cisco123 - enable_password: enable123 \ No newline at end of file + enable_password: enable123 + - hostname: router3 + ip: 192.168.1.3 + username: admin + password: cisco123 + enable_password: enable123 + - hostname: router4 + ip: 192.168.1.4 + username: admin + password: cisco123 + enable_password: enable123 From 95c6e636a570962523626484366f584cd1d32e75 Mon Sep 17 00:00:00 2001 From: Bertha Stanfill Date: Thu, 30 Oct 2025 13:56:33 -0700 Subject: [PATCH 2/2] added sh ip in brief command --- connect_routers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/connect_routers.py b/connect_routers.py index f73be10..6c8db2d 100644 --- a/connect_routers.py +++ b/connect_routers.py @@ -10,6 +10,7 @@ def connect_to_router(router): print(f"Connecting to {router['hostname']} at {router['ip']}...") print(f"Using username: {router['username']}") print(f"Enable password: {router['enable_password']}") + print(f"Example command: 'show ip interface brief'") print(f"Connection to {router['hostname']} successful!") print("-" * 40)