Configuring The Native Vlan For 802.1Q Trunking Ports; Configuring The Allowed Vlans For Trunking Ports - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring Access and Trunk Interfaces
This example shows how to set an interface as an Ethernet trunk port:
switch# configure terminal
switch(config)# interface ethernet 1/3
switch(config-if)# switchport mode trunk
Related Topics

Configuring the Native VLAN for 802.1Q Trunking Ports

If you do not configure this parameter, the trunk port uses the default VLAN as the native VLAN ID.
Procedure
Step 1
Step 2
Step 3
This example shows how to set the native VLAN for an Ethernet trunk port:
switch# configure terminal
switch(config)# interface ethernet 1/3
switch(config-if)# switchport trunk native vlan 5

Configuring the Allowed VLANs for Trunking Ports

You can specify the IDs for the VLANs that are allowed on the specific trunk port.
Before you configure the allowed VLANs for the specified trunk ports, ensure that you are configuring the
correct interfaces and that the interfaces are trunks.
Procedure
Step 1
Step 2
Step 3
OL-16597-01
Understanding IEEE 802.1Q Encapsulation, page 102
Command or Action
switch# configure terminal
switch(config)# interface {type slot/port
| port-channel number}
switch(config-if)# switchport trunk
native vlan vlan-id
Command or Action
switch# configure terminal
switch(config)# interface {type
slot/port | port-channel number}
switch(config-if)# switchport trunk
allowed vlan {vlan-list all | none
[add |except | none | remove
{vlan-list}]}
Configuring the Native VLAN for 802.1Q Trunking Ports
Purpose
Enters configuration mode.
Specifies an interface to configure, and enters
interface configuration mode.
Sets the native VLAN for the 802.1Q trunk. Valid
values are from 1 to 4094, except those VLANs
reserved for internal use. The default value is
VLAN1.
Purpose
Enters configuration mode.
Specifies an interface to configure, and enters interface
configuration mode.
Sets allowed VLANs for the trunk interface. The default is
to allow all VLANs on the trunk interface: 1 to 3967 and
4048 to 4094. VLANs 3968 to 4047 are the default VLANs
reserved for internal use by default; this group of VLANs is
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
107

Advertisement

Table of Contents
loading

Table of Contents