Navbar-jp
Strip_tac4_j
title_top_tj.gif
Toolbar-jp

CatOSを実行しているCatalyst 5000と 6000スイッチの内部ルータ(レイヤ 3 カード)使用 InterVLAN ルートの設定

英語版参照
Configuring InterVLAN Routing Using an Internal Router (Layer 3 Card) on Catalyst 5500/5000 and 6500/6000 Switches That Run CatOS System Software

目次


概要

この文書では、内部ルータ(レイヤ3 (L3) カード/モジュール)を使用して、Catalyst スイッチ(CatOS が動作)上でどのように VLAN間Routing設定に関する基本的な情報を提供します。ターム内部ルータは、Catalyst 5000 と 6000 スイッチ上で次の L3 カード/モジュールを参照します。

サポートされた L3 カード実装の、CatOS を使用している Catalyst 5000 または Catalyst 6000 ファミリのどの機種も、この文書で使用されるのと同じ結果が得られます。

注:この文書では、L3 サービス モジュール (WS-X4232-L3) を使用する Catalyst 4000 スイッチ上での InterVLAN ルート設定については記載しません。その詳細については、次の文書を参照してください。

注:上記のセクションの場所を見つけるには、ブラウザの検索機能を使用してください。

この設定は、次に示されるソフトウェアとハードウェア バージョンを使用して開発され、テストされました。

この文書の設定は、独立したラボ環境で実行されました。設定を使用される前に、ご自身のネットワークで、設定またはコマンドがどのように潜在的に影響を及ぼすかを、確実に理解しておいてください。すべてのデバイスの設定は、デフォルト設定があることを確認するために clear config allwrite erase コマンドでクリアされました。

表記法

この文書の中で使用されるテキスト標準規格に関する詳細については、シスコ テクニカル チップの表記法をご覧ください。

ネットワークダイヤグラム

注:この文書で指示されない限り、ワークステーション 1 とワークステーション 2 には接続しないでください。ルータ モジュールで InterVLAN ルーティングまたは多重 VLAN インターフェイスを設定しているお客様から報告いただいたよくある問題点については、後ほどこの文書で説明いたします。

一般設定タスク

ここでは、後のセクションで実行される主な設定タスクに関する概要を提供します。

InterVLAN ルーティング設定

Catalyst スイッチ上で InterVLAN ルーティングを設定するには、次のステップを実行してください。

ステップ 1 スーパーバイザエンジンのコンソールポートにアクセスする。コンソールにアクセスする際に問題があれば、次の文書を参照ください。

注:上記のセクションの場所を見つけるために、ブラウザの検索機能を使用することもできます。

ステップ 2 基本的な管理用のスイッチを設定してください。管理用の Catalyst スイッチを設定するために次のコマンドのセットを使用してください。

Console> (enable) set system name Cat5500
 !-- Configuring the system name.
 System name set.
 Cat5500> (enable) set int sc0 172.16.80.40 255.255.255.0
 !-- Configuring the IP address.
 Interface sc0 IP address and netmask set.
 Cat5500> (enable) set ip route 0.0.0.0 172.16.80.1
 !-- Configuring the default gateway.
 

注:ルータの反対側にあるスイッチを管理できるようにすることを希望される場合、スイッチ上でデフォルトのゲートウェイを設定する必要があります。スイッチは IP ルーティングに参加しませんので、ネットワークの L3 トポロジーを認識しないからです。また、 set ip route 0.0.0.0 172.16.80.1 コマンドを使用する代わりに、デフォルトのゲートウェイを設定するために set ip route default 172.16.80.1 コマンドを使用することができます。

ステップ 3 基本的な管理用にスイッチを設定すれば、次のステップはスイッチ上で必要な数の VLAN を設定することです。弊社のでは、スイッチ上に2つの新しい VLAN (VLAN 10 と VLAN 20) を設定します。

新しい VLAN を作成する前に、スイッチは、VLAN トランキング プロトコル (VTP) サーバ モードまたは VTP 透過モードである必要があります。スイッチが VTP サーバであれば、VLAN を追加する前に VTP ドメイン名を定義する必要があります。これはネットワークにおける、スイッチの数(1 または複数)、またはネットワークで VLAN を他のスイッチにルートするのに VTP を使用しているかどうかにかかわらず定義される必要があります。VTPに関する詳しい情報については、次の文書を参照ください。

スイッチのデフォルトの VTP 設定は、次のとおりです。

Cat5500> (enable) show vtp domain
 Domain Name                      Domain Index VTP Version Local Mode  Password
 -------------------------------- ------------ ----------- ----------- ----------
                                  1            2           server      -

 Vlan-count Max-vlan-storage Config Revision Notifications
 ---------- ---------------- --------------- -------------
 5          1023             0               disabled

 Last Updater    V2 Mode  Pruning  PruneEligible on VLANs
 --------------- -------- -------- -------------------------
 0.0.0.0         disabled disabled 2-1000
 

set vtp コマンドを使用して、ドメイン名とモードを設定します。

Cat5500> (enable) set vtp domain mode transparent
 VTP domain  modified
 !-- Setting the VTP mode.
 Cat5500> (enable) set vtp domain cisco
 VTP domain cisco modified
 !-- Setting the VTP domain name.
 

注:弊社の例では、VTPモードが透過であるように設定しました。ネットワークに応じて、VTP モードを設定してください。弊社では、他のスイッチによって影響されるのを避け、またラボで他のスイッチに影響するのを避けるために透過モードを選びました。

ステップ 4 show vtp domain コマンドを発行して VTP 設定を確認します。

Cat5500> (enable) show vtp domain
 Domain Name                      Domain Index VTP Version Local Mode  Password
 -------------------------------- ------------ ----------- ----------- ----------
 cisco                            1            2           Transparent -

 Vlan-count Max-vlan-storage Config Revision Notifications
 ---------- ---------------- --------------- -------------
 5          1023             0               disabled

 Last Updater    V2 Mode  Pruning  PruneEligible on Vlans
 --------------- -------- -------- -------------------------
 0.0.0.0         disabled disabled 2-1000
 

ステップ 5 VTP ドメインが設定、確認されれば、スイッチに VLAN を作成し始めることができます。デフォルトでは、スイッチ上には、VLAN 1 という名前の VLAN が1つしかありません。また VLAN 1 はデフォルト VLAN と呼ばれます。デフォルトではすべてのポートがこの VLAN に属します。この VLAN を改名または削除することはできません。

VLAN を作成するために、set vlan コマンドを使用します。

Cat5500> (enable) set vlan
 Usage: set vlan  <mod/port>
        (An example of mod/port is 1/1,2/1-12,3/1-2,4/1-12)
        set vlan  [name ] [type ] [state ]
                            [said ] [mtu ] [ring ]
                            [decring ]
                            [bridge ] [parent ]
                            [mode ] [stp ]
                            [translation ] [backupcrf <off|on>]
                            [aremaxhop ] [stemaxhop ]
        (name = 1..32 characters, state = (active, suspend)
         type = (ethernet, fddi, fddinet, trcrf, trbrf)
         said = 1..4294967294, mtu = 576..18190
         hex_ring_number = 0x1..0xfff, decimal_ring_number = 1..4095
         bridge_number = 0x1..0xf, parent = 2..1005, mode = (srt, srb)
         stp = (ieee, ibm, auto), translation = 1..1005
         hopcount = 1..13)
 Set vlan commands:
 ----------------------------------------------------------------------------
 set vlan                     Set vlan information
 set vlan mapping             Map an 802.1Q vlan to an Ethernet vlan
 set vlan                     Vlan number(s)


 Cat5500> (enable) set vlan 10
 !-- Creating VLAN 10
 VTP advertisements transmitting temporarily stopped
 and will resume after the command finishes.
 Vlan 10 configuration successful
 Cat5500> (enable) set vlan 20
 !-- Creating VLAN 20
 VTP advertisements transmitting temporarily stopped
 and will resume after the command finishes.
 Vlan 20 configuration successful
 Cat5500> (enable) set vlan 10 4/1-12
 !-- Adding ports to VLAN 10.
 VLAN 10 modified.
 VLAN 1 modified.
 VLAN  Mod/Ports
 ---- -----------------------
 10    4/1-12
 Cat5500> (enable) set vlan 20 4/13-20
 !-- Adding ports to VLAN 20.
 VLAN 20 modified.
 VLAN 1 modified.
 VLAN  Mod/Ports
 ---- -----------------------
 20    4/13-20
 Cat5500> (enable) show vlan
 VLAN Name                             Status    IfIndex Mod/Ports, Vlans
 ---- -------------------------------- --------- ------- ------------------------
 1    default                          active    443     1/1-2
                                                         3/1-3
                                                         4/21-24
                                                         11/1-48
                                                         12/1-2
 10   VLAN0010                         active    448     4/1-12
 20   VLAN0020                         active    449     4/13-20
 1002 fddi-default                     active    444
 1003 token-ring-default               active    447
 1004 fddinet-default                  active    445
 1005 trnet-default                    active    446


 VLAN Type  SAID       MTU   Parent RingNo BrdgNo Stp  BrdgMode Trans1 Trans2
 ---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
 1    enet  100001     1500  -      -      -      -    -        0      0
 10   enet  100010     1500  -      -      -      -    -        0      0
 20   enet  100020     1500  -      -      -      -    -        0      0
 1002 fddi  101002     1500  -      -      -      -    -        0      0
 1003 trcrf 101003     1500  -      -      -      -    -        0      0
 1004 fdnet 101004     1500  -      -      -      -    -        0      0
 1005 trbrf 101005     1500  -      -      -      ibm  -        0      0

 (Output Suppressed...)
 

ステップ 6 ワークステーションまたはサーバに接続しているポート上にスパニングツリープロトコル (STP) ポートファストを設定します。次のコマンドを発行して、STP ポートファスト機能を有効にします。

Cat5500> (enable) set spantree portfast 4/1-20 enable

 Warning: Spantree port fast start should only be enabled on ports connected to a single host. Connecting
 hubs, concentrators, switches, bridges, etc. to a fast start port can cause temporary spanning tree loops.
 Use with caution.

 Spantree ports 4/1-20 fast start enabled.
 

注:このステップはオプションですが、通常のワークステーションまたはサーバに接続しているポートで STP ポートファストを有効にする事をお勧めします。なぜポートファスト有効にするかに関する詳細については、次の文書を参照ください。

ステップ 7 スーパーバイザエンジンの必要な数の VLAN を作成後、トラフィックをルートしたい各 VLAN 用のルータ モジュールで VLAN インターフェイスを設定することが必要になります。

次のステップは、session<module#>コマンド(ルータ モジュールが位置するスロットを示す)を発行することで、ルータ モジュールにアクセスします。例では、RSM は次に示されるようにスロット7 に位置します。

Cat5500> (enable) show module 7
 Mod Slot Ports Module-Type               Model               Sub Status
 --- ---- ----- ------------------------- ------------------- --- --------
 7   7    1     Route Switch              WS-X5302            no  ok

 Mod Module-Name         Serial-Num
 --- ------------------- --------------------
 7                       00006591991

 Mod MAC-Address(es)                        Hw     Fw         Sw
 --- -------------------------------------- ------ ---------- -----------------
 7   00-e0-1e-91-b5-08 to 00-e0-1e-91-b5-09 4.5    20.20      12.0(5)W5(12)
 Cat5500> (enable) session 7
 Trying Router-7...
 Connected to Router-7.
 Escape character is '^]'.

 Router>
 

ステップ 8 ルータ モジュールの enable と Telnet のためのパスワードを設定します。このステップもオプションですが、スーパーバイザエンジンを通さずに、直接 Telnet を通してルータ モジュールにアクセスしようとするならば、Telnet パスワードは必要です。次のコマンドを使用して、ルータ モジュールのパスワードを設定します。

Router>enable
 Router#configure terminal
 !-- Entering the Global Configuration mode.
 Enter configuration commands, one per line.  End with CNTL/Z.
 Router(config)#enable password cisco
 !-- Setting enable password.
 Router(config)#line vty 0 4
 Router(config-line)#login
 Router(config-line)#password cisco
 !-- Setting Telnet password.
 Router(config-line)#end
 Router#
 05:22:40: %SYS-5-CONFIG_I: Configured from console by vty0 (127.0.0.2)
 Router#
 

ステップ 9 VLAN間 ルーティングを設定する上で、これ以降のステップは重要です。これ以降のステップでは、2つの VLAN インターフェイスを作成し、その VLAN インターフェイスに IP アドレスを割り当て、モジュールでルーティングを有効にします。

注:ルータ モジュールでは、VLAN インターフェイスは仮想のインターフェイスですが、物理的なインターフェイスとして設定されます。

特権 exec モードから、次のコマンドを使用します。

Router#configure terminal
 Enter configuration commands, one per line.  End with CNTL/Z.
 !-- Configuring interface VLAN 1 and assigning it an IP address;
 !-- we are configuring an interface VLAN 1 for management purposes only
 !-- so that we can Telnet or ping the switch from the workstation.
 Router(config)#interface vlan 1
 Router(config-if)#no shut
 Router(config-if)#ip address 172.16.80.79 255.255.255.0
 Router(config-if)#exit

 !-- Configuring interface VLAN 10 and assigning it an IP address.
 Router(config)#interface vlan 10
 Router(config-if)#no shut
 Router(config-if)#ip address 10.10.10.1 255.255.255.0
 Router(config-if)#exit

 !-- Configuring interface VLAN 20 and assigning it an IP address.
 Router(config)#interface vlan 20
 Router(config-if)#ip address 10.10.11.1 255.255.255.0
 Router(config-if)#no shut
 Router(config)#ip routing

 !-- Enabling routing protocol on the module.
 !-- The following two commands are optional;
 !-- they are only used if you are using multiple routers in your network.
 !-- Depending on your network, you may want to use a different routing protocol.
 Router(config)#router rip
 Router(config-router)#network 10.0.0.0
 Router(config-router)#network 172.16.0.0

 Router(config-router)#^Z
 Router#
 07:05:17: %SYS-5-CONFIG_I: Configured from console by vty0 (127.0.0.2)
 Router#write memory
 !-- Saving the configuration.
 Building configuration...
 Router#
 

ステップ 10今回のトポロジーによると、この時点でVLAN間 設定が完成します。router# プロンプトで exit をタイプすると、スーパーバイザ モジュールに戻ることができます。

Router#exit
 Cat5500> (enable
 

よくある問題:VLAN インターフェイスの down/down 表示

このセクションでは、Catalyst 5000 または Catalyst 6000 シリーズ ルータ モジュール(RSM、MSFC、RSFC)で VLAN インターフェイスを設定する際に、お客様が遭遇するよくある問題について説明します。

show interface vlan <vlan#> コマンドを発行するとき、ルータ モジュールで設定された VLAN インターフェイスのいくつか、またはすべてを確認できず、それらのステータスが up/up として表示されていないとお客様が報告されています。インターフェイスで no shut を設定したのは確認されています。 up/up として表示される唯一の VLAN インターフェイスは、VLAN 1です。

その状況で、いくつか、またはすべての VLAN インターフェイスが up/up と表示されなければ、最初にチェックすることは、問題の VLAN 用のスイッチ上に有効なポートがあるかどうかです。スイッチ(ルータ ポートを除く)上でその VLAN に割り当てられる少なくとも 1 つのポートがあり、しかもそのポートが接続されている場合のみ、ルータ モジュールの VLAN インターフェイスが up/up になります。これらはとても重要なので、注意してください。この条件が満たされていなければ、ルータ インターフェイスは現れません。

この文書の始めに、ワークステーションを Catalyst 5500 スイッチに接続しないようお願いしました。ここで次のコマンドのセットを発行すれば、インターフェイス VLAN 1 だけが up/up 表示され、他の2つが down 表示されていることがわかります。

Router#sh ip interface brief

 Interface                  IP-Address      OK? Method Status                Protocol

 Vlan1                      172.16.80.79    YES manual up                    up
 Vlan10                     10.10.10.1      YES manual down                  down
 Vlan20                     10.10.11.1      YES manual down                  down

 Router#show interface vlan 1
 Vlan1 is up, line protocol is up
   Hardware is Cat5k Virtual Ethernet, address is 0010.f6a9.9800 (bia 0010.f6a9.9800)
   Internet address is 172.16.80.79/24
   MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255
   Encapsulation ARPA, loopback not set
   ARP type: ARPA, ARP Timeout 04:00:00
   Last input 00:00:00, output 00:00:02, output hang never
   Last clearing of "show interface" counters never
   Queueing strategy: fifo
   Output queue 0/40, 0 drops; input queue 0/75, 0 drops
   5 minute input rate 0 bits/sec, 1 packets/sec
   5 minute output rate 0 bits/sec, 0 packets/sec

 (Output Suppressed...)

 Router#show interface vlan 10
 Vlan10 is down, line protocol is down
   Hardware is Cat5k Virtual Ethernet, address is 0010.f6a9.9800 (bia 0010.f6a9.9800)
   Internet address is 10.10.10.1/24
   MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255
   Encapsulation ARPA, loopback not set
   ARP type: ARPA, ARP Timeout 04:00:00
   Last input 00:00:01, output 00:25:48, output hang never
   Last clearing of "show interface" counters never
   Queueing strategy: fifo
   Output queue 0/40, 0 drops; input queue 0/75, 0 drops
   5 minute input rate 0 bits/sec, 0 packets/sec
   5 minute output rate 0 bits/sec, 0 packets/sec

 (Output Suppressed...)

 Router#show interface vlan 20
 Vlan20 is down, line protocol is down
   Hardware is Cat5k Virtual Ethernet, address is 0010.f6a9.9800 (bia 0010.f6a9.9800)
   Internet address is 10.10.11.1/24
   MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255
   Encapsulation ARPA, loopback not set
   ARP type: ARPA, ARP Timeout 04:00:00
   Last input 00:00:01, output 00:01:04, output hang never
   Last clearing of "show interface" counters never
   Queueing strategy: fifo
   Output queue 0/40, 0 drops; input queue 0/75, 0 drops
   5 minute input rate 2000 bits/sec, 2 packets/sec
   5 minute output rate 1000 bits/sec, 2 packets/sec

 (Output Suppressed...)
 Router#
 

スイッチ上で VLAN 1 に接続されていて有効なポートはありませんが、インターフェイス VLAN 1 は up/up です。VLAN 1 に有効なポート/インターフェイスがあり、それがデフォルトで VLAN 1 のメンバ sc0 interface on the Supervisor Module です。スイッチ(スーパーバイザエンジン)上で次のコマンドを発行して、sc0 インターフェイス設定をチェックします。

Cat5500> (enable) show interface
 sl0: flags=51 <UP ,POINTOPOINT ,RUNNING>
         slip 0.0.0.0 dest 0.0.0.0
 sc0: flags=63 <UP ,BROADCAST ,RUNNING>
         vlan 1 inet 172.16.80.40 netmask 255.255.255.0 broadcast 172.16.80.255
 Cat5500> (enable)
 

ここで、ワークステーション 1のポート 4/1 と、ワークステーショ ン 2のポート 4/13 を接続します。スイッチ上で、 show port 4/1show port 4/13 コマンドを使用して、これらのポートが接続されてステータスを表示していることを確認ください。

Cat5500> (enable) show port 4/1
 Port  Name               Status     Vlan       Level  Duplex Speed Type
 ----- ------------------ ---------- ---------- ------ ------ ----- ------------
  4/1                     connected  10         normal a-half  a-10 10/100BaseTX

 (Output Suppressed...)

 Cat5500> (enable) show port 4/13
 Port  Name               Status     Vlan       Level  Duplex Speed Type
 ----- ------------------ ---------- ---------- ------ ------ ----- ------------
  4/13                    connected  20         normal a-full a-100 10/100BaseTX

 (Output Suppressed...)

 Cat5500> (enable)
 

今度は、ルータ モジュールにログインし、インターフェイス VLAN 10 と VLAN 20 のステータスをチェックします。それらは up/up になっているはずです。次のコマンドのセットを発行して、ルータ モジュールで VLAN インターフェイスのステータスをチェックします。

Cat5500> (enable) session 7
 Trying Router-7...
 Connected to Router-7.
 Escape character is '^]'.


 User Access Verification

 Password:
 !-- Enter the password; in our case it was cisco.
 Router>enable
 Password:
 !-- Enter the password; In our case it was cisco.
 Router#show ip interface brief
 Interface                  IP-Address      OK? Method Status                Protocol
 Vlan1                      172.16.80.79    YES manual up                    up

 Vlan10                     10.10.10.1      YES manual up                    up

 Vlan20                     10.10.11.1      YES manual up                    up

 Router#show interface vlan 10
 Vlan10 is up, line protocol is up
   Hardware is Cat5k Virtual Ethernet, address is 0010.f6a9.9800 (bia 0010.f6a9.9800)
   Internet address is 10.10.10.1/24
   MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255
   Encapsulation ARPA, loopback not set
   ARP type: ARPA, ARP Timeout 04:00:00
   Last input 00:00:01, output 00:46:14, output hang never
   Last clearing of "show interface" counters never
   Queueing strategy: fifo
   Output queue 0/40, 0 drops; input queue 0/75, 0 drops
   5 minute input rate 0 bits/sec, 0 packets/sec
   5 minute output rate 0 bits/sec, 0 packets/sec

 (Output Suppressed...)

 Router#show interface vlan 20
 Vlan20 is up, line protocol is up
   Hardware is Cat5k Virtual Ethernet, address is 0010.f6a9.9800 (bia 0010.f6a9.9800)
   Internet address is 10.10.11.1/24
   MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255
   Encapsulation ARPA, loopback not set
   ARP type: ARPA, ARP Timeout 04:00:00
   Last input 00:00:00, output 00:00:56, output hang never
   Last clearing of "show interface" counters never
   Queueing strategy: fifo
   Output queue 0/40, 0 drops; input queue 0/75, 0 drops
   5 minute input rate 2000 bits/sec, 5 packets/sec
   5 minute output rate 2000 bits/sec, 2 packets/sec

 (Output Suppressed...)

 Router#exit
 Cat5500> (enable)
 

設定の確認

この文書で説明される設定を確認するために、いくつかの PING テストを実行できます。このセクションでは、ワークステーション 2 からのPingを使用してワークステーション 1、スイッチ上の sc0 インターフェイス、およびルータ モジュールの VLAN インターフェイスを確認します。

注:ワークステーション上のデフォルトのゲートウェイを、ルータ モジュールの VLAN インターフェイスであるように設定したことを確認してください。トポロジーでは、ワークステーション 1 上のデフォルトのゲートウェイを 10.10.10.1 に、ワークステーション 2 では、 10.10.11.1 に設定しています。

テスト 1 ワークステーション 2 からワークステーション 1 までの Pinging:

C:\>ipconfig 

 !-- The above command is used to check the IP configuration on the Windows 2000 workstation.
 !-- Use the appropriate commands on the workstations that you use.

 Windows 2000 IP Configuration

 Ethernet adapter Local Area Connection:

 Connection-specific DNS Suffix  . :
         IP Address. . . . . . . . . . . . : 10.10.11.254
         Subnet Mask . . . . . . . . . . . : 255.255.255.0
         Default Gateway . . . . . . . . . : 10.10.11.1

 C:\>ping 10.10.10.254

 Pinging 10.10.10.254 with 32 bytes of data:

 Reply from 10.10.10.254: bytes=32 time=10ms TTL=31
 Reply from 10.10.10.254: bytes=32 time<10ms TTL=31
 Reply from 10.10.10.254: bytes=32 time<10ms TTL=31
 Reply from 10.10.10.254: bytes=32 time<10ms TTL=31

 Ping statistics for 10.10.10.254:
     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
 Approximate round trip times in milli-seconds:
     Minimum = 0ms, Maximum =  10ms, Average =  2ms
 

テスト 2 ワークステーション 2 からスーパーバイザエンジンの sc0 インターフェイスまでのPinging:

C:\>ping 172.16.80.40

 Pinging 172.16.80.40 with 32 bytes of data:

 Reply from 172.16.80.40: bytes=32 time<10ms TTL=59
 Reply from 172.16.80.40: bytes=32 time<10ms TTL=59
 Reply from 172.16.80.40: bytes=32 time<10ms TTL=59
 Reply from 172.16.80.40: bytes=32 time<10ms TTL=59

 Ping statistics for 172.16.80.40:
     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
 Approximate round trip times in milli-seconds:
     Minimum = 0ms, Maximum =  0ms, Average =  0ms
 

テスト 3 ワークステーション 2 からルータ モジュールのインターフェイス VLAN 1 までの Pinging: module:

C:\>ping 172.16.80.79

 Pinging 172.16.80.79 with 32 bytes of data:

 Reply from 172.16.80.79: bytes=32 time<10ms TTL=255
 Reply from 172.16.80.79: bytes=32 time<10ms TTL=255
 Reply from 172.16.80.79: bytes=32 time<10ms TTL=255
 Reply from 172.16.80.79: bytes=32 time<10ms TTL=255

 Ping statistics for 172.16.80.79:
     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
 Approximate round trip times in milli-seconds:
     Minimum = 0ms, Maximum =  0ms, Average =  0ms
 

テスト 4 ワークステーション 2 からルータ モジュールのインターフェイス VLAN 10 までの Pinging:

C:\>ping 10.10.10.1

 Pinging 10.10.10.1 with 32 bytes of data:

 Reply from 10.10.10.1: bytes=32 time<10ms TTL=255
 Reply from 10.10.10.1: bytes=32 time<10ms TTL=255
 Reply from 10.10.10.1: bytes=32 time<10ms TTL=255
 Reply from 10.10.10.1: bytes=32 time<10ms TTL=255

 Ping statistics for 10.10.10.1:
     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
 Approximate round trip times in milli-seconds:
     Minimum = 0ms, Maximum =  0ms, Average =  0ms
 

テスト 5 ワークステーション 2 からルータ モジュールのインターフェイス VLAN 20 までの Pinging:

C:\>ping 10.10.11.1

 Pinging 10.10.11.1 with 32 bytes of data:

 Reply from 10.10.11.1: bytes=32 time<10ms TTL=255
 Reply from 10.10.11.1: bytes=32 time<10ms TTL=255
 Reply from 10.10.11.1: bytes=32 time<10ms TTL=255
 Reply from 10.10.11.1: bytes=32 time<10ms TTL=255

 Ping statistics for 10.10.11.1:
     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
 Approximate round trip times in milli-seconds:
     Minimum = 0ms, Maximum =  0ms, Average =  0ms
 

付録

スーパーバイザ モジュール設定

Cat5500> (enable) show config
 This command shows non-default configurations only.
 Use show config all command to show both default and non-default configurations.
 ...

 begin
 !
 # ***** NON-DEFAULT CONFIGURATION *****
 !
 !
 #time: Tue Apr 10 2001, 09:09:54
 !
 #version 6.1(1)
 !
 set option fddi-user-pri enabled
 set password $2$lx7B$WipkVnLnbYIfrBSqD2SN9.
 set enablepass $2$6/eK$I3lDb2nnP7Fc9JKF3XwRW/
 set prompt Cat5500>
 !
 #errordetection
 set errordetection portcounter enable
 !
 #system
 set system name  Cat5500
 !
 #frame distribution method
 set port channel all distribution mac both
 !
 #vtp
 set vtp domain cisco
 set vtp mode transparent
 set vlan 1 name default type ethernet mtu 1500 said 100001 state active
 set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active
 set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state active stp ieee
 set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active stp ibm
 set vlan 10,20
 set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state acti
 ve mode srb aremaxhop 7 stemaxhop 7 backupcrf off
 !
 #ip
 set interface sc0 1 172.16.80.40/255.255.255.0 172.16.80.255

 set ip route 0.0.0.0/0.0.0.0         172.16.80.79
 !
 #set boot command
 set boot config-register 0x2102
 clear boot system all
 !
 # default port status is enable
 !
 !
 #module 1 : 2-port 1000BaseSX Supervisor
 !
 #module 2 : 4-port 10/100BaseTX Supervisor
 !
 #module 3 : 3-port 1000BaseX Ethernet
 !
 #module 4 : 24-port 10/100BaseTX Ethernet
 set vlan 10   4/1-12
 set vlan 20   4/13-20
 set spantree portfast    4/1-20 enable
 !
 #module 5 : 2-port MM OC-3 Dual-Phy ATM
 !
 #module 6 empty
 !
 #module 7 : 1-port Route Switch
 !
 #module 8 empty
 !
 #module 9 empty
 !
 #module 10 empty
 !
 #module 11 : 48-port 10BaseT Ethernet
 !
 #module 12 : 2-port MM MIC FDDI
 !
 #module 13 empty
 end
 Cat5500> (enable)
 

ルート スイッチ モジュール設定

Router#show running-config
 Building configuration...

 Current configuration:
 !
 version 12.0
 service timestamps debug uptime
 service timestamps log uptime
 no service password-encryption
 !
 hostname Router
 !
 enable password cisco
 !
 ip subnet-zero
 ip cef
 !
 !
 process-max-time 200
 !
 interface Vlan1
  ip address 172.16.80.79 255.255.255.0
  no ip directed-broadcast
 !
 interface Vlan10
  ip address 10.10.10.1 255.255.255.0
  no ip directed-broadcast
 !
 interface Vlan20
  ip address 10.10.11.1 255.255.255.0
  no ip directed-broadcast
 !
 ip classless
 !
 !
 line con 0
  transport input none
 line aux 0
 line vty 0 4
  password cisco
  login
 !
 end

 Router#
 


関連情報



テクニカルサポートトップへ戻る
Updated: Dec 1, 2003Document ID: 10589

Toolbar-jp

All contents copyright (C) 1992--2003 Cisco Systems K.K.