From 89c632577d27abaf4a7928b2171bc7250805d699 Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Thu, 26 Nov 2015 14:38:58 +0100 Subject: [PATCH] switch configurations for separated acq and mtc --- master/opt/tftp/sw1.txt | 37 +++++++++++++------------------- master/opt/tftp/sw2.txt | 47 ++++++++++++++++++++++++----------------- 2 files changed, 43 insertions(+), 41 deletions(-) diff --git a/master/opt/tftp/sw1.txt b/master/opt/tftp/sw1.txt index 80d41d3..dc9a5fc 100644 --- a/master/opt/tftp/sw1.txt +++ b/master/opt/tftp/sw1.txt @@ -1,6 +1,7 @@ -macro name VERSION -macro description 2.4 full-duplex -@ + +! +! Last configuration change at 08:13:53 UTC Wed Jun 12 2013 +! NVRAM config last updated at 08:21:36 UTC Wed Jun 12 2013 ! version 12.2 no service pad @@ -10,7 +11,7 @@ service password-encryption service compress-config service sequence-numbers ! -hostname SWG1 +hostname SW1 ! boot-start-marker boot system flash bootflash:cat4500-ipbase-mz.122-54.SG1.bin @@ -20,6 +21,10 @@ boot-end-marker enable secret 5 $1$OMTZ$xM5SrEPag4m7MGrV1u86/0 ! ! +macro name VERSION +macro description 2.5 +@ +! no aaa new-model ip subnet-zero no ip domain-lookup @@ -42,8 +47,6 @@ spanning-tree extend system-id ! vlan internal allocation policy ascending ! -vlan 10 - name IFORMATION-SYSTEM ! ! ! @@ -277,27 +280,21 @@ interface GigabitEthernet1/44 spanning-tree portfast ! interface GigabitEthernet1/45 - media-type rj45 speed auto duplex auto spanning-tree portfast ! interface GigabitEthernet1/46 - media-type rj45 speed auto duplex auto spanning-tree portfast ! interface GigabitEthernet1/47 - media-type rj45 speed auto duplex auto spanning-tree portfast ! interface GigabitEthernet1/48 - switchport access vlan 10 - switchport mode access - media-type rj45 speed auto duplex auto spanning-tree portfast @@ -315,23 +312,18 @@ interface TenGigabitEthernet1/51 channel-group 1 mode desirable ! interface TenGigabitEthernet1/52 - channel-protocol pagp - channel-group 1 mode desirable + speed auto + duplex auto + spanning-tree portfast ! interface Vlan1 ip address 10.133.26.231 255.255.248.0 ip pim sparse-mode ! -interface Vlan10 - ip address 100.100.100.100 255.255.255.0 - ip pim sparse-mode +ip pim rp-address 10.133.26.232 ! -ip forward-protocol udp echo -ip route 0.0.0.0 0.0.0.0 100.100.100.101 ip http server -ip pim rp-address 10.133.26.231 ! -access-list 101 permit udp host 10.133.26.160 any eq echo ! control-plane ! @@ -352,6 +344,7 @@ line vty 5 15 login ! ntp clock-period 17179594 -ntp server 10.133.26.254 ntp server 10.133.26.160 +ntp server 10.133.26.254 +ntp server 10.133.28.160 end diff --git a/master/opt/tftp/sw2.txt b/master/opt/tftp/sw2.txt index 78cf5c6..ebdcf2b 100644 --- a/master/opt/tftp/sw2.txt +++ b/master/opt/tftp/sw2.txt @@ -1,6 +1,7 @@ -macro name VERSION -macro description 2.4 full-duplex -@ + +! +! Last configuration change at 08:13:53 UTC Wed Jun 12 2013 +! NVRAM config last updated at 08:21:36 UTC Wed Jun 12 2013 ! version 12.2 no service pad @@ -10,7 +11,7 @@ service password-encryption service compress-config service sequence-numbers ! -hostname SWG2 +hostname SW2 ! boot-start-marker boot system flash bootflash:cat4500-ipbase-mz.122-54.SG1.bin @@ -20,6 +21,10 @@ boot-end-marker enable secret 5 $1$OMTZ$xM5SrEPag4m7MGrV1u86/0 ! ! +macro name VERSION +macro description 2.5 +@ +! no aaa new-model ip subnet-zero no ip domain-lookup @@ -42,8 +47,8 @@ spanning-tree extend system-id ! vlan internal allocation policy ascending ! -! -! +vlan 10 + name INFORMATION-SYSTEM ! ! ! @@ -277,25 +282,23 @@ interface GigabitEthernet1/44 spanning-tree portfast ! interface GigabitEthernet1/45 - media-type rj45 speed auto duplex auto spanning-tree portfast ! interface GigabitEthernet1/46 - media-type rj45 speed auto duplex auto spanning-tree portfast ! interface GigabitEthernet1/47 - media-type rj45 speed auto duplex auto spanning-tree portfast ! interface GigabitEthernet1/48 - media-type rj45 + switchport access vlan 10 + switchport mode access speed auto duplex auto spanning-tree portfast @@ -313,23 +316,28 @@ interface TenGigabitEthernet1/51 channel-group 1 mode desirable ! interface TenGigabitEthernet1/52 - channel-protocol pagp - channel-group 1 mode desirable + switchport access vlan 10 + switchport mode access + speed auto + duplex auto + spanning-tree portfast ! interface Vlan1 - ip address 10.133.26.232 255.255.255.0 + ip address 10.133.26.232 255.255.248.0 ip pim sparse-mode ! +interface Vlan10 + ip address 100.100.100.100 255.255.255.0 + ip pim sparse-mode ! -! -! -! -! -! +ip forward-protocol udp echo +ip route 0.0.0.0 0.0.0.0 100.100.100.101 ip http server ip pim rp-address 10.133.26.232 ! +ip http server ! +access-list 101 permit udp host 10.133.28.160 any eq echo ! control-plane ! @@ -350,6 +358,7 @@ line vty 5 15 login ! ntp clock-period 17179594 -ntp server 10.133.26.254 ntp server 10.133.26.160 +ntp server 10.133.26.254 +ntp server 10.133.28.160 end -- 2.30.2