N1 Provisioning Server 3.1, Blades Edition インストールガイド

コントロールプレーンスイッチの構成

N1 Provisioning Server ソフトウェアのコントロールプレーンに接続性を提供するには、Cisco 2950、3550、または 4503 スイッチを使用できます。 典型的なシナリオでは、コントロールプレーンサーバーの管理ポートとシャーシスイッチの管理ポートは、このスイッチに接続されます。


注 –

ログイン手順とコマンドについては、Cisco のマニュアルを参照してください。


このスイッチで構成された管理 VLAN は、vlan 9 になります。 コントロールプレーンスイッチにログオンして、次のコマンドを入力して VLAN 9 を作成します。


enable
vlan database
 vlan 9 name ManageMentVlan state active media ethernet
 exit

コントロールプレーンサーバーは、管理 VLAN 上でのコントロールプレーンスイッチの IP 接続を必要としません。ただし、任意でこのスイッチで管理 IP アドレスを構成することができます。 次のコマンドを入力して、このスイッチで管理 IP を作成します。


enable
configure terminal
interface Vlan1
 no ip address
 shutdown
 exit
interface Vlan9
 ip address <IP_address> <IP_subnet_mask>
 no shutdown
 end

VLAN 9 インタフェースは IP アドレスで構成されているため、VLAN 9 に外部ルーターへのアップリンクを移動する必要があります。


configure terminal
interface FastEthernet 0/<port>
switchport access vlan 9
speed 100
duplex full
end

デバイスでデフォルトのゲートウェイを設定するには、次のコマンドを入力します。


configure terminal
ip default-gateway <IP_of_default_gateway>
end

スイッチへの telnet 接続を有効にするには、次のコマンドを入力します。


configure terminal
line vty 0 4
 password <PASSWORD>
 login
line vty 5 15
 password <PASSWORD>
 login
 exit

スイッチに enable パスワードを設定するには、次のコマンドを入力します。


configure terminal
enable password 0 <password>
end

ポートを特定の VLAN に移動するには、次の手順を実行します。

  1. telnet または console を使用して、スイッチに接続します。

  2. enable および configure モードに入り、次のコマンドを入力します。


    interface <IF_NAME>
     switchport access vlan <VLAN_ID>
     speed 100
     duplex full
     end
    

すべてのシャーシ NETMGT とコントロール接続を、コントロールプレーンおよびイメージサーバーから VLAN 9 に移動する必要があります。

次の例は、 vlan 9 に移動されており、FastEthernet0/24 に接続されるシャーシスイッチの管理ポートを示しています。


configure terminal
interface FastEthernet0/24
 switchport access vlan 9
 end

終了したら、write mem と入力して、すべての構成を永続的に保存します。

スイッチ構成を表示するには、show configuration と入力します。 次の例は、show configuration コマンドの出力例を示しています。


sw-2950#show configuration
Using 1647 out of 32768 bytes
!
version 12.1
no service single-slot-reload-enable
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname sw-2950
!
enable secret 5 $1$byj9$P2S4zO48RKZBG3Sz0F4J/.
enable password root
!
ip subnet-zero
!
spanning-tree extend system-id
!
!
interface FastEthernet0/1
 no ip address
!
interface FastEthernet0/2
 no ip address

     .!
     .!
     .!

interface FastEthernet0/23

!
interface FastEthernet0/24
 switchport access vlan 9
 no ip address
!
interface Vlan1
 no ip address
 no ip route-cache
 shutdown
!
interface Vlan9
 ip address 10.5.131.210 255.255.255.0
 no ip route-cache
!
ip http server
!
line con 0
line vty 0 4
 password root
 login
line vty 5 15
 password root
 login
!
end