55-46
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 55 Configuring a VoIP Network
Using SmartPorts
Ciscoipphone SmartPorts Template
The
ciscoipphone
interface macro command results in the following configuration:
Note
Specifying the
vlan
(
nativevlan)
is required. Specifying the
auxvlan
is optional. The port security is set
to the maximum of 3 for the IP phone because the phone’s MAC address can appear in both the native
and the auxiliary VLAN.
set port macro
mod/port
ciscoipphone vlan
nativevlan
auxvlan
auxvlan
--------------------------------------------------------------------
set port enable mod/port
set port l2protocol-tunnel mod/port cdp stp vtp dis
set port membership mod/port static
set port host mod/port
set spantree bpdu-guard mod/port enable
set vlan nativevlan mod/port
set port auxiliaryvlan mod/port auxvlan (set to none if not specified)
set port inlinepower mod/port auto (if supported by module)
set cdp enable mod/port
set port security mod/port enable age 2 maximum 3 violation restrict
set port qos mod/port autoqos voip ciscoipphone
Ciscosoftphone SmartPorts Template
The
ciscosoftphone
interface macro command results in the following configuration:
Note
Specifying the
vlan
(
nativevlan)
is required.
set port macro
mod/port
ciscosoftphone
vlan
nativevlan
--------------------------------------------------------------------
set port enable mod/port
set port l2protocol-tunnel mod/port cdp stp vtp dis
set port membership mod/port static
set port host mod/port >
set spantree bpdu-guard mod/port enable
set vlan nativevlan mod/port
set port auxiliaryvlan mod/port auxvlan none
set port inlinepower mod/port auto
set cdp enable mod/port
set port security mod/port enable age 2 maximum 1 violation restrict
set port qos mod/port autoqos voip ciscosoftphone