|
楼主 |
发表于 2008-7-28 12:26:49
|
显示全部楼层
FRSW配置
Router>
Router>en
Router#conf t
Router(config)#hostname FRSW
FRSW(config)#no ip domain loo
FRSW(config)#line console 0
FRSW(config-line)#exec-timeout 0 0
FRSW(config-line)#logg sy
FRSW(config-line)#exit
FRSW(config)#no ip routing
FRSW(config)#frame-relay switching
FRSW(config)#int s0/1
FRSW(config-if)#no ip address
FRSW(config-if)#encapsulation frame-relay
FRSW(config-if)#fr
FRSW(config-if)#frame-relay lmi-type ansi
FRSW(config-if)#frame-relay intf-type dce
FRSW(config-if)#clock rate 64000
FRSW(config-if)#frame-relay route 103 interface s0/2 301
FRSW(config-if)#no sh
FRSW(config-if)#int s0/3
FRSW(config-if)#encapsulation frame-relay
FRSW(config-if)#frame-relay lmi-type ansi
FRSW(config-if)#frame-relay intf-type dce
FRSW(config-if)#clock rate 64000
FRSW(config-if)#no ip add
FRSW(config-if)#frame-relay route 104 interface s0/2 401
FRSW(config-if)#no sh
FRSW(config-if)#int s0/2
FRSW(config-if)#encapsulation frame-relay
FRSW(config-if)#frame-relay lmi-type ansi
FRSW(config-if)#frame-relay intf-type dce
FRSW(config-if)#clock rate 64000
FRSW(config-if)#no ip add
FRSW(config-if)#frame-relay route 301 interface s0/1 103
FRSW(config-if)#frame-relay route 401 interface s0/3 104
FRSW(config-if)#no sh
FRSW(config-if)#end
FRSW#
R1#ping 160.100.49.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 160.100.49.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 288/378/524 ms
R1#sh frame-relay map
Serial0/0 (up): ip 160.100.48.2 dlci 103(0x67,0x1870), dynamic,
broadcast,, status defined, active
R2#sh frame-relay map
Serial0/0.1 (up): point-to-point dlci, dlci 301(0x12D,0x48D0), broadcast
status defined, active
Serial0/0.2 (up): point-to-point dlci, dlci 401(0x191,0x6410), broadcast
status defined, active
R3#ping 160.100.48.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 160.100.48.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 288/346/432 ms
R3#sh frame-relay map
Serial0/0 (up): ip 160.100.49.2 dlci 104(0x68,0x1880), dynamic,
broadcast,, status defined, active
[ 本帖最后由 Romantic.Life 于 2008-7-28 12:28 编辑 ] |
|