Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-1105
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
show port vlan-mapping
show port vlan-mapping
To display the current VLAN mapping configuration on a specified port, use the show port
vlan-mapping command.
show port vlan-mapping [mod[/port]]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Normal.
Usage Guidelines If you do not specify a port or a module, all VLAN mapping configurations for all ports are displayed.
Examples This example shows how to display the VLAN mapping for a specified port:
Console> show port vlan-mapping 4/1
Mod/Port Source VLAN Translated VLAN State Max Allowed (Current) Entries
-------- ----------- --------------- ---------- -----------------------------
4/1 2 1 Enabled 8 (2)
4/1 98 99 Enabled 8 (2)
Console>
Table 2-82 describes the fields in the show port vlan mapping command output.
Related Commands clear port vlan-mapping
set port vlan-mapping
mod[/port] (Optional) Number of the module and the port on the module. valid values
for the mod argument are from 1 to 9, 15, and 16.
Table 2-82 show port vlan-mapping Command Output Fields
Field Description
Mod/Port Number of the module and the port on the module.
Source VLAN Number of the source VLAN.
Translated VLAN Number of the VLAN that is mapped to the source VLAN.
State Status of whether VLAN mapping is enabled or disabled.
Max Allowed (Current)
Entries
Maximum number of per-port VLAN mappings that are supported;
current number of entries in parentheses.