ネットワーク構成図
- RT-B を次のように設定しなさい。
< RT-B >
Router# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# host FRSW
FRSW(config)# frame-relay switching
FRSW(config)# int s0/0/0
FRSW(config-if)# ip address 192.168.10.2 255.255.255.0
FRSW(config-if)# clock rate 64000
FRSW(config-if)# encap frame-relay
FRSW(config-if)# frame-relay intf-type dce
FRSW(config-if)# frame-relay local-dlci 101
FRSW(config-if)# no shut
FRSW(config-if)# ^Z
FRSW#
- RT-A を次のように設定しなさい。
< RT-A >
Router# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# host RT-A
RT-A(config)# int s0/0/0
RT-A(config-if)# ip add 192.168.10.1 255.255.255.0
RT-A(config-if)# encap frame-relay
RT-A(config-if)# no shut
RT-A(config-if)# ^Z
RT-A#
- RT-A で sh frame-relay lmi、 sh frame-relay pvc、sh frame-relay map を実行しなさい。
< RT-A >
RT-A# sh frame-relay lmi
LMI Statistics for interface Serial0/0/0 (Frame Relay DTE) LMI TYPE = CISCO
Invalid Unnumbered info 0 Invalid Prot Disc 0
Invalid dummy Call Ref 0 Invalid Msg Type 0
Invalid Status Message 0 Invalid Lock Shift 0
Invalid Information ID 0 Invalid Report IE Len 0
Invalid Report Request 0 Invalid Keep IE Len 0
Num Status Enq. Sent 3 Num Status msgs Rcvd 4
Num Update Status Rcvd 0 Num Status Timeouts 0
Last Full Status Req 00:00:38 Last Full Status Rcvd 00:00:28
RT-A#
< RT-A >
RT-A# sh frame-relay pvc
PVC Statistics for interface Serial0/0/0 (Frame Relay DTE)
Active Inactive Deleted Static
Local 1 0 0 0
Switched 0 0 0 0
Unused 0 0 0 0
DLCI = 101, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0
input pkts 1 output pkts 1 in bytes 34
out bytes 34 dropped pkts 0 in pkts dropped 0
out pkts dropped 0 out bytes dropped 0
in FECN pkts 0 in BECN pkts 0 out FECN pkts 0
out BECN pkts 0 in DE pkts 0 out DE pkts 0
out bcast pkts 1 out bcast bytes 34
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 00:00:11, last time pvc status changed 00:00:11
RT-A#
< RT-A >
RT-A# sh frame-relay map
Serial0/0/0 (up): ip 192.168.10.2 dlci 101(0x65,0x1850), dynamic,
broadcast,
CISCO, status defined, active
RT-A#
このように設定すれば、2台のルータでも show、debug コマンドなどでフレームリレーを確認できます。
ただ、本来フレームリレーの確認にはルータ最低3台が基本です。(1台はフレームリレースイッチ)