セットアップ プログラムの完了
セットアップ プログラムを完了し、スイッチの初期設定を作成する手順は、次のとおりです。
ステップ 1
最初の 2 つのプロンプトで
Yes
を入力します。
Would you like to enter the initial configuration dialog? [yes/no]: yes At any point you may enter a question mark '?' for help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets '[]'. Basic management setup configures only enough connectivity for management of the system, extended setup will ask you to configure each interface on the system. Would you like to enter basic management setup? [yes/no]: yes
ステップ 2
スイッチのホスト名を入力し、Return を押します。
ホスト名は、コマンド スイッチでは 28 文字以内、メンバー スイッチでは 31 文字以内に制限されています。どのスイッチのホスト名でも、最後の文字には
-n
(n は数字)を使用しないでください。
Enter host name [Switch]: host_name
ステップ 3
イネーブル シークレット パスワードを入力し、Return を押します。
パスワードは 1 ~ 25 文字の英数字で、先頭を数字にすることもできます。大文字と小文字の区別があります。スペースは使用できますが、先行スペースは無視されます。シークレット パスワードは暗号化され、イネーブル パスワードはプレーン テキストです。
Enter enable secret: secret_password
ステップ 4
イネーブル パスワードを入力し、Return を押します。
Enter enable password: enable_password
ステップ 5
仮想端末(Telnet)のパスワードを入力し、Return を押します。
パスワードは 1 ~ 25 文字の英数字で、大文字と小文字の区別があります。スペースは使用できますが、先行スペースは無視されます。
Enter virtual terminal password: terminal-password
ステップ 6
(任意)プロンプトに応答して Simple Network Management Protocol(SNMP; 簡易ネットワーク管理プロトコル)を設定します。あとから、CLI、デバイス マネージャ、または Network Assistant アプリケーションを使用して SNMP を設定することもできます。SNMP をあとで設定する場合は、
no
を入力します。
Configure SNMP Network Management? [no]: no
ステップ 7
管理ネットワークに接続するインターフェイスの名前(物理インターフェイスまたは VLAN 名)を入力し、Return を押します。このリリースでは、常にそのインターフェイスとして
vlan1
を使用します。
Enter interface name used to connect to the management network from the above interface summary: vlan1
ステップ 8
インターフェイスを設定するために、スイッチの IP アドレスとサブネット マスクを入力し、Return を押します。下に示す IP アドレスとサブネット マスクは一例です。
Configuring interface vlan1: Configure IP on this interface? [yes]: yes IP address for this interface: 10.4.120.106 Subnet mask for this interface [255.0.0.0]: 255.0.0.0
ステップ 9
Y を入力して、スイッチをクラスタ コマンド スイッチとして設定します。N
を入力すると、
メンバー スイッチまたはスタンドアロン スイッチとして設定されます。
N
を入力した場合は、Network Assistant GUIに候補スイッチとして表示されます。あとから、CLI、デバイス マネージャ、または Network Assistant アプリケーションを使用して、スイッチをコマンド スイッチとして設定することもできます。あとで設定する場合は、
no
を入力します。
Would you like to enable as a cluster command switch? [yes/no]: no
以上でスイッチの初期設定が完了しました。スイッチに初期設定が表示されます。次に出力例を示します。
The following configuration command script was created: enable secret 5 $1$Ulq8$DlA/OiaEbl90WcBPd9cOn1 enable password enable_password password terminal-password ip address 10.4.120.106 255.0.0.0 interface FastEthernet0/1 interface FastEthernet0/2 interface FastEthernet0/3 interface GigabitEthernet0/28
ステップ 10
次の選択肢が表示されます。
[0] Go to the IOS command prompt without saving this config. [1] Return back to the setup without saving this config. [2] Save this configuration to nvram and exit. If you want to save the configuration and use it the next time the switch reboots, save it in NVRAM by selecting option 2. Enter your selection [2]:2
選択を行って Return を押します。
セットアップ プログラムが完了すると、スイッチは作成されたデフォルト設定を実行できます。この設定を変更するか、他の管理作業を実行する場合には、次のいずれかのツールを使用します。
•
Command-Line Interface(CLI; コマンドライン インターフェイス)
•
Network Assistant(1 つまたは複数のスイッチの場合)
CLI を使用するには、ターミナル エミュレーション プログラムを使用してコンソール ポートから、または Telnet を使用してネットワークから、
Switch
> プロンプトにコマンドを入力します。設定手順については、スイッチのソフトウェア コンフィギュレーション ガイドまたはスイッチのコマンド リファレンスを参照してください。
Network Assistant を使用する場合は、Cisco.com で『
Getting Started with Cisco Network Assistant
』を参照してください。