17-25
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 17 Configuring VLANs, VTP, and VMPS
VLAN Membership Policy Server
This example shows how to configure a dynamic access port and to verify the entry:
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
interface fa1/1
Switch(config-if)#
switchport mode access
Switch(config-if)#
switchport access vlan dynamic
Switch(config-if)#
end
Switch#
show interface fa1/1 switchport
Name: Fa0/1
Switchport: Enabled
Administrative mode: dynamic auto
Operational Mode: dynamic access
Administrative Trunking Encapsulation: isl
Operational Trunking Encapsulation: isl
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: NONE
Pruning VLANs Enabled: NONE
Voice Ports
If a VVID (voice VLAN ID) is configured on a dynamic access port, the port can belong to both an
access VLAN and a voice VLAN. Consequently, an access port configured for connecting an IP phone
can have separate VLANs for the following:
•
Data traffic to and from the PC that is connected to the switch through the access port of the IP phone
(access VLAN)
•
Voice traffic to and from the IP phone (voice VLAN)
Reconfirming VLAN Memberships
To confirm the dynamic port VLAN membership assignments that the switch has received from the
VMPS, perform this task:
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
interface
interface
Enters interface configuration mode and specifies the port to be
configured.
Step 3
Switch(config-if)#
switchport mode
access
Sets the port to access mode.
Step 4
Switch(config-if)#
switchport access
vlan dynamic
Configures the port as eligible for dynamic VLAN access.
Step 5
Switch(config-if)#
end
Returns to privileged EXEC mode.
Step 6
Switch#
show interface
interface
switchport
Verifies the entry.
Command
Purpose
Step 1
Switch#
vmps reconfirm
Reconfirms dynamic port VLAN membership.
Step 2
Switch#
show vmps
Verifies the dynamic VLAN reconfirmation status.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...