hit counter script

Cisco 7604 Configuration Manual page 203

Ios software configuration guide
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Chapter 14
Configuring VLANs
Configuring VLAN Translation on a Trunk Port
To translate VLANs on a trunk port, perform this task:
Command
Step 1
Router(config)# interface type
Step 2
Router(config-if)# switchport vlan mapping enable
Step 3
Router(config-if)# switchport vlan mapping
original_vlan_ID translated_vlan_ID
Router(config-if)# no switchport vlan mapping
{all | original_vlan_ID translated_vlan_ID }
Step 4
Router(config-if)# end
Step 5
Router# show interface type
mapping
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to map VLAN 1649 to VLAN 755 Gigabit Ethernet port 5/2:
Router# configure terminal
Router(config)# interface gigabitethernet 5/2
Router(config-if)# switchport vlan mapping 1649 755
Router(config-if)# end
Router#
This example shows how to verify the configuration:
Router# show interface gigabitethernet 5/2 vlan mapping
State: enabled
Original VLAN Translated VLAN
------------- ---------------
1649
Enabling VLAN Translation on Other Ports in a Port Group
To enable VLAN translation on other ports in a port group, perform this task:
Command
Step 1
Router(config)# interface type
Step 2
Router(config-if)# switchport vlan mapping enable
Router(config-if)# no switchport vlan mapping
enable
OL-4266-08
1
slot/port
1
slot/port vlan
755
1
slot/port
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
Purpose
Selects the Layer 2 trunk port to configure.
Enables VLAN translation.
Translates a VLAN to another VLAN. The valid range is
1 to 4094.
When you configure a VLAN mapping from the original
VLAN to the translated VLAN on a port, traffic arriving
on the original VLAN gets mapped or translated to the
translated VLAN at the ingress of the switch port, and the
traffic internally tagged with the translated VLAN gets
mapped to the original VLAN before leaving the switch
port. This method of VLAN mapping is a two-way
mapping.
Deletes the mapping.
Exits configuration mode.
Verifies the VLAN mapping.
Purpose
Selects the LAN port to configure.
Enables VLAN translation.
Disables VLAN translation.
Configuring VLANs
14-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

761376067609-s7600 series

Table of Contents