Re: 問題ID「4957」 SVI設定について

この質問の投稿一覧へ

なし Re: 問題ID「4957」 SVI設定について

msg# 1.2
depth:
1
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2013-3-25 0:50
ktkyz  一人前   投稿数: 22
自分も、ping-tのコマ問に疑問があり
検証してみました。

●検証内容・結果
Cat3550-24-EMIのFa0/3にVLAN2を割り当て
SVI(int vlan 2)を作成、IPを設定(no shutdownなしで)
その後、VLAN2 IFはup/upしました。
自宅インターネット接続ルータAtermにpingし
問題なしです

○(config-if)#no shutdown ←SVI有効化に必要
設定の際にno shutdownは習慣にすべきかと思いますので
必要か?問われる問題が出ましたら必要と考えて
よいと思います。
IOSによっては、no shutdownは必須の場合もあるのか?
詳しい方がいらっしゃいましたら、教えていただきたいです。

------------Cat3550-24-EMI検証結果
Switch#sh vlan b

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gi0/1, Gi0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
Switch#
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 2
Switch(config-vlan)#
Switch(config-vlan)#exit
Switch(config)#
Switch(config)#interface vlan 2
Switch(config-if)#
Switch(config-if)#ip add
Switch(config-if)#ip address
*Mar 1 00:02:12.823: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to down1
Switch(config-if)#ip address 192.168.1.8 255.255.255.0
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#end
Switch#
*Mar 1 00:02:25.639: %SYS-5-CONFIG_I: Configured from console by console
Switch#
Switch#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES unset administratively down down
Vlan2 192.168.1.8 YES manual up down
FastEthernet0/1 unassigned YES unset down down
FastEthernet0/2 unassigned YES unset down down
FastEthernet0/3 unassigned YES unset up up
FastEthernet0/4 unassigned YES unset down down
(省略)
Switch(config)#int fa0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#end
Switch#
*Mar 1 00:03:19.967: %SYS-5-CONFIG_I: Configured from console by console
Switch#
Switch#
Switch#sh ip int bri
Switch#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES unset administratively down down
Vlan2 192.168.1.8 YES manual up down
(省略)
FastEthernet0/3 unassigned YES unset up up
FastEthernet0/4 unassigned YES unset down down
(省略)
Switch#
Switch#
*Mar 1 00:03:49.931: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to up
Switch#
Switch#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES unset administratively down down
Vlan2 192.168.1.8 YES manual up up
FastEthernet0/1 unassigned YES unset down down
FastEthernet0/2 unassigned YES unset down down
FastEthernet0/3 unassigned YES unset up up
FastEthernet0/4 unassigned YES unset down down
FastEthernet0/5 unassigned YES unset down down
(省略)
Switch#
Switch#sh run | Begin interface Vlan2
interface Vlan2
ip address 192.168.1.8 255.255.255.0
!
(省略)

Switch#
Switch#
Switch#sh run int fa0/3
Building configuration...

Current configuration : 83 bytes
!
interface FastEthernet0/3
switchport access vlan 2
switchport mode access
end

Switch#
Switch#ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/202/1000 ms
Switch#

投稿ツリー

  >フォーラム検索へ


Copyright (c) 2020 Ping-t All rights reserved.