CiscoRouter之间CallBack典型配置网络知识

时间:2022-05-06 21:34:23 其他范文 收藏本文 下载本文

CiscoRouter之间CallBack典型配置网络知识((精选8篇))由网友“我想变作石头”投稿提供,以下是小编为大家汇总后的CiscoRouter之间CallBack典型配置网络知识,欢迎参阅,希望可以帮助到有需要的朋友。

CiscoRouter之间CallBack典型配置网络知识

篇1:CiscoRouter之间CallBack典型配置网络知识

CallBack Server------------------------------------- version 11.3 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname server ! enable password cisco ! username client password 0 cisco cha

CallBack Server-------------------------------------

version 11.3

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname server

!

enable password cisco

!

username client password 0 cisco

chat-script. cb “” “ATDTT” TIMEOUT 60 CONNECT

!

!

interface Ethe.net0

ip address 192.168.1.201 255.255.255.0

no keepalive

!

interface Serial0

no ip address

shutdown

!

interface Serial1

no ip address

shutdown

!

interface Async8

ip address 10.1.1.2 255.255.255.0

encapsulation ppp

dialer in-band

dialer map ip 10.1.1.1 name client class cb 228

dialer-group 1

async mode dedicated

no peer default ip address

no cdp enable

ppp callback aclearcase/“ target=”_blank“ >ccept

ppp authentication chap

!

!

no ip classless

ip route 160.4.1.0 255.255.255.0 10.1.1.1

!

!

map-class dialer cb

dialer callback-server username

dialer-list 1 protocol ip permit

!

line con 0

line 1 8

script. dialer cb

login local

modem InOut

transport input all

flowcontrol hardware

line aux 0

line vty 0 4

password cisco

login

!

end

CallBack Client--------------------------------------

version 11.2

no service udp-small-servers

no service tcp-small-servers

!

hostname client

!

enable secret 5 $1$agg8$blP5tNZMOq0xYXvsO/hGG0

enable password admin

!

username server password 0 cisco

chat-script. cb ”“ ”ATDTT“ TIMEOUT 60 CONNECT

!

interface Ethernet0

ip address 160.4.1.98 255.255.255.224

no keepalive

!

interface Serial0

no ip address

shutdown

!

interface Serial1

no ip address

shutdown

!

interface Async1

ip address 10.1.1.1 255.255.255.0

encapsulation ppp

async mode dedicated

dialer in-band

dialer map ip 10.1.1.2 name server 391

dialer-group 1

no cdp enable

ppp callback request

ppp authentication chap

!

no ip classless

ip route 192.168.1.0 255.255.255.0 10.1.1.2

!

dialer-list 1 protocol ip permit

!

line con 0

line aux 0

script. dialer cb

login local

modem InOut

transport input all

flowcontrol hardware

line vty 0 4

password cisco

login

!

end

原文转自:www.ltesting.net

篇2:CiscoRouter的若干常见问题网络知识

1. 如果要在路由器上实现NAT,对IOS有何要求? 需要IP PLUS IOS 2. 在2511上执行erase flash时为什么会收到如下信息: Error while erasing flash: device is READ-ONLY 因为此时2511是从Flash启动的,可用以下命令改变启动方式: conf t config-register 0x

1. 如果要在路由器上实现NAT,对IOS有何要求?

需要IP PLUS IOS

2. 在2511上执行erase flash时为什么会收到如下信息:

Error while erasing flash: device is READ-ONLY

因为此时2511是从Flash启动的,可用以下命令改变启动方式:

conf t

config-register 0x101

Router# reload

Router(boot)#copy tftp flash.

在BOOT模式下你可以删除或升级Flash中的内容,

另外要注意在升级Flash之后将启动方式改回Flash.

Router(boot)#conf t

Router(boot)(Config)# config-reg 0x102

Router(boot)(Config)#^Z

Router(boot)#reload

3.Cisco3600系列路由器目前是否支持广域网接口卡WIC-2T和WIC-2A/S?

Cisco3600系列路由器在12.007XK及以上版本支持WIC-2T和WIC-2A/S这两种广域网接口卡。

但是需要注意的是:

只有快速以太网混合网络模块能够支持这两种广域网接口卡。

支持这两种接口卡的网络模块如下所示:

NM-1FE2W, NM-2FE2W, NM-1FE1R2W, NM-2W,

而以太网混合网络模块不支持,如下所示:

NM-1E2W,NM-2E2W, NM1E1R2W。

4.Cisco3600系列路由器的NM(4A/S,NM(8A/S网络模块和WIC(2A/S广域网接口卡支持的最大异/同步速率各是多少?

这些网络模块和广域网接口卡既能够支持异步,也能够支持同步。支持的最大异步速率均为115.2Kbps,最大同步速率均为128Kbps。

5.WIC-2T与WIC-1T的电缆各是哪种?

WIC-1T:DB60转V35或RS232、 449等电缆。 如:CAB-V35-MT。

WIC-2T:SMART型转V35或RS232、 449等电缆。 如: CAB-SS-V35-MT。

6.Cisco 7000系列上的ME1与Cisco 2600/3600上的E1、 CE1有什么区别?

Cisco 7000上的ME1可配置为E1、 CE1, 而Cisco 2600/3600上的E1、 CE1仅支持自己的功能。

7.Cisco 2600系列路由器,是否支持VLAN间路由,对IOS软件有何需求?

Cisco(2600系列路由器中,只有Cisco2620和Cisco2621可以支持VLAN间的 路由(百兆端口才支持VLAN间路由)。并且如果支持VLAN间路由,要求IOS软件必须包括IP Plus特性集。

8.Cisco3660路由器与3620/3640路由器相比在硬件上有那些不同?

不同点如下:

* Cisco3660路由器基本配置包括1或2个10/100M自适应快速以太网接口;而Cisco3620/3640基本配置中不包括以太网接口。

* Cisco3660路由器支持网络模块热插拔,而 Cisco3620/3640不支持网络模块热插拔。

* Cisco3660的冗余电源为内置, 而Cisco3620/3640的冗余电源为外置的。

9. 为什么我的3640不能识别NM-1FE2W?

需要将IOS升级到12.0.7T

原文转自:www.ltesting.net

篇3:CiscoHSRP的配置网络知识

version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname r1 ! enable password cisco ! ip su .net -zero ! ! ! ! interface Ethernet0 ip address 136.147.107.101 255.255.0.0 no ip red

version 12.0

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname r1

!

enable password cisco

!

ip su.net-zero

!

!

!

!

interface Ethernet0

ip address 136.147.107.101 255.255.0.0

no ip redirects

no ip directed-broadcast

standby 150 timers 5 15 /* 定义150组5秒交换一次hello信息,15秒没收到

hello信息就开始切换 */

standby 150 priority 110 /* 定义150组的主路由器权值,值越大,为主路由

器希望越大 */

standby 150 preempt /* enable 150组的hsrp抢占功能 */

standby 150 authentication cisco /* 设置150组的router身份验证串 */

standby 150 ip 136.147.107.100 /* 定义150组的浮动地址,也是这台router

连接的网络的网关 */

standby 150 track Ethernet0 /* 定义监控的端口 */

!

interface Serial0

no ip address

no ip directed-broadcast

no ip mroute-cache

shutdown

no fair-queue

!

ip classless

!

!

line con 0

transport input none

line 1 16

line aux 0

line vty 0 4

password cisco

login

!

end

原文转自:www.ltesting.net

篇4:4006s2配置清单网络知识

作3层交换 Enter password: ZX_WS4006_1>(enable) sh mod Mod Slot Ports Module-Type Model Sub Status --- ---- ----- ------------------------- ------------------- --- -------- 1 1 2 1000BaseX Supervisor WS-X4013 no ok 3 3 6 1000BaseX Ethernet

作3层交换

Enter password:

ZX_WS4006_1>(enable) sh mod

Mod Slot Ports Module-Type Model Sub Status

--- ---- ----- ------------------------- ------------------- --- --------

1 1 2 1000BaseX Supervisor WS-X4013 no ok

3 3 6 1000BaseX Ethernet WS-X4306 no ok

4 4 34 Router Switch Card WS-X4232-L3 no ok

Mod Module-Name Serial-Num

--- -------------------- --------------------

1 JAE060906GZ

3 JAE04470A10

4 JAB052105F2

Mod MAC-Address(es) Hw Fw Sw

--- -------------------------------------- ------ ---------- -----------------

1 00-08-e3-86-06-00 to 00-08-e3-86-09-ff 3.2 5.4(1) 6.3(1)

3 00-04-27-55-93-2c to 00-04-27-55-93-31 2.0

4 00-04-9a-50-16-4c to 00-04-9a-50-16-6d 1.7 12.0(7)W5( 12.0(10)W5(18f)

ZX_WS4006_1>(enable) sh config

This command shows non-default configurations only.

Use 'show config all' to show both default and non-default configurations.

.............

..................

..................

....................

..

begin

!

# ***** NON-DEFAULT CONFIGURATION *****

!

!

#time: Tue Mar 18 , 23:11:06

!

#version 6.3(1)

!

!

#system web interface version(s)

set password $2$ZtNY$yuqPHi7CpjwCs0blr9mxG0

set enablepass $2$rY7u$b9D5DEa661dt46OwWq5ts/

!

#test

set test diaglevel minimal

!

#system

set system name ZX_WS4006_1

set system contact Center-sw

!

#frame. distribution method

set port channel all distribution mac both

!

#vtp

set vtp domain cs1yhis

set vlan 1 name default type ethernet mtu 1500 said 100001 state active

set vlan 2 name JiGuan type ethernet mtu 1500 said 100002 state active

set vlan 3 name YeWu type ethernet mtu 1500 said 100003 state active

set vlan 4 name XXZX type ethernet mtu 1500 said 100004 state active

set vlan 100 name yibao type ethernet mtu 1500 said 100100 state active

set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active

set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state activ

e stp ieee

set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active st

p ibm

set vlan 5-20

set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state acti

ve mode srb aremaxhop 0 stemaxhop 0 backupcrf off

!

#ip

set interface sc0 1 192.168.1.250/255.255.255.0 192.168.1.255

set interface sl0 192.168.168.1 255.255.255.0

set interface sl0 down

set interface me1 192.0.2.1 255.255.255.0 192.0.2.255

set ip route 0.0.0.0/0.0.0.0 192.168.1.254

!

#dns

set ip dns server 202.103.96.68 primary

set ip dns server 202.103.4.238

!

#syslog

set logging level cops 2 default

!

#set boot command

set boot config-register 0x2

set boot system flash bootflash:cat4000.6-3-1.bin

set boot system flash bootflash:cat4000.5-5-8.bin

!

#mls

set mls nde disable

!

#port channel

set port channel 4/1-2 25

!

#http configuration

set ip http server enable

!

#module 1 : 2-port 1000BaseX Supervisor

set udld enable 1/1-2

!

#module 2 empty

!

#module 3 : 6-port 1000BaseX Ethernet

set udld enable 3/6

set trunk 3/3 on dot1q 1-1005

set trunk 3/4 on dot1q 1-1005

set trunk 3/5 on dot1q 1-1005

set trunk 3/6 on dot1q 1-1005

!

#module 4 : 34-port Router Switch Card

set trunk 4/1 nonegotiate dot1q 1-1005

set trunk 4/2 nonegotiate dot1q 1-1005

set port channel 4/1-2 mode on

!

#module 5 empty

!

#module 6 empty

end

ZX_WS4006_1>(enable)

ZX_WS4006_1>(enable) sess 3

Feature not supported on Module 3.

ZX_WS4006_1>(enable) sess 4

Trying IntlgLineCard-4...

Connected to IntlgLineCard-4.

Escape character is '^]'.

User Aclearcase/” target=“_blank” >ccess Verification

Password:

VLAN-gw>en

Password:

VLAN-gw#sh run

Building configuration...

Current configuration:

!

version 12.0

no service pad

service timestamps debug uptime

service timestamps log uptime

service password-encryption

!

hostname VLAN-gw

!

enable secret 5 $1$j6xO$q2wF0qaki76qo6hr3bYlt.

enable password 7 070E25414707

!

ip subnet-zero

no ip domain-lookup

ip name-server 202.103.96.68

ip name-server 202.103.100.100

!

!

!

interface Port-channel1

description This is interface is configured for routing with native vlan 1 to 4

no ip address

no ip redirects

no ip directed-broadcast

hold-queue 300 in

!

interface Port-channel1.1

encapsulation dot1Q 1 native

ip address 192.1.1.254 255.255.255.0 secondary

ip address 192.168.1.254 255.255.255.0

no ip redirects

no ip directed-broadcast

!

interface Port-channel1.2

description This interface is connected to vlan 2 which is connected to vlan

encapsulation dot1Q 2

ip address 192.168.2.254 255.255.255.0

no ip redirects

no ip directed-broadcast

!

interface Port-channel1.3

description This interface is connected to vlan 3 which is connected to vlan 3

encapsulation dot1Q 3

ip address 192.168.3.254 255.255.255.0

no ip redirects

no ip directed-broadcast

!

interface FastEthernet1

description This is the out of band interface that you can use for management

ip address 172.168.1.1 255.255.255.0

no ip directed-broadcast

!

interface GigabitEthernet1

no ip address

no ip directed-broadcast

!

interface GigabitEthernet2

no ip address<

原文转自:www.ltesting.net

篇5:3550emi配置DHCPSERVER!网络知识

相关配置命令: config)#ip dhcp pool [地址池名] (config)#ip dhcp excluded-address [不分配的地址] (dhcp-config) .net work [要分配的地址] [掩码] (dhcp-config)#lease [租约] (dhcp-config)#default-router [默认网关] (dhcp-config)#dns-server[dns

相关配置命令:

config)#ip dhcp pool [地址池名]

(config)#ip dhcp excluded-address [不分配的地址]

(dhcp-config).network [要分配的地址] [掩码]

(dhcp-config)#lease [租约]

(dhcp-config)#default-router [默认网关]

(dhcp-config)#dns-server[dns服务器]

然后要对自动获取地址的vlan 进行设置

(config)#ip helper-address [交换机地址]

再将端口划分到vlan 里

show config:

ip dhcp excluded-address 10.0.199.200 10.0.199.254

!

ip dhcp pool test

network 10.0.199.0 255.255.255.0

default-router 10.0.199.1

dns-server 10.0.199.252

lease 0 0 5

nterface Vlan199

ip address 10.0.199.1 255.255.255.0

ip helper-address 10.0.1.1

原文转自:www.ltesting.net

篇6:SAMSUNGSR4901ISDNROUTER配置方法网络知识

IP(static)/PPP/Security(Out)/Unnumbered/NAT(PAT) PC1 -->SR -->ISDN -->ISP | PC2 -----+ PC1 : Ethernet : 214.100.10.2 255.255.255.0 Gateway : 214.100.10.1 PC2 : Ethernet : 214.100.10.3 255.255.255.0 Gateway : 214.100.10.1 SR : Ethernet :

IP(static)/PPP/Security(Out)/Unnumbered/NAT(PAT)

PC1 -->SR -->ISDN -->ISP

|

PC2 -----+

PC1 :

Ethernet : 214.100.10.2 255.255.255.0

Gateway : 214.100.10.1

PC2 :

Ethernet : 214.100.10.3 255.255.255.0

Gateway : 214.100.10.1

SR :

Ethernet : 214.100.10.1 255.255.255.0

Serial : 0.0.0.0 0.0.0.0

Outgoing ID : son

Outgoing Password : son-out

NAT Global IP : 123.12.12.1 255.255.255.0

First, We are set the NAT Global IP with temporary IP (123.12.

12.1).

When we are connect to ISP, ISP send to me a ONE IP Address dy

namically.

That IP Address will be copy in NAT Global IP automatically.

(123.12.12.1 ->Delete)

ISP Tel No : 3448-8897

====================================================================

SR's configuration

1. Special Link/WAN/PPP over ISDN (for Serial IP)

Channel Channel-1

Channel Status Up

ISDN Dest Addr 34488897

ISDN Dest Sub Addr (blank)

IP Configuration

Admin Status Up

IP Address 0.0.0.0

Network Mask 0.0.0.0

Routing Protocol None

IPX Configuration

IPX Network Number (blank)

Admin Status Down

Oper Status (blank)

Bridge Configuration

Base Bridge Status Down

STP Status Down

2. Special Link/IP Routing/Static Route (for static table)

Destination Address0.0.0.0 214

.100.10.1

Subnet Mask 0.0.0.0 255

.255.255.0

Channel Channel-1 Ethernet

X.25 Virtual Circuit number 0 0

Address of the next hop(Gateway) 0.0.0.0 0.0.0.

0

Metric associated with the route 1 1

Static Route status Enable Ena

ble

3. Special Link/PPP/Router Security (for Outgoing)

Router Name : son

Outgoing Password : son-out

4. Features/NAT (for NAT)

NAT Table

Global IP address : 123.12.12.1

Subnet Mask: 255.255.255.0

NAT entry status : Create

Net Map list. : 214.100.10.0,255.255.255.0;

Enable NAT in the router : Yes

NAT Global

NAT port translation required : Yes

--Be careful--

Until Version 1.4 -->

Net Map list : 214.100.10.2,255.255.255.0,*-1300;214.100.10.3,

255.255.255.0,*-1310;

From Version 1.4.1 -->

Net Map list : 214.100.10.0,255.255.255.0;

原文转自:www.ltesting.net

篇7:配置帧中继交换机网络知识

本实验是配置普通路由器作为帧中继交换机使用,以便为本章的其他实验提供一个帧中继的实验环境, 1.实验目的 通过本实验,读者可以掌握以下技能: ●配置只有2个节点的帧中继环境; ●配置星型的帧中继环境; ●配置全网状的帧中继环境; ●熟悉相关的查看和监测

本实验是配置普通路由器作为帧中继交换机使用,以便为本章的其他实验提供一个帧中继的实验环境。

1.实验目的

通过本实验,读者可以掌握以下技能:

●配置只有2个节点的帧中继环境;

●配置星型的帧中继环境;

●配置全网状的帧中继环境;

●熟悉相关的查看和监测命令。

2.设备需求

本实验需要以下设备:

●具有3个以上串行接口的路由器1台;

●3条DCE类型串行电缆;

●1台带有超级终端程序的PC机,以及Console电缆及转接器。

3.线缆连接及配置说明

本实验的线缆连接如图8.1所示,把PC机通过Console电缆连接到路由器的Console端口上,即完成了线缆的连接。

图8-1也标出了配置有2节点的帧中继环境的DLCI值。

4.实验配置及监测结果

第1步:配置有2个节点的帧中继环境

实验1的第1步是配置有2个节点的帧中继环境,它的配置较为简单,其配置见配置清单8-1。

配置清单8-1 配置有2个节点的帧中继环境

第1段:配置有2个节点的帧中继环境

version 12.1

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname FR_S witch

ip subnet-zero

no ip domain-lookup

frame-relay switching

!

interface Serial0

no ip address

shutdown

!

interface Serial 1

no Ip address

encapsuSatlois frame-relay

dockrate 64000

frame-relay lmi-type dsco

frame-relay Intf-type dee

frame-relay route 102 Interface Serlal2 201

!

interface Serial2

no ip address

encapsulation frame-relay

clockrate 64000

frame-relay Imi-type cisco

frame-relay intf-type dee

frame-relay route 201 interface Seriall 102

!

interface Serial3

no ip address

shutdown

!

line con 0

line aux 0

transport input all

line vty 0 4

login

!

end

第2段:查看有关信息

FR_Switch#sh fr route

Input Intf Input Dici Output Intf Output Dici Status

Serial1 102 Serial2 201 inactive

Serial2 201 Serial1 102 inactive

FR_Switch#sh fr lmi

LMI Statistics for interface Serial1(Frame. Relay DCE)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. Rcvd 0 Num Status msgs Sent 0

Num Update Status Sent 0 Num St Enq. Timeouts 0

LMI Statistics for interface Serial2(Frame. Relay DCE)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. Rcvd 0 Num Status msgs Sent 0

Num Update Status Sent 0 Num St Enq. Timeouts 154

FR_Switch#sh fr pvc

PVC Statistics for interface Serial1(Frame. Relay DCE)

Active Inactive Deleted Static

Local 0 00 0

Switched 0 1 0 0

Unused 0 0 00

DLCI=102,DLCI USAGE-SWITCHED,PVC STATUS=INACTIVE,INTERFACE=Serial1

input pkts 0 output pkts 0 in bytes 0

out bytes 0 dropped pkts 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 beast pkts 0 out beast bytes 0 Num Pkts Switched 0

pvc create time 00:39:51, last time pvc status changed 00:39:51

PVC Statistics for interface Serial2(Frame. Relay DCE)

Active Inactive Deleted Static

Local 0000

Switched 0100

Unused 0000

DLCI=201,DLCIUSAGE=SWITCHED,PVC STATUS=INACTIVE,INTERFACE=Serial2

input pkts 0 output pkts 0in bytes 0

out bytes 0 dropped pkts 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 beast pkts 0 out beast bytes 0 Num Pkts Switched 0

pvc create time 00:39:32, last time pvc status changed 00:39:29

FR_Switch#

(1)在作为帧中继交换机使用的路由器上,首先使用Frame-relay switching命令,启动该路由器的帧申继交换功能,使它可以被配置成为帧中继交换机,

(2)为了编号方便,我们没有使用S0接口。当然,如果路由器的串行接口数量有限,S0接口同样可以被使用。

(3)在对S1接口的配置中,我们逐句来进行讲解。

no ip addressDD在S1接口上不配置IP地址,这是接口的缺省配置,不用专门输入;

encapsuaation Frame-relayDD把S1接口封装成为帧中继;

clockrate 64000DD设定时钟为64000,也可以是其他允许的值;

frame-relay lmi-type ciscoDD设定LMI类型为Cisco;

frame-relay intf-type dceDD定义帧中继的接口类型为DCE,即所连接的电缆类型为DCE;

frame-relay route 102 interface Serial2 201DD定义本接口的DLCI值为102,与S2接口的值为201的DLCI形成1个虚电路。

(4)与S1接口类似,在对S2接口的配置中,使用的语句及讲解如下。

no ip addressDD在S1接口上不配置IP地址;

encapsuaation Frame-relayDD把S1接口封装成为帧中继;

clockrate 64000DD设定时钟为64000;

frame-relay lmi-type ciscoDD设定LMI类型为Cisco;

frame-relay intf-type dceDD定义帧中继的接口类型为DCE;

frame-relay route 201 interface Serial2 102DD定义本接口的DLCI值为102,与S2接口的值为102的DLCI形成1个虚电路。

在上述配置中DLCI值为102和201是由我们自行定义的,为了配置时的条理性,从引接口到S2接口的DLCI取值为102,从S2接口到S1接口的DLCE取值为201,下面的实验中依此类推。

(5)在第2段中使用了3个查看帧中继信息的命令,它们是show frame-relay route、showframe-relay lmi和show frame-pvc,分别列出了帧中继路由的设置、LMI类型和统计信息及PVC状态信息。

可以看到帧中继的PVC处于非激活状态,这是由于在DCE电缆的另一端没有连接任何设备,接口处于down的状态。

(未完...待续)

原文转自:www.ltesting.net

篇8:配置帧中继交换机网络知识

第2步:配置星型的帧中继环境 配置星型的帧中继环境的DLCI值分配如8-2所示,这里给出的是从1点(S1所连设备)到2点(S2和S3所连设备)的案例, 在此,我们给出完整的配置,见配置清单8-2。 配置清单8-2配置从1点到2点的星型帧中继环境 第1段:配置从1点到2点的帧

第2步:配置星型的帧中继环境

配置星型的帧中继环境的DLCI值分配如8-2所示,这里给出的是从1点(S1所连设备)到2点(S2和S3所连设备)的案例。

在此,我们给出完整的配置,见配置清单8-2。

配置清单8-2配置从1点到2点的星型帧中继环境

第1段:配置从1点到2点的帧中继环境

version 12.1

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname FR_Switch

ip subnet-zero

no ip domain-lookup

frame-relay switching

!

interface Serial0

no ip address

shutdown

!

interface Serial 1

no ip address

encapsiilation frame-relay

clockrate 64000

frame-relay lmi-type cisco

frame-relay intf-type dee

frame-relay route 102 interface Serial2 201

frame-relay route 103 interface SeriaB 301

!

interface Serial2

no ip address

encapsulation frame-relay

clockrate 64000

frame-relay lmi-type cisco

frame-relay intf-type dee

frame-relay route 201 interface Seriall 102

!

interface Serial3

no ip address

encapsulation frame-relay

clockrate 64000

frame-relay Imi-type cisco

frame-relay intf-type dee

frame-relay route 301 interface Seriall 103

!

line con 0

line aux 0

transport input all

line vty 04

login

!

end

第2段:查看有关信息

fR_Switch#sh fr route

Input Intf Input Dici Output Intf Output Dici Status

Serial1102Serial2 201 inactive

Serial1103Serial2 301 inactive

Serial2201Serial1 102 inactive

Serial3301Serial1 103 inactive

(1)在配置清单中,比第1步增加的内容有2项:

在S1接口的配置中加入了一条语句,即

frame-relay route 103 interface Serial3 301

使S1接口增加了1个DLCI值103,此DLCE与S3接口上的值为301的DLCI形成一个虚电路 (VC);

在S3接口上的配置与S2接口上类似,它定义了到S1接口DLCE 103的虚电路,

(2)show frame-relay route命令的执行结果表明配置是成功的。

(3)其他show命令的结果与第2步中的类似,不再重复列出。

(4)第2步实现了从S1接口所连设备到S2和S3接口所连设备的1点到2点(多点)的星型连接,这是帧中继的包交换特性之一。

第3步:配置全网状的帧中继环境

所谓全网状的帧中继环境,是指在这个帧中继拓扑中,任何两个节点间都存在一条虚电路,如果把各节点用直线两两一组连接起来,会形成一张网。对于有3个节点的全网状结构来说,连接起来形成的是一个三角形。

全网状拓扑的帧中继环境如图8-3所示,这是一个有3个节点的全网状拓扑环境。图中标出了每个接口上的DLCI值。

配置清单8-3是作为帧中继交换机的路由器配置中串行接口部分的配置,其余部分的配置与第2步相同,不再重复列出。

配置清单8-5 配置全网状的帧中继环境

第1段:配置全网状帧中继环境的配置清单节选

interface Serial0

no ip address

shutdown

!

interface Serial 1

no ip address

encapsulation frame-relay

dockrate 64000

frame-relay lmi-type cisco

frame-relay intf-type dee

frame-relay route 102 Interface Serial2 201

frame-relay route 103 interface SerialS 301

!

interface Serial2

no ip address

encapsulation frame-relay

clockrate 64000

frame-relay lmi-type cisco

frame-relay intf-type dee

frame-relay route 201 interface SeriaS1 102

frame-relay route 203 interface Serial3 302

!

interface Serial3

no ip address

encapsulation frame-relay

clockrate 64000

frame-relay Imi-type cisco

frame-relay intf-type dee

frame-relay route 301 interface Serial1 103

frame-relay route 302 interface Serial2 203

第2段:查看有关信息

FR_Switch#sh fr route

Input Intf Input Dici Output Intf Output Dici Status

Serial1102 Serial2 201 inactive

Serial1103 Serial3 301 inactive

Serial2201 Serial1 102 inactive

Serial2203 Serial3 302 inactive

SeriaS3301 Serial1 103 inactive

Serial3302 Serial2 203 inactive

FR_Switch#

(1)在配置帧中继全网状拓扑环境时,需要注意的是用Frame-relay route语句把所有可能的虚电路都进行设置,如清单中的S1到S2和S3。S2到S1和S3、S3到S1和S2共3个PVC,需6条语句来配置。

(2)show fr route命令列出的清单表明配置是成功的。

原文转自:www.ltesting.net

出入网络之间作文

PPP 配置协议

Discuz!社会化登录插件及安装教程

软件工程总结

高级软件开发人员笔试题

软件工程教学总结

软件工程实习总结

回调函数(真好理解)

jquery知识点总结

软件年终总结

CiscoRouter之间CallBack典型配置网络知识
《CiscoRouter之间CallBack典型配置网络知识.doc》
将本文的Word文档下载到电脑,方便收藏和打印
推荐度:
点击下载文档

【CiscoRouter之间CallBack典型配置网络知识(精选8篇)】相关文章:

软件实习总结2022-11-10

bean可数吗2023-03-11

since的用法总结2022-10-14

二数下册教学计划2023-04-02

web安全学习之xss个人总结2023-02-14

软件实习总结心得体会2023-03-20

计算机与网络英语词汇(I1)2024-05-09

计算机与网络英语词汇(N1)2023-05-18

计算机与网络英语词汇(A2)2022-06-12

浅析设备驱动程序通知应用程序的几种方法2022-04-30

点击下载本文文档