<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" >

<channel><title><![CDATA[
	
	Sharmin Ferdusy - Cisco]]></title><link><![CDATA[http://www.sharmin.info/cisco]]></link><description><![CDATA[Cisco]]></description><pubDate>Fri, 30 Dec 2022 05:13:22 -0800</pubDate><generator>Weebly</generator><item><title><![CDATA[LAN Switching Commands]]></title><link><![CDATA[http://www.sharmin.info/cisco/august-19th-2012]]></link><comments><![CDATA[http://www.sharmin.info/cisco/august-19th-2012#comments]]></comments><pubDate>Fri, 20 Jan 2012 03:41:20 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.sharmin.info/cisco/august-19th-2012</guid><description><![CDATA[Show interface trunkSW1#show interface trunkPort Mode Encapsulation Status Native vlanFa0/11 desirable 802.1q trunking 1Fa0/12 desirable 802.1q trunking 1Port Vlans allowed on trunkFa0/11 1-4094Fa0/12 1-4094Port Vlans allowed and active in management domainFa0/11 1Fa0/12 1Port Vlans in spanning tree forwarding state and not prunedFa0/11 1Fa0/12 noneThis command displays all ports that are actively trunking, their trunking mode, the encapsulation type, and the native VLAN. It also displays the VL [...] ]]></description><content:encoded><![CDATA[<div class="paragraph" style="text-align:left;"><font color="#006600"><strong>Show interface trunk</strong></font><br />SW1#show interface trunk<br />Port Mode Encapsulation Status Native vlan<br />Fa0/11 desirable 802.1q trunking 1<br />Fa0/12 desirable 802.1q trunking 1<br />Port Vlans allowed on trunk<br />Fa0/11 1-4094<br />Fa0/12 1-4094<br />Port Vlans allowed and active in management domain<br />Fa0/11 1<br />Fa0/12 1<br />Port Vlans in spanning tree forwarding state and not pruned<br />Fa0/11 1<br />Fa0/12 none<br />This command displays all ports that are actively trunking, their trunking mode, the encapsulation type, and the native VLAN. It also displays the VLANs that are allowed to have traffic go across the trunk. CCNA candidates should note that this is the command that displays the trunking protocol in use &ndash; either 802.1Q (&ldquo;dot1q) or ISL.<br /><font color="#006600"><strong>Show mac-address-table</strong></font><br />SW1#show mac-address-table<br />Mac Address Table<br />-------------------------------------------<br />Vlan Mac Address Type Ports<br />---- ----------- -------- -----<br />All 000f.90e2.25c0 STATIC CPU<br />All 0100.0ccc.cccc STATIC CPU<br />All 0100.0ccc.cccd STATIC CPU<br />All 0100.0cdd.dddd STATIC CPU<br />1 000b.be2c.518b DYNAMIC Fa0/11<br />Total Mac Addresses for this criterion:5<br /><br /><strong><font color="#006600">Show spanning-tree vlan (VLAN_NUMBER)</font></strong><br />SW2#show spanning-tree vlan 23<br />VLAN0023<br />Spanning tree enabled protocol ieee<br />Root ID Priority 32791<br />Address 000b.be2c.5180<br />This bridge is the root<br />Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec<br />Bridge ID Priority 32791 (priority 32768 sys-id-ext 23)<br />Address 000b.be2c.5180<br />Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec<br />Aging Time 15<br />Interface Role Sts Cost Prio.Nbr Type<br />---------------- ---- --- --------- -------- --------------------------<br />Fa0/3 Desg FWD 100 128.3 Shr<br />Fa0/11 Desg FWD 19 128.11 P2p<br />Fa0/12 Desg FWD 19 128.12 P2p<br />Show vlan brief<br />SW1#show vlan brief<br />VLAN Name Status Ports<br />---- -------------------------------- --------- ---------------------------<br />1 default active Fa0/1, Fa0/3, Fa0/4, Fa0/5<br />Fa0/6, Fa0/7, Fa0/8, Fa0/9<br />Fa0/10<br />23 VLAN0023 active Fa0/2<br />1002 fddi-default act/unsup<br />1003 token-ring-default act/unsup<br />1004 fddinet-default act/unsup<br />1005 trnet-default act/unsup<br />Quickly learn what ports are in what VLAN with this command. Note the default VLAN is VLAN 1, which is also the native VLAN.<br /><font color="#006600"><strong>Show vtp status</strong></font><br />SW2#show vtp status<br />VTP Version : 2<br />Configuration Revision : 2<br />Maximum VLANs supported locally : 64<br />Number of existing VLANs : 6<br />VTP Operating Mode : Server<br />VTP Domain Name : CCNA<br />VTP Pruning Mode : Enabled<br />VTP V2 Mode : Disabled<br />VTP Traps Generation : Disabled<br />MD5 digest : 0xE2 0xCC 0x1A 0xB8 0x8E 0x80 0x6F 0xF4<br />Configuration last modified by 0.0.0.0 at 3-1-93 00:52:40<br />Local updater ID is 0.0.0.0 (no valid interface found)<br />The main concerns here is that this is the command that shows you the VTP operating mode of this device (server, client, or transparent), the VTP domain name, and whether pruning is enabled.<br /><br /><span></span><font color="#006600"><strong>Spanning-tree vlan (VLAN_NUMBER) root primary</strong></font><br />SW1#conf t<br />Enter configuration commands, one per line. End with CNTL/Z.<br />SW1(config)#spanning vlan 23 root primary<br />SW1(config)#^Z<br />SW1#show spanning vlan 23<br />VLAN0023<br />Spanning tree enabled protocol ieee<br />Root ID Priority 20503<br />Address 000f.90e2.25c0<br />This bridge is the root<br />Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec<br />This one-line command can make a non-root bridge become the root bridge. In this example, SW1 was configured with the command. Where SW2 was the root bridge in the previous command example, SW1 is now the root bridge. Note the priority change from the default of 32768.<br />Vtp domain<br />Vtp password<br />Vtp pruning<br />SW1#conf t<br />Enter configuration commands, one per line. End with CNTL/Z.<br />SW1(config)#vtp domain CCNA<br />Changing VTP domain name from NULL to CCNA<br />SW1(config)#vtp password CISCO<br />Setting device VLAN database password to CISCO<br />SW1(config)#vtp pruning</div>]]></content:encoded></item></channel></rss>