Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Архив1 / docx56 / Лаба 3.docx
Скачиваний:
41
Добавлен:
01.08.2013
Размер:
81.91 Кб
Скачать

Лабораторная работа №3 cdp

Press Enter to Start

%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 Serial0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, 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)#exit

Отображение итоговой информации о соседях маршрутизатора.

router1#sh cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

S -Switch, H - Host, i - IGMP, r - Repeater

Device ID Local Intrfce Holdtme Capability Platform Port ID

router3 Ser0 179 R 2501 Ser 0

router2 Eth0 179 R 2621 Fas 0/0

router2 Bri0 179 R 2621 Bri 0

Дисплей маршр. 1 отображает итоговую информацию о соседях CDP, просмотр с какими входами граничит Маршр. 1.

router1#show cdp neighbors detail

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

Device ID: router3

Entry address(es):

IP address: 175.10.1.2

Platform: Boson 2501 , Capabilities: Router

Interface: Ser0, Port ID (outgoing port): Ser 0

Holdtime: 175 sec

Version :

Boson Operating System Software

Software, Version 12.1(16), RELEASE SOFTWARE (fc2)

Copyright (c) 1986-2001 by Systems, Inc.

Compiled Fri 02-Mar-01 17:34 by dchih

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

Device ID: router2

Entry address(es):

IP address: 160.10.1.2

Platform: Boson 2621 , Capabilities: Router

Interface: Eth0, Port ID (outgoing port): Fas 0/0

Holdtime: 175 sec

router1#show cdp entry

%Incomplete command.

router1#show cdp entry *

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

Device ID: router3

Entry address(es):

IP address: 175.10.1.2

Platform: Boson 2501 , Capabilities: Router

Interface: Ser0, Port ID (outgoing port): Ser 0

Holdtime: 174 sec

Version :

Boson Operating System Software

Software, Version 12.1(16), RELEASE SOFTWARE (fc2)

Copyright (c) 1986-2001 by Systems, Inc.

Compiled Fri 02-Mar-01 17:34 by dchih

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

Device ID: router2

Entry address(es):

IP address: 160.10.1.2

Platform: Boson 2621 , Capabilities: Router

Interface: Eth0, Port ID (outgoing port): Fas 0/0

Holdtime: 174 sec

Отображение тех интерфейсов где активен CDP.

router1#show cdp interface

Serial0 is up, line protocol is up

encapsulation HDLC

Sending CDP packets every 60 seconds

Holdtime is 180 seconds

Serial1 is down, line protocol is down

encapsulation HDLC

Sending CDP packets every 60 seconds

Holdtime is 180 seconds

Ethernet0 is up, line protocol is up

encapsulation ARPA

Sending CDP packets every 60 seconds

Holdtime is 180 seconds

Bri0 is up, line protocol is up

encapsulation HDLC

Sending CDP packets every 60 seconds

Holdtime is 180 seconds

Bri0:1 is down, line protocol is down

encapsulation HDLC

Sending CDP packets every 60 seconds

Holdtime is 180 seconds

Bri0:2 is down, line protocol is down

encapsulation HDLC

Sending CDP packets every 60 seconds

Holdtimeis180seconds

Изменение интервала времени вещания изменяю на 50 секунд и интервал удержания на 170 сек. Запуск интерфейса cdp для проверки таймеров.

router1#config

Configuring from terminal, memory, or network [terminal]?

Enter configuration commands, one per line. End with CNTL/Z.

router1(config)#cdp timer 50

router1(config)#cdp holdtime 170

router1(config)#exit

router1#sh cdp interface

Serial0 is up, line protocol is up

encapsulation HDLC

Sending CDP packets every 50 seconds

Holdtime is 170 seconds

Serial1 is down, line protocol is down

encapsulation HDLC

Sending CDP packets every 50 seconds

Holdtime is 170 seconds

Ethernet0 is up, line protocol is up

encapsulation ARPA

Sending CDP packets every 50 seconds

Holdtime is 170 seconds

Bri0 is up, line protocol is up

encapsulation HDLC

Sending CDP packets every 50 seconds

Holdtime is 170 seconds

Bri0:1 is down, line protocol is down

encapsulation HDLC

Sending CDP packets every 50 seconds

Holdtime is 170 seconds

Bri0:2 is down, line protocol is down

encapsulation HDLC

Sending CDP packets every 50 seconds

Holdtime is 170 seconds

Соседние файлы в папке docx56