- •Лабораторная работа №1 Основные конфигурации маршрутизатора
- •Лабораторная работа №2 Расширенные конфигурации маршрутизатора
- •Лабораторная работа №3 cdp
- •Лабораторная работа №4 telnet
- •Лабораторная работа №5 tftp
- •Лабораторная работа №6 rip
- •Лабораторная работа №7
- •Лабораторная работа №8. Eigrp
- •Лабораторная работа №9 ospf
- •Лабораторная работа №10 Каталист – конфигурация переключения
- •Лабораторная работа №11
- •Лабораторная работа №12 Конфигурация свитча
- •Лабораторная работа №13
- •VlaNs и Магистраль для 2950 свитча
- •Лабораторная работа №14 Списки доступа ip
- •Лабораторная работа №15 nat/pat
- •Лабораторная работа №16 ррр и снар
- •Лабораторная работа №17.
Лабораторная работа №17.
ISDN
В данной работе вам предстоит конфигурировать цифровую сеть комплексного обслуживания между маршрутизаторами 1 и 2, используя набор кода наследства. Наследство DDRозначает, что все параметрыISDNконфигурированы при интерфейсеBRI/ВRI, а не при интерфейсе программы. Любой пакет должен представить трафик, любой Маршрутизатор должен быть способен начать запрос. Обратитесь к таблице выше для выбора типа свитча, адресов, подсетевых масок, номеров телефонов.
Роутер1:
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up
%LINK-3-UPDOWN: Interface Bri0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Bri0, changed state to up
router1(config-line)#
router1(config-line)#exit
router1(config)#isdn switch-type basic-ni
router1(config)#dialer-list 1 protocol ip permit
router1(config)#username router2 password ciso
router1(config)#interface bri0
router1(config-if)#encap ppp
%LINK-3-UPDOWN: Interface Bri0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Bri0, changed state to down
router1(config-if)#ip address 200.10.1.1 255.255.255.0
router1(config-if)#isdn spid1 32177820010100
router1(config-if)#dialer-group 1
router1(config-if)#dialer map ip 200.10.1.2 name router2 broadcast 7782002
router1(config-if)#ppp authentication chap
router1(config-if)#no shut
router1(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
router1#show isdn status
Global ISDN Switchtype = basic-ni
ISDN BRI0 interface
dsl 0, interface ISDN Switchtype = basic-ni
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 64, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
TEI 64, ces = 1, state = 8(established)
spid1 configured, no LDN, spid1 sent, spid1 valid
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x80000003
Number of L2 Discards = 0, L2 Session ID = 100
Total Allocated ISDN CCBs = 0
router1#show interface bri0
Bri0 is up, line protocol is down
Hardware is BRI
Internet address is 200.10.1.1/24
MTU 1500 bytes, BW Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP ACKRCVD
Closed: IPCP , CDPCP
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of show interface counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 1000 bits/sec, 2 packets/sec
5 minute output rate 1000 bits/sec, 2 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
router1#show interfaces bri0 1 2
Bri0:1 is is down, line protocol is down
Hardware is BRI
Internet address is 200.10.1.1/24
MTU 1500 bytes, BW Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP ACKRCVD
Closed: IPCP , CDPCP
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of show interface counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 1000 bits/sec, 2 packets/sec
5 minute output rate 1000 bits/sec, 2 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Bri0/0:2 is down, line protocol is down
router1#ping 200.10.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.10.1.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms
Запускаем команду показа ISDN состояния на маршрутизаторах 1 и 2.
router1#show isdn status
Global ISDN Switchtype = basic-ni
ISDN BRI0 interface
dsl 0, interface ISDN Switchtype = basic-ni
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 64, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
TEI 64, ces = 1, state = 8(established)
spid1 configured, no LDN, spid1 sent, spid1 valid
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x80000003
Number of L2 Discards = 0, L2 Session ID = 100
Total Allocated ISDN CCBs = 0
Запускаем команду показа интерфейса bri0 иbri0 1 2.
router1#show interfaces bri0 1 2
Bri0:1 is is down, line protocol is down
Hardware is BRI
Internet address is 200.10.1.1/24
MTU 1500 bytes, BW Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP ACKRCVD
Closed: IPCP , CDPCP
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of show interface counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 1000 bits/sec, 2 packets/sec
5 minute output rate 1000 bits/sec, 2 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Bri0/0:2 is down, line protocol is down
Hardware is BRI
От маршрутизатора 1 пингуем интерфейс ISDNмаршрутизатора 2.
router1#ping 200.10.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.10.1.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms
Аналогично роутер 2:
%LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-3-UPDOWN: Interface Bri0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Bri0, changed state to up
router2(config-line)#
router2(config-line)#exit
router2(config)#isdn switch-type basic-ni
router2(config)#dialer-list 1 protocol ip permit
router2(config)#username router1 password cisco
router2(config)#interface bri0
router2(config-if)#encap ppp
%LINK-3-UPDOWN: Interface Bri0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Bri0, changed state to down
router2(config-if)#ip address 200.10.1.2 255.255.255.0
router2(config-if)#isdn spid1 32177820020100
router2(config-if)#dialer-group 1
router2(config-if)#dialer map ip 200.10.1.1 name router1 broadcast 7782001
router2(config-if)#ppp authentication chap
%LINK-3-UPDOWN: Interface Bri0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Bri0, changed state to up
router2(config-if)#no shut
router2(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
router2#show isdn status
Global ISDN Switchtype = basic-ni
ISDN BRI0 interface
dsl 0, interface ISDN Switchtype = basic-ni
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 64, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
TEI 64, ces = 1, state = 8(established)
spid1 configured, no LDN, spid1 sent, spid1 valid
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x80000003
Number of L2 Discards = 0, L2 Session ID = 100
Total Allocated ISDN CCBs = 0