質問編集履歴

1

Crimson_Tide様にアドバイスいただきaccess-listを追加した結果のshow run

2022/07/29 08:03

投稿

omusubi
omusubi

スコア10

test CHANGED
File without changes
test CHANGED
@@ -114,3 +114,109 @@
114
114
  !
115
115
  end
116
116
 
117
+ ##############
118
+ #追記 2022/07/29 17:00
119
+ ##############
120
+ Crimson_Tide様にアドバイスいただきaccess-listを追加した結果のshow run
121
+ Router#show run
122
+ Building configuration...
123
+
124
+ Current configuration : 1159 bytes
125
+ !
126
+ ! Last configuration change at 08:11:05 UTC Fri Jul 29 2022
127
+ !
128
+ version 15.5
129
+ service timestamps debug datetime msec
130
+ service timestamps log datetime msec
131
+ no service password-encryption
132
+ !
133
+ hostname Router
134
+ !
135
+ boot-start-marker
136
+ boot-end-marker
137
+ !
138
+ !
139
+ !
140
+ no aaa new-model
141
+ ethernet lmi ce
142
+ !
143
+ !
144
+ !
145
+ !
146
+ !
147
+ !
148
+ !
149
+ !
150
+ ip cef
151
+ no ipv6 cef
152
+ !
153
+ !
154
+ license udi pid C841M-4X-JSEC/K9 sn FGL231591JQ
155
+ !
156
+ !
157
+ !
158
+ redundancy
159
+ !
160
+ !
161
+ !
162
+ !
163
+ !
164
+ !
165
+ !
166
+ !
167
+ !
168
+ !
169
+ !
170
+ !
171
+ !
172
+ !
173
+ !
174
+ interface GigabitEthernet0/0
175
+ no ip address
176
+ !
177
+ interface GigabitEthernet0/1
178
+ no ip address
179
+ !
180
+ interface GigabitEthernet0/2
181
+ no ip address
182
+ !
183
+ interface GigabitEthernet0/3
184
+ no ip address
185
+ !
186
+ interface GigabitEthernet0/4
187
+ ip address 192.168.15.254 255.255.240.0
188
+ ip access-group 100 in
189
+ duplex auto
190
+ speed auto
191
+ !
192
+ interface GigabitEthernet0/5
193
+ ip address 192.168.16.254 255.255.255.0
194
+ ip access-group 101 in
195
+ duplex auto
196
+ speed auto
197
+ !
198
+ interface Vlan1
199
+ no ip address
200
+ !
201
+ ip forward-protocol nd
202
+ no ip http server
203
+ no ip http secure-server
204
+ !
205
+ !
206
+ !
207
+ !
208
+ !
209
+ access-list 100 permit icmp host 192.168.0.1 any
210
+ access-list 101 permit icmp host 192.168.16.1 any
211
+ !
212
+ !
213
+ line con 0
214
+ no modem enable
215
+ line vty 0 4
216
+ login
217
+ transport input none
218
+ !
219
+ scheduler allocate 20000 1000
220
+ !
221
+ end
222
+