Advertisement
Guest User

cisco

a guest
Feb 21st, 2020
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. show interface status - pokazanie statusu interface'ów
  2.  
  3. show vlan - pokazuje wszystkie vlany stworzone, oraz na jakim porcie one sa
  4.  
  5.  
  6.  
  7. ############### KONFIGUROWANIE DANEGO INTERFACE'u ###############
  8. configure - kontekst konfiguracji
  9. - interface - kontekst interface do konfigurowania interfaceów
  10. - switchport access vlan 888
  11. - switchport mode access
  12. - no shutdown - wlaczenie portu
  13. - hostname <nazwa>
  14. ################################################################
  15.  
  16.  
  17.  
  18. #### SPRAWDZANIE AKTUALNEJ KONFIGURACJI NA INTERFEJSIE ####
  19. show
  20. - running-config
  21. - interface
  22. - GigabitEthernet 0/1
  23. ###########################################################
  24.  
  25. ############## KONFIGURACJA TRUNK ####################
  26. configure
  27. - interface
  28. - GigabitEthernet0/1
  29. - switchport trunk native vlan 888
  30. - switchport trunk allowed vlan 888
  31. - switchport mode trunk
  32. #################################################################
  33.  
  34.  
  35.  
  36. show mac address-table interface GigabitEthernet 0/2 - pokazanie aktywnych macow na danym interface
  37.  
  38.  
  39. Dodawanie nowego vlanu
  40.  
  41.  
  42. configure vlan 200 name vlan_testowy
  43.  
  44. show vlan id 300 - sprawdzenie vlanu 300
  45. interface vlan
  46.  
  47.  
  48. 5 vlanow - 6 wspolny vlan 777
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement