no switchport
- 機種
- Switch(K)
- モード
- Inteface(M)
- デフォルト
- L2モードで動作しています。
但し、NativeIOS搭載のCatalyst6500はL3モードで動作します。
- IOS
- 12.1(4)EA1
- 試験レベル
- BCMSN
- 構文
- no switchport
- 使用例
Switch(config)#interface fastethernet 0/1 Switch(config-if)#ip address ? % Unrecognized command Switch(config-if)#no switchport Switch(config-if)#ip address ? A.B.C.D IP address dhcp IP Address negotiated via DHCP Switch(config-if)#ip address 172.16.1.1 255.255.0.0
- 解説
- L2ポートをL3ポートとして動作させます。
- Tips
- なお、no switchportコマンドが使用出来る機器はレイヤー3スイッチに限ります。
- 参考リンク
- Google検索
Counter: 18072,
today: 1,
yesterday: 1
最終更新: 2009-08-04 (火) 16:02:56 (JST) (5385d) by staff_mita