hit counter script

Configuring The Native Vlan For 802.1Q Trunking Ports; Configuring The Allowed Vlans For Trunking Ports - Cisco Nexus 5000 Series Configuration Manual

Nx-os layer 2 switching configuration guide, release 5.0(3)n1(1)
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Configuring the Native VLAN for 802.1Q Trunking Ports

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.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# interface {type slot/port | port-channel number}
3. switch(config-if)# switchport trunk native vlan vlan-id
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface {type slot/port |
port-channel number}
Step 3
switch(config-if)# switchport trunk native vlan
vlan-id
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.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# interface {type slot/port | port-channel number}
3. switch(config-if)# switchport trunk allowed vlan {vlan-list all | none [add |except | none | remove
{vlan-list}]}
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)N1(1)
78
Configuring Access and Trunk Interfaces
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.

Advertisement

Table of Contents
loading

Table of Contents