Second post of this little series. While I was using my CCNP SWITCH lab for testing many different protocols, I “showed” and saved the output of those protocols as well. Refer to the lab overview of my last post in order to understand those outputs.
I basically saved them as a reference for myself in case I am interested in the information revealed by them. I won’t explain any details of the protocols nor the outputs here. Just many listings. Fly over them and reflect yourself whether you would understand anything. ;) Here we go:
At first here are the show running-config outputs of all 7 involved Cisco devices for download. Please note that there are some more configuration commands present that are not related to the pcap trace such as port-security, storm-control, dhcp snooping, etc.
And here are the various show commands for many different protocols, dependent on the router/switches I used them in my lab.
Router R1a: show standby brief, show cdp neighbors, show ntp associations, show snmp, show ip sla responder, show adjacency, show adjacency […] detail
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
CCNP-LAB-R1a#show standby brief P indicates configured to preempt. | Interface Grp Pri P State Active Standby Virtual IP Fa0/0 120 110 P Active local 192.168.120.25 192.168.120.4 Fa0/0 126 110 P Active local FE80::21A:6CFF:FEA1:2B98 FE80::5:73FF:FEA0:7E Fa0/1 121 110 P Active local 192.168.121.253 192.168.121.1 Fa0/1 127 110 P Active local FE80::21A:6CFF:FEA1:2B99 FE80::5:73FF:FEA0:7F CCNP-LAB-R1a# CCNP-LAB-R1a# CCNP-LAB-R1a#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, D - Remote, C - CVTA, M - Two-port Mac Relay Device ID Local Intrfce Holdtme Capability Platform Port ID CCNP-LAB-S2.webernetz.net Fas 0/1 148 S I WS-C2950G Fas 0/19 CCNP-LAB-R1b.webernetz.net Fas 0/0 154 R S I 2811 Fas 0/0 CCNP-LAB-R1a# CCNP-LAB-R1a# CCNP-LAB-R1a#show ntp associations address ref clock st when poll reach delay offset disp ~2610:20:6F15:15::27 .STEP. 16 - 1024 0 0.000 0.000 15937. +~2A01:4F8:172:19CF::2 131.188.3.222 2 358 1024 377 7.607 -0.221 18.678 -~2A01:4F8:191:5044:FF00::2 235.106.237.24 3 227 1024 377 7.657 -0.497 14.836 +~2003:51:6012:110::6B5:123 .PPS. 1 386 1024 377 1.644 -0.615 14.830 *~2003:51:6012:110::DCF7:123 .DCFa. 1 453 1024 377 1.678 -1.601 18.655 * sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured CCNP-LAB-R1a# CCNP-LAB-R1a# CCNP-LAB-R1a#show snmp Chassis: FCZ093171JF Contact: Johannes Weber Location: On the top of the rack 9802 SNMP packets input 0 Bad SNMP version errors 0 Unknown community name 0 Illegal operation for community name supplied 0 Encoding errors 39208 Number of requested variables 0 Number of altered variables 9802 Get-request PDUs 0 Get-next PDUs 0 Set-request PDUs 0 Input queue packet drops (Maximum queue size 1000) 9802 SNMP packets output 0 Too big errors (Maximum packet size 1500) 0 No such name errors 0 Bad values errors 0 General errors 9802 Response PDUs 0 Trap PDUs SNMP Dispatcher: queue 0/75 (current/max), 0 dropped SNMP Engine: queue 0/1000 (current/max), 0 dropped SNMP logging: disabled CCNP-LAB-R1a# CCNP-LAB-R1a# CCNP-LAB-R1a#show ip sla responder General IP SLA Responder on Control port 1967 General IP SLA Responder is: Enabled Number of control message received: 25986 Number of errors: 0 Recent sources: 192.168.121.2 [22:05:44.467 UTC Tue Mar 14 2017] 192.168.121.2 [22:04:44.470 UTC Tue Mar 14 2017] 192.168.121.2 [22:03:44.468 UTC Tue Mar 14 2017] 192.168.121.2 [22:02:44.467 UTC Tue Mar 14 2017] 192.168.121.2 [22:01:44.466 UTC Tue Mar 14 2017] Recent error sources: Permanent Port IP SLA Responder Permanent Port IP SLA Responder is: Disabled CCNP-LAB-R1a# CCNP-LAB-R1a# CCNP-LAB-R1a#show adjacency Protocol Interface Address IP FastEthernet0/0 192.168.120.1(11) IP FastEthernet0/0 192.168.120.10(7) IP FastEthernet0/0 192.168.120.13(7) IP FastEthernet0/0 192.168.120.22(7) IPV6 FastEthernet0/0 2003:51:6012:120::1(11) IPV6 FastEthernet0/0 2003:51:6012:120::10(7) IPV6 FastEthernet0/0 2003:51:6012:120::13(7) IPV6 FastEthernet0/0 2003:51:6012:120::A08:53(7) IPV6 FastEthernet0/0 FE80::20C:29FF:FE29:6F6A(2) IPV6 FastEthernet0/0 FE80::20C:29FF:FEBE:674D(2) IPV6 FastEthernet0/0 FE80::21D:92FF:FE53:5812(2) IPV6 FastEthernet0/0 FE80::B60C:25FF:FE05:8E13(2) IP FastEthernet0/1 192.168.121.2(13) IP FastEthernet0/1 192.168.121.10(7) IP FastEthernet0/1 192.168.121.20(7) IP FastEthernet0/1 192.168.121.30(7) IP FastEthernet0/1 192.168.121.40(11) IP FastEthernet0/1 192.168.121.253(7) IPV6 FastEthernet0/1 2003:51:6012:121::2(7) IPV6 FastEthernet0/1 2003:51:6012:121::10(7) IPV6 FastEthernet0/1 2003:51:6012:121::40(7) IPV6 FastEthernet0/1 2003:51:6012:121::CAFE(7) IPV6 FastEthernet0/1 FE80::216:47FF:FEDF:E7C2(2) IPV6 FastEthernet0/1 FE80::21A:6CFF:FEA1:2B99(2) IPV6 FastEthernet0/1 FE80::21E:7AFF:FE79:3F11(6) IPV6 FastEthernet0/1 FE80::221:1BFF:FEAE:31C1(2) CCNP-LAB-R1a# CCNP-LAB-R1a# CCNP-LAB-R1a#show adjacency fa0/0 link ipv6 detail Protocol Interface Address IPV6 FastEthernet0/0 2003:51:6012:120::1(11) 319379 packets, 39033010 bytes epoch 0 sourced in sev-epoch 0 Encap length 14 B40C25058E130014699E114086DD IPv6 ND IPV6 FastEthernet0/0 2003:51:6012:120::10(7) 1207 packets, 232469 bytes epoch 0 sourced in sev-epoch 0 Encap length 14 001D925358120014699E114086DD IPv6 ND IPV6 FastEthernet0/0 2003:51:6012:120::A08:53(7) 1 packets, 92 bytes epoch 0 sourced in sev-epoch 0 Encap length 14 000C29296F6A0014699E114086DD IPv6 ND IPV6 FastEthernet0/0 FE80::20C:29FF:FE29:6F6A(2) 0 packets, 0 bytes epoch 0 sourced in sev-epoch 0 Encap length 14 000C29296F6A0014699E114086DD IPv6 ND CCNP-LAB-R1a# |
Router R2: show ip route, show ipv6 route, show ip dhcp binding, show ip sla configuration 260720081, show ip sla statistics 260720081
Note the routes that have two distinct next hops due to the two HSRP routers.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
CCNP-LAB-R2#show ip route Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP + - replicated route, % - next hop override Gateway of last resort is 192.168.121.254 to network 0.0.0.0 R* 0.0.0.0/0 [120/1] via 192.168.121.254, 00:00:11, FastEthernet0/1.121 [120/1] via 192.168.121.253, 00:00:21, FastEthernet0/1.121 192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks C 192.168.10.0/24 is directly connected, FastEthernet0/1.10 L 192.168.10.1/32 is directly connected, FastEthernet0/1.10 192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks C 192.168.20.0/24 is directly connected, FastEthernet0/1.20 L 192.168.20.1/32 is directly connected, FastEthernet0/1.20 192.168.30.0/24 is variably subnetted, 2 subnets, 2 masks C 192.168.30.0/24 is directly connected, FastEthernet0/1.30 L 192.168.30.1/32 is directly connected, FastEthernet0/1.30 192.168.121.0/24 is variably subnetted, 2 subnets, 2 masks C 192.168.121.0/24 is directly connected, FastEthernet0/1.121 L 192.168.121.2/32 is directly connected, FastEthernet0/1.121 CCNP-LAB-R2# CCNP-LAB-R2# CCNP-LAB-R2#show ipv6 route IPv6 Routing Table - default - 7 entries Codes: C - Connected, L - Local, S - Static, U - Per-user Static route B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary D - EIGRP, EX - EIGRP external, NM - NEMO, ND - Neighbor Discovery l - LISP O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2 R ::/0 [120/2] via FE80::214:69FF:FE9E:1141, FastEthernet0/1.121 via FE80::21A:6CFF:FEA1:2B99, FastEthernet0/1.121 R 2003:51:6012:120::/64 [120/2] via FE80::214:69FF:FE9E:1141, FastEthernet0/1.121 via FE80::21A:6CFF:FEA1:2B99, FastEthernet0/1.121 C 2003:51:6012:121::/64 [0/0] via FastEthernet0/1.121, directly connected L 2003:51:6012:121::2/128 [0/0] via FastEthernet0/1.121, receive C 2003:51:6012:122::/64 [0/0] via FastEthernet0/1.10, directly connected L 2003:51:6012:122::1/128 [0/0] via FastEthernet0/1.10, receive L FF00::/8 [0/0] via Null0, receive CCNP-LAB-R2# CCNP-LAB-R2# CCNP-LAB-R2#show ip dhcp binding Bindings from all pools not associated with VRF: IP address Client-ID/ Lease expiration Type Hardware address/ User name 192.168.30.11 0021.70e9.bb47 Mar 07 2017 12:25 PM Automatic CCNP-LAB-R2# CCNP-LAB-R2# CCNP-LAB-R2#show ip sla configuration 260720081 IP SLAs Infrastructure Engine-III Entry number: 260720081 Owner: Tag: Operation timeout (milliseconds): 5000 Type of operation to perform: icmp-echo Target address/Source address: 2A01:488:42:1000:50ED:8588:8A:C570/:: Traffic-Class parameter: 0x0 Flow-Label parameter: 0x0 Request size (ARR data portion): 28 Verify data: No Vrf Name: Schedule: Operation frequency (seconds): 60 (not considered if randomly scheduled) Next Scheduled Start Time: Start Time already passed Group Scheduled : FALSE Randomly Scheduled : FALSE Life (seconds): Forever Entry Ageout (seconds): never Recurring (Starting Everyday): FALSE Status of entry (SNMP RowStatus): Active Threshold (milliseconds): 5000 Distribution Statistics: Number of statistic hours kept: 2 Number of statistic distribution buckets kept: 1 Statistic distribution interval (milliseconds): 20 Enhanced History: History Statistics: Number of history Lives kept: 0 Number of history Buckets kept: 15 History Filter Type: None CCNP-LAB-R2# CCNP-LAB-R2# CCNP-LAB-R2#show ip sla statistics 260720081 IPSLAs Latest Operation Statistics IPSLA operation id: 260720081 Latest RTT: 8 milliseconds Latest operation start time: 23:07:35 UTC Mon Mar 6 2017 Latest operation return code: OK Number of successes: 18 Number of failures: 0 Operation time to live: Forever CCNP-LAB-R2# |
Switch S1: show vlan brief, show vtp status, show lldp neighbors, show spanning-tree vlan 121, show monitor detail, show etherchannel summary, show ip dhcp snooping binding, show ip arp, show ip arp inspection, show udld neighbors, show interfaces trunk, show interfaces fa0/18
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 |
CCNP-LAB-S1#show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active 2 trunk-native active 3 access-default active Fa0/1, Fa0/4, Fa0/5, Fa0/6 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/19 Fa0/20, Fa0/21, Fa0/22, Fa0/23 Fa0/24 10 VLAN10undsonstnix active 20 VLAN20halt active 30 VLAN30nochnvlan active 40 foobar40 active 50 foobar50 active 60 foobar60 active 70 foobar70 active 80 foobar80 active 90 foobar90 active 121 CCNP-LAB active 1002 fddi-default act/unsup 1003 trcrf-default act/unsup 1004 fddinet-default act/unsup 1005 trbrf-default act/unsup CCNP-LAB-S1# CCNP-LAB-S1# CCNP-LAB-S1#show vtp status VTP Version capable : 1 to 3 VTP version running : 2 VTP Domain Name : webernetz.net VTP Pruning Mode : Disabled VTP Traps Generation : Disabled Device ID : 0021.1bae.3180 Configuration last modified by 192.168.121.10 at 3-3-17 19:57:26 Local updater ID is 192.168.121.10 on interface Vl121 (lowest numbered VLAN interface found) Feature VLAN: -------------- VTP Operating Mode : Server Maximum VLANs supported locally : 255 Number of existing VLANs : 17 Configuration Revision : 13 MD5 digest : 0x37 0x67 0xB2 0x89 0xD5 0xBF 0x20 0x9C 0x0D 0xFE 0x01 0x28 0x16 0x42 0x8D 0x98 CCNP-LAB-S1# CCNP-LAB-S1# CCNP-LAB-S1#show lldp neighbors Capability codes: (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other Device ID Local Intf Hold-time Capability Port ID CCNP-LAB-S4 Fa0/3 94 B Fa0/1 Total entries displayed: 1 CCNP-LAB-S1# CCNP-LAB-S1# CCNP-LAB-S1#show spanning-tree vlan 121 VLAN0121 Spanning tree enabled protocol rstp Root ID Priority 24697 Address 000a.8aa1.5a80 Cost 4 Port 72 (Port-channel2) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 32889 (priority 32768 sys-id-ext 121) Address 0021.1bae.3180 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 sec Interface Role Sts Cost Prio.Nbr Type ------------------- ---- --- --------- -------- -------------------------------- Fa0/2 Desg FWD 19 128.2 P2p Fa0/3 Desg FWD 19 128.3 P2p Gi0/2 Altn BLK 4 128.26 P2p Po2 Root FWD 4 128.72 P2p CCNP-LAB-S1# CCNP-LAB-S1# CCNP-LAB-S1#show monitor detail Session 1 --------- Type : Local Session Description : - Source Ports : RX Only : None TX Only : None Both : Gi0/1 Source VLANs : RX Only : None TX Only : None Both : None Source RSPAN VLAN : None Destination Ports : Fa0/18 Encapsulation : Replicate Ingress : Disabled Filter VLANs : None Dest RSPAN VLAN : None CCNP-LAB-S1# CCNP-LAB-S1# CCNP-LAB-S1#show etherchannel summary Flags: D - down P - bundled in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 U - in use f - failed to allocate aggregator M - not in use, minimum links not met u - unsuitable for bundling w - waiting to be aggregated d - default port Number of channel-groups in use: 1 Number of aggregators: 1 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 2 Po2(SU) LACP Gi0/1(P) CCNP-LAB-S1# CCNP-LAB-S1# CCNP-LAB-S1#show ip dhcp snooping binding MacAddress IpAddress Lease(sec) Type VLAN Interface ------------------ --------------- ---------- ------------- ---- -------------------- 00:21:70:E9:BB:47 192.168.30.11 48421 dhcp-snooping 30 GigabitEthernet0/2 Total number of bindings: 1 CCNP-LAB-S1# CCNP-LAB-S1# CCNP-LAB-S1#show ip arp Protocol Address Age (min) Hardware Addr Type Interface Internet 192.168.110.10 197 0000.0c9f.f079 ARPA Vlan121 Internet 192.168.121.1 79 0000.0c9f.f079 ARPA Vlan121 Internet 192.168.121.10 - 0021.1bae.31c1 ARPA Vlan121 CCNP-LAB-S1# CCNP-LAB-S1# CCNP-LAB-S1#show ip arp inspection Source Mac Validation : Disabled Destination Mac Validation : Disabled IP Address Validation : Disabled Vlan Configuration Operation ACL Match Static ACL ---- ------------- --------- --------- ---------- 10 Enabled Active 20 Enabled Active 30 Enabled Active Vlan ACL Logging DHCP Logging Probe Logging ---- ----------- ------------ ------------- 10 Deny Deny Off 20 Deny Deny Off 30 Deny Deny Off Vlan Forwarded Dropped DHCP Drops ACL Drops ---- --------- ------- ---------- --------- 10 0 0 0 0 20 0 0 0 0 30 153 0 0 0 Vlan DHCP Permits ACL Permits Probe Permits Source MAC Failures ---- ------------ ----------- ------------- ------------------- 10 0 0 0 0 20 0 0 0 0 30 0 0 0 0 Vlan Dest MAC Failures IP Validation Failures Invalid Protocol Data ---- ----------------- ---------------------- --------------------- 10 0 0 0 20 0 0 0 30 0 0 0 CCNP-LAB-S1# CCNP-LAB-S1# CCNP-LAB-S1#show udld neighbors Port Device Name Device ID Port ID Neighbor State ---- ----------- --------- ------- -------------- Gi0/1 FOC0630Z3KZ 1 Gi0/2 Bidirectional Gi0/2 FOC0632X0T3 1 Gi0/1 Bidirectional CCNP-LAB-S1# CCNP-LAB-S1# CCNP-LAB-S1#show interfaces trunk Port Mode Encapsulation Status Native vlan Fa0/2 on 802.1q trunking 2 Fa0/3 on 802.1q trunking 2 Gi0/2 on 802.1q trunking 2 Po2 on 802.1q trunking 2 Port Vlans allowed on trunk Fa0/2 10-90,121 Fa0/3 1-4094 Gi0/2 1-4094 Po2 1-4094 Port Vlans allowed and active in management domain Fa0/2 10,20,30,40,50,60,70,80,121 Fa0/3 1-3,10,20,30,40,50,60,70,80,100-102,121 Gi0/2 1-3,10,20,30,40,50,60,70,80,100-102,121 Po2 1-3,10,20,30,40,50,60,70,80,100-102,121 Port Vlans in spanning tree forwarding state and not pruned Fa0/2 10,20,30,40,50,60,70,80,121 Fa0/3 1,40,121 Gi0/2 none Port Vlans in spanning tree forwarding state and not pruned Po2 1,121 CCNP-LAB-S1# CCNP-LAB-S1# CCNP-LAB-S1#show interfaces fa0/18 FastEthernet0/18 is up, line protocol is down (monitoring) Hardware is Fast Ethernet, address is 0021.1bae.3192 (bia 0021.1bae.3192) Description: Mirror-Port MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s, media type is 10/100BaseTX input flow-control is off, output flow-control is unsupported ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output 1w6d, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 2000 bits/sec, 2 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts (0 multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 0 multicast, 0 pause input 0 input packets with dribble condition detected 33280700 packets output, 3019227110 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 unknown protocol drops 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 pause output 0 output buffer failures, 0 output buffers swapped out CCNP-LAB-S1# |
Switch S2: show cdp neighbors, show etherchannel summary, show lacp neighbor, show vtp status, show vtp password, show dtp interface gi0/1, show spanning-tree summary, show spanning-tree vlan 121
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
CCNP-LAB-S2#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone Device ID Local Intrfce Holdtme Capability Platform Port ID CCNP-LAB-S3.webernetz.net Fas 0/23 122 S I WS-C2950G-Fas 0/23 CCNP-LAB-S3.webernetz.net Fas 0/24 122 S I WS-C2950G-Fas 0/24 CCNP-LAB-S3.webernetz.net Gig 0/1 122 S I WS-C2950G-Gig 0/2 CCNP-LAB-S1.webernetz.net Gig 0/2 138 S I WS-C2960-2Gig 0/1 CCNP-LAB-R1a.webernetz.net Fas 0/19 147 R S I 2811 Fas 0/1 CCNP-LAB-S2# CCNP-LAB-S2# CCNP-LAB-S2#show etherchannel summary Flags: D - down P - in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 u - unsuitable for bundling U - in use f - failed to allocate aggregator d - default port Number of channel-groups in use: 2 Number of aggregators: 2 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 1 Po1(SU) LACP Fa0/21(D) Fa0/22(D) Fa0/23(P) Fa0/24(Pd) 2 Po2(SU) LACP Gi0/2(Pd) CCNP-LAB-S2# CCNP-LAB-S2# CCNP-LAB-S2#show lacp neighbor Flags: S - Device is requesting Slow LACPDUs F - Device is requesting Fast LACPDUs A - Device is in Active mode P - Device is in Passive mode Channel group 1 neighbors Partner's information: LACP port Oper Port Port Port Flags Priority Dev ID Age Key Number State Fa0/21 SP 0 0000.0000.0000 779867s 0x0 0x0 0x0 Fa0/22 SP 0 0000.0000.0000 779867s 0x0 0x0 0x0 Fa0/23 SA 32768 000a.b718.d600 6s 0x1 0x17 0x3D Fa0/24 SA 32768 000a.b718.d600 23s 0x1 0x18 0x3D Channel group 2 neighbors Partner's information: LACP port Oper Port Port Port Flags Priority Dev ID Age Key Number State Gi0/2 SA 32768 0021.1bae.3180 17s 0x2 0x11A 0x3D CCNP-LAB-S2# CCNP-LAB-S2# CCNP-LAB-S2#show vtp status VTP Version : 2 Configuration Revision : 13 Maximum VLANs supported locally : 250 Number of existing VLANs : 17 VTP Operating Mode : Client VTP Domain Name : webernetz.net VTP Pruning Mode : Disabled VTP V2 Mode : Enabled VTP Traps Generation : Disabled MD5 digest : 0x37 0x67 0xB2 0x89 0xD5 0xBF 0x20 0x9C Configuration last modified by 192.168.121.10 at 3-3-17 19:57:26 CCNP-LAB-S2# CCNP-LAB-S2# CCNP-LAB-S2#show vtp password VTP Password: thisisthepassword CCNP-LAB-S2# CCNP-LAB-S2# CCNP-LAB-S2#show dtp interface gi0/1 DTP information for GigabitEthernet0/1: TOS/TAS/TNS: TRUNK/ON/TRUNK TOT/TAT/TNT: 802.1Q/802.1Q/802.1Q Neighbor address 1: 000AB718D61A Neighbor address 2: 000000000000 Hello timer expiration (sec/state): 12/RUNNING Access timer expiration (sec/state): never/STOPPED Negotiation timer expiration (sec/state): never/STOPPED Multidrop timer expiration (sec/state): never/STOPPED FSM state: S6:TRUNK # times multi & trunk 0 Enabled: yes In STP: no Statistics ---------- 34175 packets received (34175 good) 0 packets dropped 0 nonegotiate, 0 bad version, 0 domain mismatches, 0 bad TLVs, 0 bad TAS, 0 bad TAT, 0 bad TOT, 0 other 34175 packets output (34175 good) 34175 native, 0 software encap isl, 0 isl hardware native 0 output errors 0 trunk timeouts 2 link ups, last link up on Mon Mar 01 1993, 00:00:49 1 link downs, last link down on Mon Mar 01 1993, 00:00:44 CCNP-LAB-S2# CCNP-LAB-S2# CCNP-LAB-S2#show spanning-tree summary Switch is in rapid-pvst mode Root bridge for: VLAN0001-VLAN0003, VLAN0121 EtherChannel misconfig guard is enabled Extended system ID is enabled Portfast Default is enabled PortFast BPDU Guard Default is enabled Portfast BPDU Filter Default is disabled Loopguard Default is enabled UplinkFast is disabled BackboneFast is disabled Pathcost method used is short Name Blocking Listening Learning Forwarding STP Active ---------------------- -------- --------- -------- ---------- ---------- VLAN0001 0 0 0 3 3 VLAN0002 0 0 0 3 3 VLAN0003 0 0 0 3 3 VLAN0010 0 0 0 3 3 VLAN0020 0 0 0 3 3 VLAN0030 0 0 0 3 3 VLAN0040 0 0 0 3 3 VLAN0050 0 0 0 3 3 VLAN0060 0 0 0 3 3 VLAN0070 0 0 0 3 3 VLAN0080 0 0 0 3 3 VLAN0090 0 0 0 3 3 VLAN0121 0 0 0 4 4 ---------------------- -------- --------- -------- ---------- ---------- 13 vlans 0 0 0 40 40 CCNP-LAB-S2# CCNP-LAB-S2# CCNP-LAB-S2#show spanning-tree vlan 121 VLAN0121 Spanning tree enabled protocol rstp Root ID Priority 24697 Address 000a.8aa1.5a80 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 24697 (priority 24576 sys-id-ext 121) Address 000a.8aa1.5a80 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Fa0/19 Desg FWD 19 128.19 Edge P2p Gi0/1 Desg FWD 4 128.25 P2p Po1 Desg FWD 12 128.65 P2p Po2 Desg FWD 4 128.66 P2p CCNP-LAB-S2# |
Switch S3: show mac address-table, show port-security address, show interfaces status, show errdisable detect
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
CCNP-LAB-S3#show mac address-table Mac Address Table ------------------------------------------- Vlan Mac Address Type Ports ---- ----------- -------- ----- All 000a.b718.d600 STATIC CPU All 0100.0ccc.cccc STATIC CPU All 0100.0ccc.cccd STATIC CPU All 0100.0cdd.dddd STATIC CPU 1 000a.8aa1.5a99 DYNAMIC Gi0/2 1 0021.1bae.319a DYNAMIC Gi0/1 2 000a.8aa1.5a99 DYNAMIC Gi0/2 2 0021.1bae.319a DYNAMIC Gi0/1 3 000a.8aa1.5a99 DYNAMIC Gi0/2 10 001e.7a79.3f11 DYNAMIC Gi0/1 10 0021.1bae.319a DYNAMIC Gi0/1 20 0021.1bae.319a DYNAMIC Gi0/1 30 0021.1bae.319a DYNAMIC Gi0/1 30 0021.70e9.bb47 STATIC Fa0/6 40 0016.47df.e7c2 DYNAMIC Gi0/1 40 0021.1bae.319a DYNAMIC Gi0/1 121 0000.0c9f.f079 DYNAMIC Gi0/2 121 0005.73a0.007f DYNAMIC Gi0/2 121 000a.8aa1.5a99 DYNAMIC Gi0/2 121 0014.699e.1141 DYNAMIC Gi0/2 121 0016.47df.e7c1 DYNAMIC Gi0/2 121 001a.6ca1.2b99 DYNAMIC Fa0/19 121 001e.7a79.3f11 DYNAMIC Gi0/2 50 0021.1bae.319a DYNAMIC Gi0/1 60 0021.1bae.319a DYNAMIC Gi0/1 70 0021.1bae.319a DYNAMIC Gi0/1 80 0021.1bae.319a DYNAMIC Gi0/1 90 0021.1bae.319a DYNAMIC Gi0/1 Total Mac Addresses for this criterion: 28 CCNP-LAB-S3# CCNP-LAB-S3# CCNP-LAB-S3#show port-security address Secure Mac Address Table ------------------------------------------------------------------- Vlan Mac Address Type Ports Remaining Age (mins) ---- ----------- ---- ----- ------------- 30 0021.70e9.bb47 SecureSticky Fa0/6 - ------------------------------------------------------------------- Total Addresses in System (excluding one mac per port) : 0 Max Addresses limit in System (excluding one mac per port) : 1024 CCNP-LAB-S3# CCNP-LAB-S3# CCNP-LAB-S3#show interfaces status Port Name Status Vlan Duplex Speed Type Fa0/1 notconnect 10 auto auto 10/100BaseTX Fa0/2 notconnect 10 auto auto 10/100BaseTX Fa0/3 notconnect 10 auto auto 10/100BaseTX Fa0/4 notconnect 10 auto auto 10/100BaseTX Fa0/5 notconnect 10 auto auto 10/100BaseTX Fa0/6 Knoppix Testrechne connected 30 a-full a-100 10/100BaseTX Fa0/7 notconnect 20 auto auto 10/100BaseTX Fa0/8 notconnect 20 auto auto 10/100BaseTX Fa0/9 notconnect 20 auto auto 10/100BaseTX Fa0/10 notconnect 20 auto auto 10/100BaseTX Fa0/11 notconnect 20 auto auto 10/100BaseTX Fa0/12 notconnect 20 auto auto 10/100BaseTX Fa0/13 notconnect 30 auto auto 10/100BaseTX Fa0/14 notconnect 30 auto auto 10/100BaseTX Fa0/15 notconnect 30 auto auto 10/100BaseTX Fa0/16 notconnect 30 auto auto 10/100BaseTX Fa0/17 notconnect 30 auto auto 10/100BaseTX Fa0/18 notconnect 30 auto auto 10/100BaseTX Fa0/19 Zu Internet connected 121 a-full a-100 10/100BaseTX Fa0/20 notconnect 3 auto auto 10/100BaseTX Fa0/21 notconnect 1 auto auto 10/100BaseTX Fa0/22 notconnect 1 auto auto 10/100BaseTX Fa0/23 connected trunk a-full a-100 10/100BaseTX Fa0/24 connected trunk a-full a-100 10/100BaseTX Gi0/1 connected trunk a-full a-1000 1000BaseSX Gi0/2 connected trunk a-full a-1000 1000BaseSX Po1 connected trunk a-full a-100 CCNP-LAB-S3# CCNP-LAB-S3# CCNP-LAB-S3#show errdisable detect ErrDisable Reason Detection status ----------------- ---------------- udld Enabled bpduguard Enabled security-violatio Enabled channel-misconfig Enabled psecure-violation Enabled dhcp-rate-limit Enabled unicast-flood Enabled vmps Enabled pagp-flap Enabled dtp-flap Enabled link-flap Enabled gbic-invalid Disabled loopback Enabled CCNP-LAB-S3# |
Switch S4: show sdm prefer, show spanning-tree vlan 121, show power inline, show platform tcam utilization
Note the Root ID Cost of 23 which is 19 + 4 since it has a 100 Mbps link to S1 and then a 1 Gbps link to S2 which is root. Also note that this is a PoE switch with two connected devices.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
CCNP-LAB-S4#show sdm prefer The current template is "desktop IPv4 and IPv6 default" template. The selected template optimizes the resources in the switch to support this level of features for 8 routed interfaces and 1024 VLANs. number of unicast mac addresses: 2K number of IPv4 IGMP groups + multicast routes: 1K number of IPv4 unicast routes: 3K number of directly-connected IPv4 hosts: 2K number of indirect IPv4 routes: 1K number of IPv6 multicast groups: 1.125k number of directly-connected IPv6 addresses: 2K number of indirect IPv6 unicast routes: 1K number of IPv4 policy based routing aces: 0 number of IPv4/MAC qos aces: 0.5K number of IPv4/MAC security aces: 1K number of IPv6 policy based routing aces: 0 number of IPv6 qos aces: 0.625k number of IPv6 security aces: 0.5K CCNP-LAB-S4# CCNP-LAB-S4# CCNP-LAB-S4#show spanning-tree vlan 121 VLAN0121 Spanning tree enabled protocol rstp Root ID Priority 24697 Address 000a.8aa1.5a80 Cost 23 Port 3 (FastEthernet0/1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 32889 (priority 32768 sys-id-ext 121) Address 0016.47df.e780 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 sec Interface Role Sts Cost Prio.Nbr Type ------------------- ---- --- --------- -------- -------------------------------- Fa0/1 Root FWD 19 128.3 P2p CCNP-LAB-S4# CCNP-LAB-S4# CCNP-LAB-S4#show power inline Available:370.0(w) Used:28.3(w) Remaining:341.7(w) Interface Admin Oper Power Device Class Max (Watts) --------- ------ ---------- ------- ------------------- ----- ---- Fa0/1 auto off 0.0 n/a n/a 15.4 Fa0/2 auto off 0.0 n/a n/a 15.4 Fa0/3 auto off 0.0 n/a n/a 15.4 Fa0/4 auto off 0.0 n/a n/a 15.4 Fa0/5 auto off 0.0 n/a n/a 15.4 Fa0/6 auto off 0.0 n/a n/a 15.4 Fa0/7 auto on 12.9 IP Phone 7961 3 15.4 Fa0/8 auto off 0.0 n/a n/a 15.4 Fa0/9 auto off 0.0 n/a n/a 15.4 Fa0/10 auto off 0.0 n/a n/a 15.4 Fa0/11 auto on 15.4 Ieee PD 0 15.4 Fa0/12 auto off 0.0 n/a n/a 15.4 Fa0/13 auto off 0.0 n/a n/a 15.4 Fa0/14 auto off 0.0 n/a n/a 15.4 Fa0/15 auto off 0.0 n/a n/a 15.4 Fa0/16 auto off 0.0 n/a n/a 15.4 Fa0/17 auto off 0.0 n/a n/a 15.4 Fa0/18 auto off 0.0 n/a n/a 15.4 Fa0/19 auto off 0.0 n/a n/a 15.4 Fa0/20 auto off 0.0 n/a n/a 15.4 Fa0/21 auto off 0.0 n/a n/a 15.4 Fa0/22 auto off 0.0 n/a n/a 15.4 Fa0/23 auto off 0.0 n/a n/a 15.4 Fa0/24 auto off 0.0 n/a n/a 15.4 CCNP-LAB-S4# CCNP-LAB-S4# CCNP-LAB-S4#show platform tcam utilization CAM Utilization for ASIC# 0 Max Used Masks/Values Masks/values Unicast mac addresses: 672/5376 21/63 IPv4 IGMP groups: 152/1216 6/26 IPv4 unicast directly-connected routes: 672/5376 21/63 IPv4 unicast indirectly-connected routes: 144/1152 12/60 IPv6 Multicast groups: 672/5376 21/63 IPv6 unicast directly-connected routes: 672/5376 21/63 IPv6 unicast indirectly-connected routes: 128/1024 12/45 IPv4 policy based routing aces: 0/0 0/0 IPv4 qos aces: 768/768 260/260 IPv4 security aces: 1024/1024 39/39 IPv6 policy based routing aces: 0/0 0/0 IPv6 qos aces: 0/0 0/0 IPv6 security aces: 204/510 8/8 Note: Allocation of TCAM entries per feature uses a complex algorithm. The above information is meant to provide an abstract view of the current TCAM utilization CCNP-LAB-S4# |
Featured image: “DSC06337_stitch” by Steve Harwood is licensed under CC BY-NC 2.0.
Hello,
You may add:
sh spanning-tree summary
I think it is such useful command.
Best.
Ok thanks a lot. I just added it on S2.