From 75daaf6631364ee4123ba1922cb2d1777fedae3c Mon Sep 17 00:00:00 2001 From: wxy <3050128610@qq.com> Date: Tue, 25 Mar 2025 11:12:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script2.txt | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 script2.txt diff --git a/script2.txt b/script2.txt new file mode 100644 index 0000000..e7009df --- /dev/null +++ b/script2.txt @@ -0,0 +1,61 @@ +r1---- +sys +sysnam r1 +int g0/0/1 +ip add 12.0.0.1 24 +ospf netw p2p +int g0/0/0 +ip add 10.0.0.1 24 +ospf netw p2p +int l0 +ip add 1.1.1.1 32 +ospf 1 rou 1.1.1.1 +a 0 +netw 12.0.0.1 0.0.0.0 +netw 1.1.1.1 0.0.0.0 +a 1 +netw 10.0.0.1 0.0.0.0 + +r2--------- +sys +sysnam r2 +int g0/0/1 +ip add 12.0.0.2 24 +ospf netw p2p +int g0/0/0 +ip add 20.0.0.1 24 +ospf netw p2p +int l0 +ip add 2.2.2.2 32 +ospf 1 rou 2.2.2.2 +a 0 +netw 12.0.0.2 0.0.0.0 +netw 2.2.2.2 0.0.0.0 +a 2 +netw 20.0.0.1 0.0.0.0 + +r3----- +sys +sysnam r3 +int g0/0/0 +ip add 10.0.0.2 24 +ospf netw p2p +int l0 +ip add 3.3.3.3 32 +ospf 1 rou 3.3.3.3 +a 1 +netw 3.3.3.3 0.0.0.0 +netw 10.0.0.2 0.0.0.0 + +r4----- +sys +sysnam r3 +int g0/0/0 +ip add 20.0.0.2 24 +ospf netw p2p +int l0 +ip add 4.4.4.4 32 +ospf 1 rou 4.4.4.4 +a 2 +netw 4.4.4.4 0.0.0.0 +netw 20.0.0.2 0.0.0.0 \ No newline at end of file