Switch# sh run ! interface Vlan1 no ip address no ip route-cache shutdown !※ VLAN に関しては後のシナリオで行いますので、ここでは軽く流すようにしてください。
Switch# sh vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Gi0/1 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)# host SW-A SW-A(config)# int vlan 1 SW-A(config-if)# ip add 192.168.1.1 255.255.255.0
SW-A(config)# int vlan 1
SW-A(config-if)# ip add 192.168.1.1 255.255.255.0
SW-A(config-if)# do sh int vlan 1 ← do コマンド
Vlan1 is administratively down, line protocol is down
Hardware is EtherSVI, address is 0024.900a.0000 (bia 0024.900a.0000)
Internet address is 192.168.1.1/24
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
・
・
・
SW-A(config-if)#
Vlan1 is (物理層) | line protocol is (データリンク層) | 状態、原因 |
---|---|---|
administratively down | down | 管理者が意図的にダウンさせている (インターフェイスで no shutdown を行っていない) |
down | down | 該当する VLAN がない 該当する VLAN がアクティブではない |
up | down | 該当する VLAN に接続している機器が全くない 該当する VLAN に接続している機器の電源が全く入っていない |
up | up | 正常 (管理用として有効な仮想インタフェイス) |
SW-A(config-if)# no shut SW-A(config-if)# do sh int vlan 1 Vlan1 is up, line protocol is down Hardware is EtherSVI, address is 0024.900a.0000 (bia 0024.900a.0000) Internet address is 192.168.1.1/24 MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 ・ ・ ・ SW-A(config-if)#
SW-A(config-if)# do sh int vlan 1 Vlan1 is up, line protocol is up Hardware is EtherSVI, address is 0024.900a.0000 (bia 0024.900a.0000) Internet address is 192.168.1.1/24 MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 ・ ・ ・ SW-A(config-if)# ^Z SW-A#