【导语】“xiaxiaer”通过精心收集,向本站投稿了9篇CiscoHSRP的配置网络知识,下面是小编收集整理后的CiscoHSRP的配置网络知识,仅供参考,希望能够帮助到大家。
- 目录
篇1: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
篇2:CiscoHSRP(双机热备份)的配置网络知识
Cisco的热备份路由协议(HSRP)可以在工作站A的确省网关失效时提供一个备份路由器,HSRP可以创建一个具有虚拟MAC地址和虚拟IP地址的虚拟路由器, 假设有两个路由器Bluestudy A和Bluestudy B,通过两路指向路由器Bluestudy C: 对于Bluestudy A,假设E0/0的IP地
Cisco的热备份路由协议(HSRP)可以在工作站A的确省网关失效时提供一个备份路由器,HSRP可以创建一个具有虚拟MAC地址和虚拟IP地址的虚拟路由器。
假设有两个路由器Bluestudy A和Bluestudy B,通过两路指向路由器Bluestudy C:
对于Bluestudy A,假设E0/0的IP地址为192.168.1.1/24对应内部网络是192.168.1.0/24 S0/0的IP地址为192.168.2.1/24 对应外部网络是192.168.2.0/24。
对于Bluestudy B,假设E0/0的IP地址为192.169.1.2/24 对应内部网络是192.168.1.0/24 S0/0的IP地址为192.168.3.1/24 对应外部网络是192.168.3.0/24。
虚拟IP地址为192.168.1.3/24
对于Bluestudy C,因与本实验无太大联系,暂时不做说明。
下面给出两只路由器的配置,其中将Bluestudy A作为主路由器,Bluestudy B作为备份路由器。其中给出Bluestudy A的优先级为120,而Bluestudy B采用默认优先级100,这样就可以使Bluestudy A成为主路由器。
Bluestudy A:
Interface ethe.net0/0
Ip address 192.168.1.1 255.255.255.0
No ip redirects
Standby 1 priority 120
Standby 1 preempt
Standby 1 ip 192.168.1.3
!
interface serial0/0
ip address 192.168.2.1 255.255.255.0
no shut
!
router igrp 100
network 192.168.1.0
network 192.168.2.0
Bluestudy B:
Interface ethernet0/0
Ip address 192.168.1.2 255.255.255.0
Standby 1 preempt
Standby 1 ip 192.168.1.3
!
interface serial0/0
ip address 192.168.3.1 255.255.255.0
no shut
!
router igrp 100
network 192.168.1.0
network 192.168.3.0
只要将相应的下连主机的网关设成 192.168.1.3就可以了.
如上是Cisco的双机热备份配置,如有疑问可以与站长联系共同探讨,
原文转自:www.ltesting.net
篇3: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 2003, 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
篇4: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
篇5: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
篇6:配置帧中继交换机网络知识
本实验是配置普通路由器作为帧中继交换机使用,以便为本章的其他实验提供一个帧中继的实验环境, 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
篇7:配置帧中继交换机网络知识
第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
篇8:CISCOISIS配置和监控网络知识
以下是Cisco路由器使用IS-IS路由IP的基本配置步骤: 1、决定路由器所在的area,以及在路由器上需要激活IS-IS的接口, 在路由器上激活IS-IS,命令如下: router(config)#router isis 2、设置NET,命令如下: router(config-router)#net 00.0001.3090.6756.00
以下是Cisco路由器使用IS-IS路由IP的基本配置步骤:
1、决定路由器所在的area,以及在路由器上需要激活IS-IS的接口。
在路由器上激活IS-IS,命令如下:
router(config)#router isis
2、设置NET,命令如下:
router(config-router)#net 00.0001.3090.6756.00
3、在相应接口上激活IS-IS,命令如下:
router(config-if)#ip router isis
4、置路由器类型,如Level 1、Level 2或者Level 1/Level 2。在缺省情况下,Cisco路由器的类型为Level 1/Level 2。命令如下:
router(config-router)#is-type level-1
Router A
interface Ethernet 0
ip address 10.1.3.1 255.255.255.0
ip router isis (在接口上激活IS-IS,使这个接口的IP子网能够被发布)
interface serial 0
ip address 10.1.4.1 255.255.255.0
ip router isis
router isis
net 49.0001.0000.0000.000a.00 (设置NET,49为area id,0001.0000000a为system id)
is-type level-2-only 路由器类型为Level 2
Router B
interface Ethernet 0
ip address 10.1.5.2 255.255.255.0
ip router isis
interface Ethernet 1
ip address 10.1.6.2 255.255.255.0
ip router isis
interface serial 0
ip address 10.1.4.2 255.255.255.0
ip router isis
router isis
net 49.0001.0000.0000.000b.00
is-type level-2-only
Router C
interface Ethernet 0
ip address 10.1.7.3 255.255.255.0
ip router isis
interface Ethernet 1
ip address 10.1.6.3 255.255.255.0
ip router isis
router isis
net 49.0001.0000.0000.000c.00
is-type level-2-only
可以用以下命令对IS-IS的状态进行监测:
1、观察邻接状态,
Router#show clns is-neigbors
2、观察连接状态数据库。
Router#show isis database
3、列出路由器最近进行的所有的SPF运算。
Router#show isis spf-log
4、列出触发路由器进行SPF算法的事件。
Router#debugisis spf-events
原文转自:www.ltesting.net
篇9:Cisco3640Voip配置实例解析网络知识
下面是一个Cisco 3640的VOIP配置,对方的结构是台北和上海两地做VOIP,后接阿尔卡特的PBX,这是我亲手做的,里面有很多有注意的地方,与大家一起分享快乐! 如有看不懂的地方请问我,还有我加的注解: Taipei#sh run Building configuration... Current config
下面是一个Cisco 3640的VOIP配置,对方的结构是台北和上海两地做VOIP,后接阿尔卡特的PBX,这是我亲手做的,里面有很多有注意的地方,与大家一起分享快乐!
如有看不懂的地方请问我,还有我加的注解:
Taipei#sh run
Building configuration...
Current configuration:
!
version 12.0
service timestamps debug uptime(设定Debug跟踪日志显示其时间)
service timestamps log uptime(设定看Log时显示其时间)
no service password-encryption(口令不加密)
!
hostname Taipei(主机名)
!
enable secret 5 $1$R.66$z.BUjhNsJcIr8KCcS9uxG.
!
!
!
!
!
voice-card 1(定义语音卡1)
!
voice-card 3(定义语音卡3)
!
ip su.net-zero
no ip domain-lookup
!
isdn voice-call-failure 0
!
!
!
!
controller E1 1/0(配置 E1语音卡)
framing NO-CRC4
ds0-group 0 timeslots 1-15,17-31 type e&m-wink-start(定义语音卡的类型为E&M卡)
cas-custom 0
!
controller E1 3/0(配置 E1语音卡)
framing NO-CRC4
ds0-group 0 timeslots 1-15,17-31 type e&m-wink-start(定义语音卡的类型为E&M卡)
cas-custom 0
!
!
!
interface BRI0/0
no ip address
no ip directed-broadcast
shutdown
isdn guard-timer 0 on-expiry aclearcase/” target=“_blank” >ccept
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
shutdown
duplex auto
speed auto
!
interface Serial0/0
description “Link to MainLand_ShangHai by NCIC lease line”
ip address 192.168.1.1 255.255.255.252
no ip directed-broadcast
no ip mroute-cache
no fair-queue
!
interface Serial0/1
no ip address
no ip directed-broadcast
shutdown
clockrate 2000000
!
ip classless
no ip http server
!
!
voice-port 1/0:0(配置模拟语音端口)
compand-type a-law
!
voice-port 3/0:0(配置模拟语音端口)
compand-type a-law
!
dial-peer voice 1 voip (定义拨号对等体到语音)
destination-pattern +445...(为拨号对等体分配电话号码,其中.为通配符)
session target ipv4:192.168.1.2(定义Voip路由,为对端的IP地址)
req-qos guaranteed-delay (语音数据流RVSP的保证,其中Guaranteed-dealy可用于保证整个网络的延时)
ip precedence 5(IP优先级,5为关键)
!
dial-peer voice 2 pots(定义拨号对等体到语音物理端口)
destination-pattern +3...(定义电话话码以3开头的)
port 1/0:0(定义语音端口)
!
dial-peer voice 3 pots(定义拨号对等体到语音物理端口)
destination-pattern +3...(定义电话话码以3开头的)
port 3/0:0(定义语音端口)
!
!
line con 0(设定登陆)
transport input none
line aux 0
line vty 0 4(允许用Telnet)
password cisco(口令为Cisco)
login
!
end
Taipei#
上海一方的3640配置
ShangHai#sh run
Building configuration...
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname ShangHai
!
enable secret 5 $1$dB/c$tnrMU9IxFCJdix5ssHAdH/
!
!
!
!
!
voice-card 1
!
voice-card 2
!
ip subnet-zero
no ip domain-lookup
!
isdn voice-call-failure 0
!
!
!
!
controller E1 1/0
framing NO-CRC4
ds0-group 0 timeslots 1-15,17-31 type e&m-immediate-start
cas-custom 0
!
controller E1 2/0
framing N
ds0-group 0 timeslots 1-15,17-31 type e&m-immediate-start
cas-custom 0
!
!
!
interface BRI0/0
no ip address
no ip directed-broadcast
encapsulation ppp
isdn guard-timer 0 on-expiry accept
ppp multilink
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
shutdown
duplex auto
speed auto
!
interface Serial0/0
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
no fair-queue
clockrate 2000000
!
interface Serial0/1
ip address 192.168.1.2 255.255.255.252
no ip directed-broadcast
!
ip classless
!
no ip http server
!
!
voice-port 1/0:0
compand-type a-law
!
voice-port 2/0:0
compand-type a-law
!
dial-peer voice 20 voip
destination-pattern +3...
session target ipv4:192.168.1.1
req-qos guaranteed-delay
ip precedence 5
!
dial-peer voice 10 pots
destination-pattern +448...
port 1/0:0
!
dial-peer voice 30 voip
destination-pattern +4...
session target ipv4:192.168.1.1
req-qos guaranteed-delay
ip precedence 5
!
dial-peer voice 40 pots
destination-pattern +449...
port 2/0:0
!
!
line con 0
transport input none
line aux 0
line vty 0 4
password cisco
login
!
end
ShangHai#
原文转自:www.ltesting.net
★ IEEE802.16 WiMAX物理层操作和测量网络知识
CiscoHSRP的配置网络知识(锦集9篇)




