Reference

Index


各種コマンドの説明

show interface コマンド

Router#show interface
BRI0 is administratively down, line protocol is down
    Hardware is BRI with S/T interface
    MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation HDLC(PPP などのカプセル化), loopback not set
    Last input never, output never, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0 (size/max/drops); Total output drops: 0
    Queueing strategy: weighted fair
    Output queue: 0/1000/64/0 (size/max total/threshold/drops)
        Conversations 0/0/16 (active/max active/max total)
        Reserved Conversations 0/0 (allocated/max allocated)
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
        0 packets input, 0 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 abort
        0 packets output, 0 bytes, 0 underruns
        0 output errors, 0 collisions, 0 interface resets
        0 output buffer failures, 0 output buffers swapped out
        0 carrier transitions
BRI0:1 is administratively down, line protocol is down
    Hardware is BRI with S/T interface
    MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,
        reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation HDLC, loopback not set
    Keepalive set (10 sec)
    Last input never, output never, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0 (size/max/drops); Total output drops: 0
    Queueing strategy: weighted fair
    Output queue: 0/1000/64/0 (size/max total/threshold/drops)
        Conversations 0/0/16 (active/max active/max total)
        Reserved Conversations 0/0 (allocated/max allocated)
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
        0 packets input, 0 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 abort
        0 packets output, 0 bytes, 0 underruns
        0 output errors, 0 collisions, 0 interface resets
        0 output buffer failures, 0 output buffers swapped out
        0 carrier transitions
BRI0:2 is administratively down, line protocol is down
    Hardware is BRI with S/T interface
    MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,
        reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation HDLC, loopback not set
    Keepalive set (10 sec)
    Last input never, output never, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0 (size/max/drops); Total output drops: 0
    Queueing strategy: weighted fair
    Output queue: 0/1000/64/0 (size/max total/threshold/drops)
        Conversations 0/0/16 (active/max active/max total)
        Reserved Conversations 0/0 (allocated/max allocated)
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
        0 packets input, 0 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 abort
        0 packets output, 0 bytes, 0 underruns
        0 output errors, 0 collisions, 0 interface resets
        0 output buffer failures, 0 output buffers swapped out
        0 carrier transitions
Ethernet0 is administratively down, (回線断) line protocol is down
    Hardware is PQUICC Ethernet, address is 00b0.c289.955a (bia 00b0.c289.955a) (データリンクレイヤのアドレス)
    MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
        reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input 00:05:35, output 00:04: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
        468 packets input, 48050 bytes, 0 no buffer
    Received 468 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
    595 packets output, 97176 bytes, 0 underruns
    0 output errors, 0 collisions, 0 interface resets
    0 babbles, 0 late collision, 0 deferred
    0 lost carrier, 0 no carrier
    0 output buffer failures, 0 output buffers swapped out

cdp

Cisco Discovery Protocol
メディアおよびプロトコル依存のデバイスディス可張りプロトコル。Cisco製のルータ、アクセスサーバー、ブリッジ、そしてスイッチ上で動作する。このプロトコルにより、デバイスは自分の存在を他のデバイスに通知して、同一LANやWANのリモート側にあるデバイスの情報を受け取る事ができる。LAN、フレームリレー、ATMメディアといったSNAPをサポートするメディア上で動作する。

dialer rotary-group

ISDNインタフェースは個々に設定することが可能で、グループとして設定することもできます。グループとして設定した場合、複数のISDNインタフェースに対するコマンドが、ダイアラインタフェースと呼ばれる種類のインタフェースに関連付けられます。SPID情報のようなISDN固有のプロトコルについてのコマンドは個々のISDNインタフェースに設定する必要があります。ただし、PPPおよびIPの動作やプロトコルに関するコマンドは、ダイアラインタフェースに共通な物として設定できます。ダイアラインタフェースに含まれるISDNインタフェースの設定には、dialer rotary-group コマンドを使います。
このコマンドのパラメータには、インタフェースが所属するダイアラーインタフェースを意味する製数値を指定します。例えば、dialer rotary-group 1 のインタフェースはインタフェースダイアラ-1に所属します。
例)
router1(config)#interface bri 0
router1(config-if)#dialer rotary-group 1
router1(config-if)#interface bri 1
router1(config-if)#dialer rotary-group 1

encapsulation コマンド

インターフェースのカプセル化。
送信されるデータのフォーマットとインターフェースに対するデータリンクプロトコルの定義。インターフェースのカプセル化の指定には、encapsulation インタフェース設定コマンドを使います。

Router(config-if)#encapsulation ?
frame-relay Frame Relay networks
hdlc  Serial HDLC synchronous
lapb LAPB (X.25 Level 2)
ppp Point-to-Point protocol

domain-lookup

Cisco デバイスが理解不能なコマンドを受けた場合はいつでも、デフォルトでDNSによってこれを解決しようと試みる。デフォルトのDNS参照を止めるためには no ip domain-lookup コマンドを使います。

shutdown コマンド

インタフェースの状態をアップからダウン。もしくは、ダウンからアップに切り替えるためには設定コマンド、shutdownを使う。シスコデバイスは、回線断状態になっているインターフェースにデータを渡さない。
No shutdown のコマンドを実行すると、このインタフェースに接続したケーブルが電気的に正しく接続されていれば、インタフェースの動作が開始され、アップ状態となります。

Subnet-zero コマンド

ネットマスクのサブネットアドレスのビットが全てゼロになっているため、サブネットゼロと呼ばれます。以前のネットワークプロトコルでは、131.108.0.0というメジャーネットワークと131.108.0.0というサブネットワークとを区別できないことがあったため、ルーターの設定のとき、通常はサブネットが指定できないようになっています。
例)131.108.0.1 255.255.255.128 = 131.108.0.1/25
10000011 | 01110000 | 00000000| 00000000 25ビットめで切ろうとしても、切る場所が0であるために認識できないと言うことかな?

Wr era

NVRAM に書き込んだ情報を消す

wr m

NVRAM に情報を書き込む

10. 13. 特権Execモードに入るためのパスワードを指定します。
Enable secret (password)




・ ・ ・・






・ ・ インターフェイス構成
・ ・ ルータ構成
・ ・ 回線構成

基本用語

IPCP(Internet Protocol Control Protocol)

DDR (ダイヤルオンデマンドルーティング)

DDRは、複数のCiscoルータが必要に応じてISDN台あるアップ接続を行えるようにする物です。DDRは、PSTNあるいはISDNを使い、量の少ない定期的なネットワークのみに使われます。分単位あるいはパケット単位で支払う場合はWANの費用を差Kゥ減するために設計されました。

スタティックルート

1つのあて先に1つのパスを手動で定義できる。

PPP

PPPプロトコルは、フラグを使ってフレームの最初と最後を判断するので、非同期型および同期型の両方のカプセル化をサポートできます。非同期カプセルかでは、このフラグがフレームの最初と最後をあらわします。また、このフラグは同期型カプセルかとしても使われます。
PPPで使うデータリンクコネクションの確立、設定、およびテストには、lcp(リンク制御プロトコル)が使われます。また、NCP(ネットワーク制御プロトコル)にはPPPによってサポートされる各ネットワークレイヤが記述されており、PPPの上で動作する色々なネットワークレイヤのプロトコルの確立および設定に使われます。IP、IPX,およびAppleTalk に対するNCP の指定は、それぞれIPCP、IPXCP、およびATALKCPと呼ばれている。

ISDN

BRI(基本速度インタフェース)とPRI(一時郡速度インタフェース)がある。ISDN BRI インタフェースは2つのBチャンネルと1つのDチャンネル(2B+D)を提供します。
Dチャンネルサービスは16kbpsで動作し、通常はISDN制御情報を転送するのに使われます。

PRI

64kbpsの23のBチャンネルと2つのDチャンネルを提供し、Dチャンネルも64kbpsで動作している。

NCP

異なるネットワーク層のプロトコルの確立と構成に用いられる一連のプロトコル。