]> gitweb.morketsmerke.org Git - mmdev.git/commitdiff
Kontynuacja pisania 3 rozdziału, 2 modułu.
authorxf0r3m <jakubstasinski@protonmail.com>
Tue, 16 Jul 2024 12:45:13 +0000 (14:45 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Tue, 16 Jul 2024 12:45:13 +0000 (14:45 +0200)
articles/terminallog/Cisco_-_CCNA.html

index 184797811d84dd79c90d1ffb4b1a7af00559e136..cb2eeb64d0d7a1f13ef52824edd9228859aafbb4 100755 (executable)
@@ -6720,6 +6720,26 @@ Switch(config-if)#switchport trunk native vlan 1
 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>