In this blog I will be explaining how to configure a Cisco SMB Switch with both a Voice and Data VLAN. I will also be going over how to Inter-VLAN route between both the Voice and Data VLANs. Lets start with the hardware I will be using.
Hardware Used:
Cisco SG300 - Firmware 1.3.0.62
Fortinet 50B - Firmware FWF50B-4.00-FW-build656-130211
Lets gather information to get this configuration started:
WAN: 100.50.50.2
Mask: 255.255.255.252
Gateway: 100.50.50.1
VLAN 1
Name: Native
Network: 192.168.5.0 /24
Gateway: 192.168.5.1
VLAN 10
Name: VOICE
Network: 192.168.10.0 /24
Gateway: 192.168.10.1
VLAN 100
Name: MANAGEMENT
Now, lets setup the Fortinet with the default settings of DNS and Default Route.
DNS:
config system dns
set primary xxx.xxx.xxx.xxx
set secondary 208.91.112.52
DEFAULT ROUTE:
config router static
edit 1
set device "wan1"
set gateway 100.50.50.1
next
end
Now we can setup our VLAN and create our default policies.
INTERFACES:
config system interface
edit "internal"
set vdom "root"
set ip 192.168.5.1 255.255.255.0
set allowaccess ping https ssh http fgfm
set type physical
next
edit "wan1"
set vdom "root"
set ip 100.50.50.2 255.255.255.252
set allowaccess ping fgfm
set type physical
next
edit "VOICE"
set vdom "root"
set dhcp-relay-service enable
set dhcp-relay-ip "192.168.5.5"
set ip 192.168.10.1 255.255.255.0
set interface "internal"
set vlanid 10
next
FIREWALL POLICIES:
config firewall policy
edit 1
set srcintf "internal"
set dstintf "wan1"
set srcaddr "all"
set dstaddr "all"
set action accept
set schedule "always"
set service "ANY"
set nat enable
next
edit 2
set srcintf "internal"
set dstintf "VOICE"
set srcaddr "all"
set dstaddr "all"
set action accept
set schedule "always"
set service "ANY"
next
edit 3
set srcintf "VOICE"
set dstintf "internal"
set srcaddr "all"
set dstaddr "all"
set action accept
set schedule "always"
set service "ANY"
next
end
Now we can setup the Cisco SMB Switch.
config-file-header
switch552068
v1.3.0.62 / R750_NIK_1_3_647_260
CLI v1.0
set system mode switch
file SSD indicator plaintext
@
vlan database
vlan 10,100
exit
voice vlan id 10
voice vlan oui-table add 000fd3 Digium
hostname switch552068
!
interface vlan 10
name VOICE
!
interface vlan 100
ip address 192.168.100.1 255.255.255.252
no ip address dhcp
!
interface fastethernet1
description FORTINET
switchport trunk allowed vlan add 10
!
interface fastethernet2
description SWITCHVOX
switchport mode access
switchport access vlan 10
!
interface fastethernet12
description VOICE/DATA
storm-control broadcast enable
storm-control broadcast level 10
storm-control include-multicast
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
switchport trunk allowed vlan add 10
macro description ip_phone
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface fastethernet48
description MANAGEMENT
switchport mode access
switchport access vlan 100
!
exit
The above is the configuration from the SG300. With this configuration we should be able to daisy chain a computer off a phone and have both on different VLANs. In this setup we used a Digium Switchvox and everything worked out perfectly.