Frame-relay帧中继配置,实现网络连接
实验要求:帧中继接入网络,实现网路连接。
实验拓扑图:
FR-SW1配置:
Router>enable
Router#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname FR-SW1
FR-SW1(config)#frame-relay switching
FR-SW1(config)#interface s2/0
FR-SW1(config-if)#encapsulation frame-relay ietf
FR-SW1(config-if)#no shutdown
FR-SW1(config-if)#
*Jun 11 02:57:29.322: %LINK-3-UPDOWN: Interface Serial2/0, changed state to up
FR-SW1(config-if)#
*Jun 11 02:57:40.325: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
*Jun 11 02:58:10.330: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to down
FR-SW1(config-if)#frame-relay route 102 interface s2/1 201
FR-SW1(config-if)#do sh frame route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial2/0 102 Serial2/1 201 inactive
FR-SW1(config-if)#frame-relay route 103 interface s2/2 301
FR-SW1(config-if)#int e0/0
FR-SW1(config-if)#ip address 172.16.1.1 255.255.255.0
FR-SW1(config-if)#no shutdown
*Jun 11 03:05:22.669: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Jun 11 03:05:23.674: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
FR-SW1(config-if)#exit
FR-SW1(config)#interface tunnel 0
*Jun 11 03:09:42.938: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to down
FR-SW1(config-if)#tunnel source e0/0
FR-SW1(config-if)#no tunnel source e0/0
FR-SW1(config-if)#tunnel source 172.16.1.1
FR-SW1(config-if)#tunnel destination 172.16.1.2
*Jun 11 03:10:55.675: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up
FR-SW1(config-if)#exit