Switch(config-if)#switchport trunk allowed vlan 1,40,150
Switch(config-if)#end
Switch#
+</pre>
+ <p>
+ Po podłaczeniu łączy <em>trunk</em>, będziemy mogli wydać polecenie
+ <code class="code-inline">show interface trunk</code>, które pokaże
+ nam informacje na temat skonfigurowanych w naszym urządzeniu portów
+ magistralnych.
+ </p>
+<pre class="code-inline">
+Switch#sh int tr
+Port Mode Encapsulation Status Native vlan
+Gig0/1 on 802.1q trunking 1
+
+Port Vlans allowed on trunk
+Gig0/1 1,40,150
+
+Port Vlans allowed and active in management domain
+Gig0/1 1,40,150
+
+Port Vlans in spanning tree forwarding state and not pruned
+Gig0/1 1,40,150
</pre>
</div>
</body>