55-45
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 55 Configuring a VoIP Network
Using SmartPorts
Ciscoswitch SmartPorts Template
The
ciscoswitch
interface macro command results in the following configuration:
Note
Specifying the
nativevlan
is required. Specifying the
allowedvlans
is optional.
set port macro
mod/port
ciscoswitch nativevlan
nativevlan
allowedvlans
vlans
----------------------------------------------------------------------------
set port enable mod/port
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 membership mod/port static
set port l2protocol-tunnel mod/port cdp stp vtp dis
set udld enable mod/port
set spantree portfast mod/port disable
set spantree bpdu-guard mod/port disable
set spantree link-type mod/port point-to-point
set trunk mod/port nonegotiate dot1q
If the
allowedvlans
parameter is not specified, the following configuration is used:
set trunk mod/port 1-4094 (if all specified)
If the
allowedvlans
parameter is specified, the following configuration is used:
set trunk mod/port none
set trunk mod/port vlans (if specified)
set port qos mod/port autoqos trust dscp
Ciscodesktop SmartPorts Template
The
ciscodesktop
interface macro command results in the following configuration:
Note
Specifying the
vlan
is required.
set port macro
mod/port
ciscodesktop
vlan
vlan
------------------------------------------------------
set port enable mod/port
set port host mod/port
set vlan vlan mod/port
set port auxiliaryvlan mod/port auxvlan none
set port inlinepower mod/port auto
set cdp enable mod/port
set port membership mod/port static
set port l2protocol-tunnel mod/port cdp stp vtp dis
set spantree bpdu-guard mod/port enable
set port security mod/port enable age 2 maximum 1
violation restrict
set port qos mod/port autoqos trust dscp
set port qos mod/port trust untrusted