发布网友 发布时间:2022-05-04 20:46
共2个回答
懂视网 时间:2022-05-05 01:08
以下范例是在frame-relay interface做PQ ----------------------------- interface FastEthernet0 ip address 192.168.1.254 255.255.255.0 ! interface Serial 0 no ip address encapsulation frame-relay priority-group 3 frame-relay lmi-type ansi ! int
以下范例是在frame-relay interface做PQ热心网友 时间:2022-05-04 22:16
a市华为2631的配置为:
jstzfgjj-jgzx#show run
now create configuration…
current configuration
!
version 1.65
enable password $x']'ir12]q;`*om0,dfdq!!
hostname jstzfgjj-jgzx
!
interface aux0
async mode interactive
encapsulation ppp
!
interface ethernet0
speed auto
plex auto
no loopback
ip address 10.10.1.10 255.255.255.0
!
interface ethernet1
speed auto
plex auto
no loopback
ip address 10.10.2.10 255.255.255.0
!
interface serial0
clock-select dteclk1
encapsulation frame-relay //类型frame-relay设置串口工作模式
frame-relay lmi-type ansi
!
interface serial0.1point-to-point
description to_city_a
frame-relay interface-dlci 351
ip address 192.168.5.1 255.255.255.0
!
interface serial1
encapsulation frame-relay
description this port have many problerm
frame-relay lmi-type ansi
!
interface serial2
clock-select dteclk1
encapsulation ppp
ip address 192.168.7.1 255.255.255.0
!
interface serial3
clock-select dteclk1
encapsulation frame-relay
frame-relay lmi-type ansi
!
interface serial3.1 point-to-point
description to_city_b
frame-relay interface-dlci 352
ip address 192.168.6.1 255.255.255.0
!
interface bri0
encapsulation ppp
dialer in-band
!
router rip
network 192.168.0.0
network 10.0.0.0
!
ip route 0.0.0.0 0.0.0.0 192.168.5.2 preference 60 //可以去掉
ip route 0.0.0.0 0.0.0.0 192.168.6.2 preference 60 //可以去掉
ip route 10.71.214.0 255.255.255.0 192.168.6.2 preference 60
ip route 192.168.0.0 255.255.255.0 192.168.5.2 preference 60
!
end
b 市cisco3661配置为:
cisco3661#show run
building configuration…
current configuration : 3711 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco3661
!
boot system tftp c3660-is-mz.121-2.t.bin 192.168.0.253
boot system tftp c3660-is-mz.121-2.t.bin 192.168.0.1
logging buffered 4096 debugging
enable secret 5 $1$lqky$ykkxubcemlyx9jrtoskvt/
!
username ****** password 0 ******
!
!
!
!
ip subnet-zero
no ip domain-lookup
!
partition flash 2 8 8
!
!
!
voice-port 4/0/0
cptone jp
!
voice-port 4/0/1
cptone jp
!
voice-port 4/1/0
cptone cn
!
voice-port 4/1/1
cptone cn
!
!
dial-peer voice 11 pots
destination-pattern 80001
port 4/0/0
!
dial-peer voice 12 pots
destination-pattern 80002
port 4/0/1
!
dial-peer voice 13 pots
destination-pattern 80003
port 4/1/0
!
dial-peer voice 14 pots
destination-pattern 80004
port 4/1/1
!
dial-peer voice 30 voip
destination-pattern 83…
req-qos guaranteed-delay
session target ipv4:192.1.1.10
!
dial-peer voice 90 voip
destination-pattern 89…
req-qos guaranteed-delay
session target ipv4:192.1.1.6
!
dial-peer voice 80 voip
destination-pattern 88…
req-qos guaranteed-delay
session target ipv4:192.1.1.14
!
dial-peer voice 60 voip
destination-pattern 86…
req-qos guaranteed-delay
session target ipv4:192.1.1.18
!
dial-peer voice 70 voip
destination-pattern 87…
req-qos guaranteed-delay
session target ipv4:192.1.1.22
!
dial-peer voice 50 voip
destination-pattern 85…
req-qos guaranteed-delay
session target ipv4:192.1.1.26
!
!
!
interface fastethernet0/0
ip address 82.192.59.254 255.255.255.0 secondary
ip address 192.168.0.254 255.255.255.0
plex auto
speed auto
!
interface serial1/0
ip address 152.1.1.2 255.255.255.252
encapsulation ppp
no ip mroute-cache
no fair-queue
serial restart-delay 0
!
interface serial1/1
description cbce
ip address 192.1.1.25 255.255.255.252
no ip mroute-cache
fair-queue 64 256 36
serial restart-delay 0
ip rsvp bandwidth 48 48
!
interface serial1/2
description gongliu
ip address 192.1.1.5 255.255.255.252
no ip mroute-cache
fair-queue 64 256 36
serial restart-delay 0
ip rsvp bandwidth 48 48
!
interface serial1/3
description huocheng
ip address 192.1.1.9 255.255.255.252
no ip mroute-cache
fair-queue 64 256 36
serial restart-delay 0
ip rsvp bandwidth 48 48
!
interface serial2/0
description xinyuan
ip address 192.1.1.13 255.255.255.252
no ip mroute-cache
fair-queue 64 256 36
serial restart-delay 0
ip rsvp bandwidth 48 48
!
interface serial2/1
description zhaosu
ip address 192.1.1.17 255.255.255.252
no ip mroute-cache
fair-queue 64 256 36
serial restart-delay 0
ip rsvp bandwidth 48 48
!
interface serial2/2
description tekesi
ip address 192.1.1.21 255.255.255.252
no ip mroute-cache
fair-queue 64 256 36
serial restart-delay 0
ip rsvp bandwidth 48 48
!
interface serial2/3
no ip address
encapsulation frame-relay ietf
serial restart-delay 0
frame-relay lmi-type ansi
!
interface serial2/3.1 point-to-point
description to_jstzfgjj-jgzx
ip address 192.168.5.2 255.255.255.0
frame-relay interface-dlci 351
!
interface group-async1
ip unnumbered fastethernet0/0
encapsulation ppp
async dynamic address
async mode interactive
peer default ip address pool dialin
ppp authentication chap pap callin
!
router rip
version 2
network 10.0.0.0
network 82.0.0.0
network 192.1.1.0
network 192.168.0.0
!
ip local pool dialin 192.168.0.246 192.168.0.253
no ip classless
ip route 10.10.1.0 255.255.255.0 192.168.5.1
ip route 10.10.2.0 255.255.255.0 192.168.5.1
ip route 82.0.0.0 255.0.0.0 serial1/0
ip route 82.192.187.0 255.255.255.0 152.1.1.1
ip route 192.168.0.0 255.255.255.0 192.168.5.1
no ip http server
!
!
line con 0
line aux 0
line vty 0 4
password cisco
login
!
end
c市cisco2500路由器配置:
user#show run
building configuration…
current configuration:
!
version 11.2
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname user
!
enable secret 5 $1$0//s$rojmqgt3vvj/zuq1tvq32.
!
username ***** password ******
!
interface ethernet0
ip address 10.71.214.50 255.255.255.0
!
interface serial0
description to_jstzfgjj-jgzx
no ip address
encapsulation frame-relay ietf
bandwidth 256 //可以不设
frame-relay lmi-type ansi
!
interface serial0.2 point-to-point
ip address 192.168.6.2 255.255.255.0
frame-relay interface-dlci 352!
interface serial1
no ip address
shutdown<