Routing

這個路由器配置有什麼問題

  • August 19, 2011

這是我們連接了 VOIP 電話的 Netgear FSM7328S。手機會線上幾秒鐘\幾分鐘然後掉線,此時,我們需要四處走動並手動重置所有手機,只會讓同樣的事情再次發生。此外,GUI 無法在交換機上執行。

(FSM7328S) #show run
!Current Configuration:
!
!System Description "FSM7328S 24+4 L3 Stackable Switch"
!System Description 7.1.1.7
!
set prompt "FSM7328S"
vlan database
vlan  2
vlan name 2 VOIP
vlan  3
vlan name 3 Data
vlan routing 1
exit

configure
sntp client mode unicast

--More-- or (q)uit

! sntp server status is active
sntp server time-f.netgear.com
stack
exit

logging buffered
slot 1/0 3
set slot power 1/0
no set slot disable 1/0
ip routing
ip route 0.0.0.0 0.0.0.0 68.165.165.165
lineconfig
serial baudrate 115200
exit

spanning-tree configuration name 00-18-4D-37-AA-D1
snmp-server sysname "Netgear FSM7328S"
snmp-server location "Server Room"
snmp-server contact "---------------------------------"
snmp-server community public@2
snmp-server community public@3
class-map match-all VOIP
match protocol udp
exit

policy-map VOIPPolicy in
class VOIP
police-simple 1024 1 conform-action set-dscp-transmit 46 violate-action drop
exit

exit

router rip
exit

ip name-server 68.165.165.165

interface  1/0/1
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/2
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/3
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/4
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/5
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/6
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/7
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/8
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/9
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/10
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/11
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/12
service-policy in VOIPPolicy
vlan participation include 2
vlan tagging 2
exit

interface  1/0/13
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/14
vlan pvid 3
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/15
vlan pvid 3
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/16
vlan pvid 3
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/17
vlan pvid 3
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/18
vlan pvid 3
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/19
vlan pvid 3
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/20
vlan pvid 3
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/21
vlan pvid 3
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/22
vlan pvid 3
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/23
vlan pvid 3
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/24
vlan pvid 3
vlan participation include 2
vlan tagging 2
vlan participation include 3
exit

interface  1/0/25
exit

interface  1/0/26
exit


--More-- or (q)uit

interface  1/0/27
exit

interface  1/0/28
exit

interface vlan 1
routing
ip address  68.165.165.214  255.255.255.224
exit

exit

不是 VoIP 或 Netgear 的人,但這可能是下降的原因:

警察簡單 1024 1 符合動作設置 dscp 傳輸 46 違反動作丟棄

我的猜測是,您的 VOIPPolicy 不包括 VoIP 電話需要做的所有事情,當他們嘗試做任何事情時它們會被丟棄……我會刪除那個違反動作丟棄部分,看看他們之後是否保持線上,並且然後嘗試確定他們在網路方面所做的事情,除了您在您的政策中已經允許他們做的事情。一旦你弄清楚他們在網路上做了什麼,你就可以在策略中包含那個行為並重新添加“違反行為丟棄”部分。

引用自:https://serverfault.com/questions/303014