EasyManua.ls Logo

Cisco Nexus 1000V - Configuring the Native VLAN for 802.1 Q Trunking Ports

Cisco Nexus 1000V
96 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Know that a trunk port transmits untagged packets for one VLAN plus encapsulated, tagged, packets
for multiple VLANs. See IEEE 802.1Q Encapsulation, on page 24 for more information.
The device supports 802.1Q encapsulation only.
Know that the Cisco Nexus 1000V commands may differ from the Cisco IOS commands.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Specifies the interface that you are configuring and places you in
interface configuration mode. The interface argument is defined
as follows:
switch(config)# interface
interface
Step 2
For an Ethernet port, use the ethernet slot/port command,
where slot is the module slot number and port is the port
number.
For a vEthernet port, use the vethernet interface-number
command, where interface-number is a number from 1 to
1048575.
Sets the interface as a Layer 2 trunk port in the running
configuration. A trunk port can carry traffic in one or more VLANs
switch(config-if)# switchport
mode trunk
Step 3
on the same physical link (VLANs are based on the trunk-allowed
VLANs list). By default, a trunk interface can carry traffic for all
VLANs. To specify that only certain VLANs are allowed on the
specified trunk, use the switchport trunk allowed vlan command.
(Optional)
Displays the interface status and information.
switch(config-if)# show
interface interface
Step 4
(Optional)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
switch(config-if)# copy
running-config
startup-config
Step 5
This example shows how to set Ethernet 3/1 as a Layer 2 trunk port:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if)# switchport mode trunk
switch(config-if)#
Configuring the Native VLAN for 802.1Q Trunking Ports
You can configure the native VLAN for 802.1Q trunk ports. If you do not configure this parameter, the trunk
port uses the default VLAN as the native VLAN ID.
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
28
Configuring Layer 2 Interfaces
Configuring the Native VLAN for 802.1Q Trunking Ports

Table of Contents

Other manuals for Cisco Nexus 1000V

Related product manuals