ATL Telecom R1-SW Ethernet Switch User Manual

Page 133

Advertising
background image

Configuring VLAN

7-9

The following example describes how to configure the Gigabit Ethernet port

1/2

to a 802.1Q

trunk port for VLANs ‘

vlan1

’ and ‘

vlan2

’:

# configure terminal

(config)# vlan id 2 port gigabitethernet 1/2

(config)# dot1q port gigabitethernet 1/2 tag 1-2

(config)# end

# show dot1q

Port allowed 802.1q Static and Dynamic Vlans created by GVRP

-------- ------------------------------------------------------

1/2 1-2

# show dot1q port gigabitethernet 1/2

Port PVID Acceptable frame types Ingress filter

---------- ---- ---------------------- --------------

1/2 2 all off

Port allowed 802.1q Vlans

-------- ------------------------------------------------------

1/2 1-2

#

Advertising