СвязьПроект
http://old.xdsl.ru/svpro/

Addpac AP1100F Bridge Spanning-Tree
http://old.xdsl.ru/svpro/viewtopic.php?f=4&t=5488
Страница 1 из 1

Автор:  silentlol [ 29 мар 2016, 03:20 ]
Заголовок сообщения:  Addpac AP1100F Bridge Spanning-Tree

Здравствуйте.
Вопрос по spanning-tree на шлюзе.

Задача - внедрить протокол stp в сети посредством шлюза.

Код:
version 8.30W
!
hostname xxx
!
no ip routing
!
bridge hello-time 3
bridge priority 32796
bridge spanning-tree
!
dhcp-list 1 type server
dhcp-list 1 address server  10.1.1.2 10.1.1.126 255.255.255.128
!
no ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
ip-share sending default-interface loopback
!
interface null0
 no ip address
!
interface ether0.0
 ip address xx.xx.xx.xx xx.xx.xx.xx
 line-ctrl promiscuous
 bridge 1
!
interface ether1.0
 no ip address
 line-ctrl promiscuous
 bridge 1
!
interface null0
 no ip address
!
snmp name xxx
snmp enable-trap dn-register 300 forcely-block
!
no arp reset
!
route 0.0.0.0 0.0.0.0 xx.xx.xx.xx
!
dnshost  domain xxx
!
user add 1 xxx xxx
!
! VoIP configuration.
!
! Voice service voip configuration.
!
voice service voip
 fax protocol t38 redundancy 0
 fax rate 9600
 h323 call start fast
 h323 call tunnel enable
!
! Voice port configuration.
!
! FXS
voice-port 0/0
 connection plar 205
 description 108
 caller-id enable
!
! FXS
voice-port 0/1
 connection plar 206
 description 109
 caller-id enable
!
! FXS
voice-port 0/2
 connection plar 207
 description 110
 caller-id enable
!
! FXS
voice-port 0/3
 connection plar 208
 description 111
 caller-id enable
!
! FXS
voice-port 1/0
 connection plar 209
 description 112
 caller-id enable
!
! FXS
voice-port 1/1
 connection plar 210
 description 113
 caller-id enable
!
! FXS
voice-port 1/2
 connection plar 221
 description 126
 caller-id enable
!
! FXS
voice-port 1/3
 description 115
 caller-id enable
!
! Pots peer configuration.
!
dial-peer voice 0 pots
 destination-pattern 108
 port 0/0
!
dial-peer voice 1 pots
 destination-pattern 109
 port 0/1
!
dial-peer voice 2 pots
 destination-pattern 110
 port 0/2
!
dial-peer voice 3 pots
 destination-pattern 111
 port 0/3
!
dial-peer voice 4 pots
 destination-pattern 112
 port 1/0
!
dial-peer voice 5 pots
 destination-pattern 113
 port 1/1
!
dial-peer voice 6 pots
 destination-pattern 126
 port 1/2
!
dial-peer voice 7 pots
 destination-pattern 115
 port 1/3
!
! Voip peer configuration.
!
dial-peer voice 100 voip
 destination-pattern 2..
 session target xx.xx.xx.xx
 codec g726r32
 no vad
 dtmf-relay h245-alphanumeric
!
dial-peer voice 101 voip
 destination-pattern 3..
 session target xx.xx.xx.xx
 codec g726r32
 no vad
 dtmf-relay h245-alphanumeric
!
gatekeeper
!
! Gateway configuration.
!
gateway
 h323-id voip.xx.xx.xx.xx
 no ignore-msg-from-other-gk
!
! SIP UA configuration.
!
sip-ua
!
! MGCP configuration.
!
mgcp
 no codec
 vad
!
! Tones
!


Сразу же после включения stp идет спам следующего предупреждения:

[BRIDGE] unknown destination <bridge.c/4699>.

Проблема: после перезагрузки шлюза bridge spanning-tree отключается.

Автор:  genal [ 31 мар 2016, 08:05 ]
Заголовок сообщения:  Re: Addpac AP1100F Bridge Spanning-Tree

Шлюз не особо рекомендуется использовать в каких либо целях помимо VoIP.

Страница 1 из 1 Часовой пояс: UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/