
|
|
この章では、Catalyst 6500シリーズ スイッチ上でレイヤ3インターフェイスを設定する方法について説明します。この説明は、次のURLのRelease 12.2のマニュアルに記載されている情報および手順を補足するものです。
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/index.htm
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/index.htm
詳しい説明および設定手順については、次のマニュアルを参照してください。
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/index.htm
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fiprrp_r/index.htm
Release 12.2 Eでの maximum paths コマンドの詳細については、『 Catalyst 6500 Series Switch Cisco IOS Command Reference 』を参照してください。
Policy Feature Card 2(PFC2;ポリシー フィーチャ カード2)およびDistributed Feature Card(DFC)は、 match ip address キーワードや set ip next-hop キーワードを使用するルート マップ シーケンス用のPolicy-Based Routing(PBR;ポリシーベース ルーティング)をハードウェアでサポートします。
PFC2およびすべてのDFCは ip default next-hop PBRキーワードをハードウェアでサポートします。
Multilayer Switch Feature Card 2(MSFC2)は、 match length キーワードおよび set interface キーワードを使用するルート マップ シーケンスをソフトウェアで処理します。
PBRの設定については、次のURLの『
Cisco IOS Quality of Service Solutions Configuration Guide
』
Release 12.2の「Classification」、「Configuring Policy-Based Routing」を参照してください。
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos_c/index.htm
|
Router(config)# interface { vlan vlan_ID } | { type 1 slot/port } | { port-channel port_channel_number } |
||
|
Router# show interfaces [{ vlan vlan_ID } | { type 1 slot/port } | { port-channel port_channel_number }] Router# show ip interfaces [{ vlan vlan_ID } | { type 1 slot/port } | { port-channel port_channel_number }] Router# show running-config interfaces [{ vlan vlan_ID } | { type 1 slot/port } | { port-channel port_channel_number }] |
次に、IP Routing Information Protocol(RIP)ルーティングをイネーブルにする例を示します。
Enter configuration commands, one per line. End with CNTL/Z.
Router(config-router)# network 10.0.0.0
次に、ポートFastEthernet 5/4にIPアドレスを設定する例を示します。
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# interface fastethernet 5/4
Router(config-if)# ip address 172.20.52.106 255.255.255.248
Router(config-if)# no shutdown
次に、show interfacesコマンドを使用して、ポートFastEthernet 5/4のインターフェイスIPアドレスの設定およびステータスを表示する例を示します。
Router# show interfaces fastethernet 5/4
FastEthernet5/4 is up, line protocol is up
Hardware is Cat6K 100Mb Ethernet, address is 0050.f0ac.3058 (bia 0050.f0ac.3058)
Internet address is 172.20.52.106/29
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:01, output never, output hang never
Last clearing of "show interface" counters never
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
7 packets input, 871 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
8 packets output, 1658 bytes, 0 underruns
0 output errors, 0 collisions, 4 interface resets
0 babbles, 0 late collision, 0 deferred
0 output buffer failures, 0 output buffers swapped out
次に、show ip interfaceコマンドを使用して、ポートFastEthernet 5/4の詳細な設定およびステータスを表示する例を示します。
Router# show ip interface fastethernet 5/4
FastEthernet5/4 is up, line protocol is up
Internet address is 172.20.52.106/29
Broadcast address is 255.255.255.255
Address determined by setup command
Directed broadcast forwarding is disabled
Multicast reserved groups joined: 224.0.0.10
Outgoing access list is not set
Inbound access list is not set
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching on the same interface is disabled
IP Fast switching turbo vector
IP Normal CEF switching turbo vector
IP multicast fast switching is enabled
IP multicast distributed fast switching is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Probe proxy name replies are disabled
Network address translation is disabled
WCCP Redirect outbound is disabled
WCCP Redirect exclude is disabled
BGP Policy Mapping is disabled
IP multicast multilayer switching is disabled
次に、show running-configコマンドを使用して、ポートFastEthernet 5/4のインターフェイスIPアドレスの設定を表示する例を示します。
Router# show running-config interfaces fastethernet 5/4
ip address 172.20.52.106 255.255.255.248
詳しい説明および設定手順については、次のマニュアルを参照してください。
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fatipx_c/index.htm
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fatipx_r/index.htm
Internetwork Packet Exchange(IPX)ルーティングを設定し、レイヤ3インターフェイスにIPXを設定するには、次の作業を行います。
|
IPルーティング プロトコルを指定します。 このステップでは、他のコマンド(ルーティングするネットワークを指定する network コマンドなど)を使用する場合があります。 |
||
|
Router(config)# interface { vlan vlan_ID } | { type 2 slot/port } | { port-channel port_channel_number } |
||
|
Router(config-if)# ipx network [ network | unnumbered ] encapsulation encapsulation_type |
IPXネットワーク番号を設定します。このステップにより、インターフェイス上でIPXルーティングがイネーブルになります。インターフェイス上でIPXルーティングをイネーブルにするとき、カプセル化タイプも指定できます。 |
|
|
Router# show interfaces [{ vlan vlan_ID } | { type 2 slot/port } | { port-channel port_channel_number }] Router# show ipx interfaces [{ vlan vlan_ID } | { type 2 slot/port } | { port-channel port_channel_number }] Router# show running-config interfaces [{ vlan vlan_ID } | { type 2 slot/port } | { port-channel port_channel_number }] |
次に、IPXルーティングをイネーブルにし、インターフェイスVLAN 100にIPXネットワーク アドレスを割り当てる例を示します。
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# ipx router rip
Router(config-ipx-router)# network all
Router(config-ipx-router)# interface vlan 100
Router(config-if)# ipx network 100 encapsulation snap
Router(config-if)# no shutdown
Router# copy running-config startup-config
詳しい説明および設定手順については、次のマニュアルを参照してください。
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fatipx_c/index.htm
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fatipx_r/index.htm
|
Router(config)# interface { vlan vlan_ID } | { type 3 slot/port } | { port-channel port_channel_number } |
||
|
Router# show interfaces [{ vlan vlan_ID } | { type 3 slot/port } | { port-channel port_channel_number }] Router# show appletalk interfaces [{ vlan vlan_ID } | { type 3 slot/port } | { port-channel port_channel_number }] Router# show running-config interfaces [{ vlan vlan_ID } | { type 3 slot/port } | { port-channel port_channel_number }] |
次に、AppleTalkルーティングをイネーブルにして、インターフェイスVLAN 100にAppleTalkケーブルの範囲およびゾーン名を割り当てる例を示します。
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# appletalk routing
Router(config)# interface vlan 100
Router(config-if)# appletalk cable-range 100-100
Router(config-if)# appletalk zone Engineering
Router(config-if)# no shutdown
Router# copy running-config startup-config
レイヤ3インターフェイスにその他のプロトコルを設定する手順については、次のマニュアルを参照してください。
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fapolo_c/index.htm
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fapolo_r/index.htm
All contents copyright (C) 1992--2003 Cisco Systems K.K.