@@ -39,151 +39,6 @@ iface eth0 inet6 static
39
39
down ip -6 rule delete from 2603:10e2:0:2902::8/128 table default
40
40
#
41
41
# The switch front panel interfaces
42
- # "|| true" is added to suppress the error when interface is already a member of VLAN
43
- allow-hotplug fortyGigE0/4
44
- iface fortyGigE0/4 inet manual
45
- pre-up ifconfig fortyGigE0/4 up mtu 9100
46
- post-up brctl addif Vlan1000 fortyGigE0/4 || true
47
- post-down ifconfig fortyGigE0/4 down
48
- #
49
- allow-hotplug fortyGigE0/8
50
- iface fortyGigE0/8 inet manual
51
- pre-up ifconfig fortyGigE0/8 up mtu 9100
52
- post-up brctl addif Vlan1000 fortyGigE0/8 || true
53
- post-down ifconfig fortyGigE0/8 down
54
- #
55
- allow-hotplug fortyGigE0/12
56
- iface fortyGigE0/12 inet manual
57
- pre-up ifconfig fortyGigE0/12 up mtu 9100
58
- post-up brctl addif Vlan1000 fortyGigE0/12 || true
59
- post-down ifconfig fortyGigE0/12 down
60
- #
61
- allow-hotplug fortyGigE0/16
62
- iface fortyGigE0/16 inet manual
63
- pre-up ifconfig fortyGigE0/16 up mtu 9100
64
- post-up brctl addif Vlan1000 fortyGigE0/16 || true
65
- post-down ifconfig fortyGigE0/16 down
66
- #
67
- allow-hotplug fortyGigE0/20
68
- iface fortyGigE0/20 inet manual
69
- pre-up ifconfig fortyGigE0/20 up mtu 9100
70
- post-up brctl addif Vlan1000 fortyGigE0/20 || true
71
- post-down ifconfig fortyGigE0/20 down
72
- #
73
- allow-hotplug fortyGigE0/24
74
- iface fortyGigE0/24 inet manual
75
- pre-up ifconfig fortyGigE0/24 up mtu 9100
76
- post-up brctl addif Vlan1000 fortyGigE0/24 || true
77
- post-down ifconfig fortyGigE0/24 down
78
- #
79
- allow-hotplug fortyGigE0/28
80
- iface fortyGigE0/28 inet manual
81
- pre-up ifconfig fortyGigE0/28 up mtu 9100
82
- post-up brctl addif Vlan1000 fortyGigE0/28 || true
83
- post-down ifconfig fortyGigE0/28 down
84
- #
85
- allow-hotplug fortyGigE0/32
86
- iface fortyGigE0/32 inet manual
87
- pre-up ifconfig fortyGigE0/32 up mtu 9100
88
- post-up brctl addif Vlan1000 fortyGigE0/32 || true
89
- post-down ifconfig fortyGigE0/32 down
90
- #
91
- allow-hotplug fortyGigE0/36
92
- iface fortyGigE0/36 inet manual
93
- pre-up ifconfig fortyGigE0/36 up mtu 9100
94
- post-up brctl addif Vlan1000 fortyGigE0/36 || true
95
- post-down ifconfig fortyGigE0/36 down
96
- #
97
- allow-hotplug fortyGigE0/40
98
- iface fortyGigE0/40 inet manual
99
- pre-up ifconfig fortyGigE0/40 up mtu 9100
100
- post-up brctl addif Vlan1000 fortyGigE0/40 || true
101
- post-down ifconfig fortyGigE0/40 down
102
- #
103
- allow-hotplug fortyGigE0/44
104
- iface fortyGigE0/44 inet manual
105
- pre-up ifconfig fortyGigE0/44 up mtu 9100
106
- post-up brctl addif Vlan1000 fortyGigE0/44 || true
107
- post-down ifconfig fortyGigE0/44 down
108
- #
109
- allow-hotplug fortyGigE0/48
110
- iface fortyGigE0/48 inet manual
111
- pre-up ifconfig fortyGigE0/48 up mtu 9100
112
- post-up brctl addif Vlan1000 fortyGigE0/48 || true
113
- post-down ifconfig fortyGigE0/48 down
114
- #
115
- allow-hotplug fortyGigE0/52
116
- iface fortyGigE0/52 inet manual
117
- pre-up ifconfig fortyGigE0/52 up mtu 9100
118
- post-up brctl addif Vlan1000 fortyGigE0/52 || true
119
- post-down ifconfig fortyGigE0/52 down
120
- #
121
- allow-hotplug fortyGigE0/56
122
- iface fortyGigE0/56 inet manual
123
- pre-up ifconfig fortyGigE0/56 up mtu 9100
124
- post-up brctl addif Vlan1000 fortyGigE0/56 || true
125
- post-down ifconfig fortyGigE0/56 down
126
- #
127
- allow-hotplug fortyGigE0/60
128
- iface fortyGigE0/60 inet manual
129
- pre-up ifconfig fortyGigE0/60 up mtu 9100
130
- post-up brctl addif Vlan1000 fortyGigE0/60 || true
131
- post-down ifconfig fortyGigE0/60 down
132
- #
133
- allow-hotplug fortyGigE0/64
134
- iface fortyGigE0/64 inet manual
135
- pre-up ifconfig fortyGigE0/64 up mtu 9100
136
- post-up brctl addif Vlan1000 fortyGigE0/64 || true
137
- post-down ifconfig fortyGigE0/64 down
138
- #
139
- allow-hotplug fortyGigE0/68
140
- iface fortyGigE0/68 inet manual
141
- pre-up ifconfig fortyGigE0/68 up mtu 9100
142
- post-up brctl addif Vlan1000 fortyGigE0/68 || true
143
- post-down ifconfig fortyGigE0/68 down
144
- #
145
- allow-hotplug fortyGigE0/72
146
- iface fortyGigE0/72 inet manual
147
- pre-up ifconfig fortyGigE0/72 up mtu 9100
148
- post-up brctl addif Vlan1000 fortyGigE0/72 || true
149
- post-down ifconfig fortyGigE0/72 down
150
- #
151
- allow-hotplug fortyGigE0/76
152
- iface fortyGigE0/76 inet manual
153
- pre-up ifconfig fortyGigE0/76 up mtu 9100
154
- post-up brctl addif Vlan1000 fortyGigE0/76 || true
155
- post-down ifconfig fortyGigE0/76 down
156
- #
157
- allow-hotplug fortyGigE0/80
158
- iface fortyGigE0/80 inet manual
159
- pre-up ifconfig fortyGigE0/80 up mtu 9100
160
- post-up brctl addif Vlan1000 fortyGigE0/80 || true
161
- post-down ifconfig fortyGigE0/80 down
162
- #
163
- allow-hotplug fortyGigE0/84
164
- iface fortyGigE0/84 inet manual
165
- pre-up ifconfig fortyGigE0/84 up mtu 9100
166
- post-up brctl addif Vlan1000 fortyGigE0/84 || true
167
- post-down ifconfig fortyGigE0/84 down
168
- #
169
- allow-hotplug fortyGigE0/88
170
- iface fortyGigE0/88 inet manual
171
- pre-up ifconfig fortyGigE0/88 up mtu 9100
172
- post-up brctl addif Vlan1000 fortyGigE0/88 || true
173
- post-down ifconfig fortyGigE0/88 down
174
- #
175
- allow-hotplug fortyGigE0/92
176
- iface fortyGigE0/92 inet manual
177
- pre-up ifconfig fortyGigE0/92 up mtu 9100
178
- post-up brctl addif Vlan1000 fortyGigE0/92 || true
179
- post-down ifconfig fortyGigE0/92 down
180
- #
181
- allow-hotplug fortyGigE0/96
182
- iface fortyGigE0/96 inet manual
183
- pre-up ifconfig fortyGigE0/96 up mtu 9100
184
- post-up brctl addif Vlan1000 fortyGigE0/96 || true
185
- post-down ifconfig fortyGigE0/96 down
186
- #
187
42
# "|| true" is added to suppress the error when interface is already a member of LAG
188
43
# "ip link show | grep -q master" is added to ensure interface is enslaved
189
44
allow-hotplug fortyGigE0/112
@@ -210,14 +65,6 @@ iface fortyGigE0/124 inet manual
210
65
post-up ip link show fortyGigE0/124 | grep -q master && ifconfig fortyGigE0/124 up
211
66
post-down ifconfig fortyGigE0/124 down
212
67
#
213
- # Vlan interfaces
214
- auto Vlan1000
215
- iface Vlan1000 inet static
216
- bridge_ports none
217
- hwaddress ether e4:1d:2d:a5:f3:ad
218
- address 192.168.0.1
219
- netmask 255.255.255.224
220
- #
221
68
# Portchannel interfaces
222
69
allow-hotplug PortChannel01
223
70
iface PortChannel01 inet static
0 commit comments