Cisco IOS: Unterschied zwischen den Versionen
Zovi (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „= Wichtigste Befehle = show running-configuration show interfaces description“) |
Zovi (Diskussion | Beiträge) (→Wichtigste Befehle) |
||
Zeile 5: | Zeile 5: | ||
show interfaces description | show interfaces description | ||
+ | |||
+ | |||
+ | = find a Switchport with an IP Address = | ||
+ | example: | ||
+ | |||
+ | * login to coreswitch | ||
+ | * get the Mac addr | ||
+ | |||
+ | show arp | include 172.23.133.11 | ||
+ | Internet 172.23.133.11 56 00d0.c971.2821 ARPA Vlan633 | ||
+ | |||
+ | * show the port on witch the mac is located | ||
+ | sh mac address-table | include 00d0.c971.2821 | ||
+ | 633 00d0.c971.2821 DYNAMIC Te1/0/6 | ||
+ | |||
+ | * have a look on witch accessswitch it is | ||
+ | weis26b043og3850#show running-config interface tenGigabitEthernet 1/0/6 | ||
+ | Building configuration... | ||
+ | |||
+ | Current configuration : 233 bytes | ||
+ | ! | ||
+ | interface TenGigabitEthernet1/0/6 | ||
+ | description weis26b241ogost2960-10, Gig 1/0/25 | ||
+ | switchport trunk native vlan 503 | ||
+ | switchport trunk allowed vlan 502-504,509,513,530,613,633,853 | ||
+ | switchport mode trunk | ||
+ | switchport nonegotiate | ||
+ | end | ||
+ | |||
+ | weis26b043og3850# | ||
+ | |||
+ | * login on the accessswitch named on the description | ||
+ | weis26b241ogost2960-10 |
Version vom 25. April 2018, 09:06 Uhr
Wichtigste Befehle
show running-configuration
show interfaces description
find a Switchport with an IP Address
example:
- login to coreswitch
- get the Mac addr
show arp | include 172.23.133.11 Internet 172.23.133.11 56 00d0.c971.2821 ARPA Vlan633
- show the port on witch the mac is located
sh mac address-table | include 00d0.c971.2821 633 00d0.c971.2821 DYNAMIC Te1/0/6
- have a look on witch accessswitch it is
weis26b043og3850#show running-config interface tenGigabitEthernet 1/0/6 Building configuration... Current configuration : 233 bytes ! interface TenGigabitEthernet1/0/6 description weis26b241ogost2960-10, Gig 1/0/25 switchport trunk native vlan 503 switchport trunk allowed vlan 502-504,509,513,530,613,633,853 switchport mode trunk switchport nonegotiate end weis26b043og3850#
- login on the accessswitch named on the description
weis26b241ogost2960-10