Jump to content
Калькуляторы

cisco serial interface и Vlan Можно ли подать в транке

Народ подскажите пожалуйста можно ли через 1 сериал порт в Cisco пропустить несколько vlan ...

 

Есть два объекта соединенные радиорелейками, на одной стороне с релейки сигнал подается в serial порт 36xx циски. Необходимо прогнать на другую сторону несколько вланов, но не понимаю как это сделать, ибо c serial интерфейсами столкнулся впервые...

Edited by Omax

Share this post


Link to post
Share on other sites

CISCO#show interfaces serial 4/0:1

Serial4/0:1 is up, line protocol is up

Hardware is DSX1

Description: E1 to Office

Internet address is 192.168.20.129/30

MTU 1500 bytes, BW 1984 Kbit, DLY 20000 usec,

reliability 255/255, txload 69/255, rxload 44/255

Encapsulation PPP, loopback not set

Keepalive set (10 sec)

LCP Open

Listen: CDPCP

Open: IPCP

Last input 00:00:25, output 00:00:00, output hang never

Last clearing of "show interface" counters 11w0d

Input queue: 0/75/4/0 (size/max/drops/flushes); Total output drops: 97031

Queueing strategy: weighted fair

Output queue: 0/1000/64/97000 (size/max total/threshold/drops)

Conversations 0/37/256 (active/max active/max total)

Reserved Conversations 0/0 (allocated/max allocated)

Available Bandwidth 1488 kilobits/sec

5 minute input rate 345000 bits/sec, 145 packets/sec

5 minute output rate 543000 bits/sec, 165 packets/sec

81083985 packets input, 514491402 bytes, 0 no buffer

Received 0 broadcasts, 2 runts, 0 giants, 0 throttles

4 input errors, 3 CRC, 1 frame, 0 overrun, 0 ignored, 1 abort

96397474 packets output, 3197481243 bytes, 0 underruns

0 output errors, 0 collisions, 2 interface resets

0 output buffer failures, 0 output buffers swapped out

5 carrier transitions

Timeslot(s) Used:1-31, Transmitter delay is 0 flags

CISCO#

Share this post


Link to post
Share on other sites

На серийнике протокол ППП посему, Общий Ответ - без перенастройки серийника никак. Только через энкапсуляцию Л2 в Л3. Вот Экзампель http://www.cisco.com...0801f66fa.shtml http://blog.ine.com/tag/xconnect/

Edited by sol

Share this post


Link to post
Share on other sites

CISCO(config-if)#encapsulation ?

atm-dxi ATM-DXI encapsulation

bstun Block Serial tunneling (BSTUN)

frame-relay Frame Relay networks

hdlc Serial HDLC synchronous

lapb LAPB (X.25 Level 2)

ppp Point-to-Point protocol

sdlc SDLC

sdlc-primary SDLC (primary)

sdlc-secondary SDLC (secondary)

smds Switched Megabit Data Service (SMDS)

stun Serial tunneling (STUN)

x25 X.25

 

CISCO(config-if)#encapsulation

Share this post


Link to post
Share on other sites

несколько frame-relay сабинтерфейсов, их поместить в бридж-группы с нужными dot1q сабинтерфейсами.

или, если поддерживается - L2TPv3

Share this post


Link to post
Share on other sites

если на интерфейсе уже включена encaps ppp, то естественно не даст, надо делать или fr, или hdlc

Share this post


Link to post
Share on other sites

Если перенастройка возможна, то и с PPP можно все оставить - просто сделать бридж между интерфейсами (вместо IPCP поднимется BCP).

Share this post


Link to post
Share on other sites

Omax

interface Serial0/3/0

encapsulation frame-relay IETF

no frame-relay inverse-arp

frame-relay lmi-type ansi

frame-relay intf-type dce <- вот это ставится только с одной стороны

!

interface Serial0/3/0.100 point-to-point

frame-relay interface-dlci 100 IETF

!

Share this post


Link to post
Share on other sites

Если перенастройка возможна, то и с PPP можно все оставить - просто сделать бридж между интерфейсами (вместо IPCP поднимется BCP).

для bcp не нужны сабы, хотя в смысле изначальной проблемы, да, может помочь

Share this post


Link to post
Share on other sites

CISCO1

interface Serial0/3/0

no ip address

encapsulation frame-relay ietf

frame-relay lmi-type ansi

!

interface Serial0/3/0.16 point-to-point

ip address 10.10.16.1 255.255.255.0

!

interface Serial0/3/0.100 point-to-point

ip address 10.10.1.1 255.255.255.0

frame-relay interface-dlci 100

!

 

CISCO2

!

interface Serial0/3/0

no ip address

encapsulation frame-relay ietf

!

interface Serial0/3/0.16 point-to-point

ip address 10.10.16.2 255.255.255.0

!

interface Serial0/3/0.100 point-to-point

ip address 10.10.1.2 255.255.255.0

!

 

Между собой не пингуются

Edited by Omax

Share this post


Link to post
Share on other sites

CISCO1

interface Serial0/3/0

no ip address

encapsulation frame-relay ietf

frame-relay lmi-type ansi

!

interface Serial0/3/0.16 point-to-point

ip address 10.10.16.1 255.255.255.0

!

interface Serial0/3/0.100 point-to-point

ip address 10.10.1.1 255.255.255.0

frame-relay interface-dlci 100

!

 

CISCO2

!

interface Serial0/3/0

no ip address

encapsulation frame-relay ietf

!

interface Serial0/3/0.16 point-to-point

ip address 10.10.16.2 255.255.255.0

!

interface Serial0/3/0.100 point-to-point

ip address 10.10.1.2 255.255.255.0

!

 

Между собой не пингуются

 

На обоих Serial допишите.

frame-relay lmi-type ansi
frame-relay intf-type nni
interface Serial0/3/0.16 point-to-point
frame-relay interface-dlci 116
interface Serial0/3/0.100 point-to-point
frame-relay interface-dlci 100

Edited by Telesis

Share this post


Link to post
Share on other sites

!

interface Serial0/3/0

no ip address

encapsulation frame-relay ietf

frame-relay lmi-type ansi

!

interface Serial0/3/0.16 point-to-point

ip address 10.10.16.1 255.255.255.0

frame-relay interface-dlci 116

!

interface Serial0/3/0.100 point-to-point

ip address 10.10.100.1 255.255.255.0

frame-relay interface-dlci 100

!

 

Даже себя не пингует, остальное прописать не получилось нет таких функций ниже вывод команды frame-relay ?

 

Router(config-if)#frame-relay ?

interface-dlci Define a DLCI on an interface/subinterface

lmi-type Use CISCO-ANSI-CCITT type LMI

map Map a protocol address to a DLCI address

Router(config-if)#frame-relay

Share this post


Link to post
Share on other sites

на самом деле все проще

R5#sh run int Se0/0/1:0
Building configuration...

Current configuration : 87 bytes
!
interface Serial0/0/1:0
no ip address
encapsulation frame-relay
no keepalive
end

R5#sh run int Se0/0/1:0.1
Building configuration...

Current configuration : 121 bytes
!
interface Serial0/0/1:0.1 point-to-point
ip address 192.168.1.5 255.255.255.0
frame-relay interface-dlci 100   
end

R9#sh run int Se0/0/1:0
Building configuration...

Current configuration : 87 bytes
!
interface Serial0/0/1:0
no ip address
encapsulation frame-relay
no keepalive
end

R9#sh run int Se0/0/1:0.1
Building configuration...

Current configuration : 121 bytes
!
interface Serial0/0/1:0.1 point-to-point
ip address 192.168.1.9 255.255.255.0
frame-relay interface-dlci 100   
end

R5#ping 192.168.1.5      

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms
R5#ping 192.168.1.9

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.9, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Share this post


Link to post
Share on other sites

Даже себя не пингует, остальное прописать не получилось нет таких функций ниже вывод команды frame-relay ?

 

Router(config-if)#frame-relay ?

interface-dlci Define a DLCI on an interface/subinterface

lmi-type Use CISCO-ANSI-CCITT type LMI

map Map a protocol address to a DLCI address

Router(config-if)#frame-relay

Я боюсь спрашивать про версию ios, ибо frame-relay intf-type [dce | dte | nni] Release 10.0 - This command was introduced.

p.s. на сериальных интерфейсах cisco пингует себя через удалённую сторону, поэтому, пока канал не соберёшь, пинговать даже себя не сможешь.

Share this post


Link to post
Share on other sites

FR это все хорошо, но где тут решение задачи ТС?

да мы тут так, общаемся на интересные темы

на самом деле все было сказано в начале, поднять mpls на линке будет самое нормальное

Share this post


Link to post
Share on other sites

FR это все хорошо, но где тут решение задачи ТС?

да мы тут так, общаемся на интересные темы

на самом деле все было сказано в начале, поднять mpls на линке будет самое нормальное

А mpls на 36-й серии лицензию не захочет?

 

Ребят всем спасибо, все работает сделал по примеру zi_rus, все легко и просто)

Молодец, только отключение keepalive не есть гуд для сериальных интерфейсов, хотя и не везде и не всегда.

Share this post


Link to post
Share on other sites

А mpls на 36-й серии лицензию не захочет?

это детали, на сколько я знаю, лицензии начались в 15 иосе, на 12 все нормально, хотя лично я из софтовых роутеров только 28хх использовал

 

Молодец, только отключение keepalive не есть гуд для сериальных интерфейсов, хотя и не везде и не всегда.

no keepalive отключает lmi, как раз для случая когда с обоих концов оказываются DTE интерфейсы, но сами keepalive можно включить при необходимости используя map-class frame-relay

Share this post


Link to post
Share on other sites

Ребят всем спасибо, все работает сделал по примеру zi_rus, все легко и просто)

А можно глянуть полный итоговый конфиг с ВЛАНами и бриджом?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.