networking:cisco:switching_with_rip
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| networking:cisco:switching_with_rip [2016/02/18 09:51] – rplecko | networking:cisco:switching_with_rip [2017/04/11 06:25] (current) – rplecko | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Switching with RIP ====== | ====== Switching with RIP ====== | ||
| - | {{ : | ||
| - | {{ : | ||
| - | {{: | ||
| - | {{: | ||
| + | [[http:// | ||
| + | |||
| + | **Console password is " | ||
| ===== Router R1 ===== | ===== Router R1 ===== | ||
| - | | + | |
| - | ! | + | < |
| - | enable | + | !********************** Router R1 ********************** |
| - | conf ter | + | ! |
| - | ! | + | enable |
| - | no ip domain-lookup | + | conf ter |
| - | ! | + | ! |
| - | hostname R1 | + | no ip domain-lookup |
| - | banner motd /*** Router R1 *** MAC ***/ | + | ! |
| - | ! | + | hostname R1 |
| - | enable secret class | + | banner motd /*** Router R1 *** MAC ***/ |
| - | service password-encryption | + | ! |
| - | ! | + | enable secret class |
| - | ! | + | service password-encryption |
| - | ! | + | ! |
| - | ! | + | ! |
| - | alias interface e exit | + | ! |
| - | alias configure e exit | + | ! |
| - | alias exec c config terminal | + | alias interface e exit |
| - | alias exec s show ip int brie | + | alias configure e exit |
| - | alias exec sc show cdp neighbors | + | alias exec c config terminal |
| - | alias exec sr show runn | + | alias exec s show ip int brie |
| - | alias exec sv show vlan-switch | + | alias exec sc show cdp neighbors |
| - | alias exec ss show span | + | alias exec sr show runn |
| - | alias exec save copy running-config startup-config | + | alias exec sv show vlan-switch |
| - | alias exec backup copy startup-config tftp: | + | alias exec ss show span |
| - | alias exec restore copy tftp: startup-config | + | alias exec save copy running-config startup-config |
| - | ! | + | alias exec backup copy startup-config tftp: |
| - | ! | + | alias exec restore copy tftp: startup-config |
| - | line con 0 | + | ! |
| - | logging synchronous | + | ! |
| - | exec-timeout 90 0 | + | line con 0 |
| - | password cisco | + | logging synchronous |
| - | login | + | exec-timeout 90 0 |
| - | length 50 | + | password cisco |
| - | width 132 | + | login |
| - | ! | + | length 50 |
| - | line vty 0 15 | + | width 132 |
| - | logging synchronous | + | ! |
| - | exec-timeout 90 0 | + | line vty 0 15 |
| - | password cisco | + | logging synchronous |
| - | login | + | exec-timeout 90 0 |
| - | length 50 | + | password cisco |
| - | width 132 | + | login |
| - | ! | + | length 50 |
| - | !################ | + | width 132 |
| - | ! | + | ! |
| - | !######## Router-On-A-Stick ################## | + | !################ |
| - | ! | + | ! |
| - | !############### | + | !######## Router-On-A-Stick ################## |
| - | int fastEthernet 0/0 | + | ! |
| - | no shutdown | + | !############### |
| - | ! | + | int fastEthernet 0/0 |
| - | int fastEthernet 0/0.10 | + | no shutdown |
| - | encapsulation dot1Q 10 | + | ! |
| - | ip add 172.16.10.254 255.255.255.0 | + | int fastEthernet 0/0.10 |
| - | ! | + | encapsulation dot1Q 10 |
| - | int fastEthernet 0/0.20 | + | ip add 172.16.10.254 255.255.255.0 |
| - | encapsulation dot1Q 20 | + | ! |
| - | ip add 172.16.20.254 255.255.255.0 | + | int fastEthernet 0/0.20 |
| - | ! | + | encapsulation dot1Q 20 |
| - | int fastEthernet 0/0.30 | + | ip add 172.16.20.254 255.255.255.0 |
| - | encapsulation dot1Q 30 | + | ! |
| - | ip add 172.16.30.254 255.255.255.0 | + | int fastEthernet 0/0.30 |
| - | ! | + | encapsulation dot1Q 30 |
| - | int fastEthernet 0/0.99 | + | ip add 172.16.30.254 255.255.255.0 |
| - | encapsulation dot1Q 99 native | + | ! |
| - | ip add 172.16.99.254 255.255.255.0 | + | int fastEthernet 0/0.99 |
| - | ! | + | encapsulation dot1Q 99 native |
| - | !############### | + | ip add 172.16.99.254 255.255.255.0 |
| - | interface FastEthernet0/ | + | ! |
| - | no shutdown | + | !############### |
| - | ip address 209.165.200.225 255.255.255.252 | + | interface FastEthernet0/ |
| - | ! | + | no shutdown |
| - | !############### | + | ip address 209.165.200.225 255.255.255.252 |
| - | router rip | + | ! |
| - | version 2 | + | !############### |
| - | network 172.16.10.0 | + | router rip |
| - | network 172.16.20.0 | + | version 2 |
| - | network 172.16.30.0 | + | network 172.16.10.0 |
| - | network 172.16.99.0 | + | network 172.16.20.0 |
| - | network 209.165.200.224 | + | network 172.16.30.0 |
| - | !no auto summary | + | network 172.16.99.0 |
| - | !default-information originate | + | network 209.165.200.224 |
| - | ! | + | !no auto summary |
| - | ! | + | !default-information originate |
| - | exit | + | ! |
| - | exit | + | ! |
| - | ! | + | exit |
| + | exit | ||
| + | ! | ||
| + | </ | ||
| ===== Router R2 ===== | ===== Router R2 ===== | ||
| - | | + | |
| - | ! | + | < |
| - | enable | + | !********************** Router R2 ********************** |
| - | conf ter | + | ! |
| - | ! | + | enable |
| - | no ip domain-lookup | + | conf ter |
| - | ! | + | ! |
| - | hostname R2 | + | no ip domain-lookup |
| - | banner motd /*** Router R2 *** MAC ***/ | + | ! |
| - | ! | + | hostname R2 |
| - | enable secret class | + | banner motd /*** Router R2 *** MAC ***/ |
| - | service password-encryption | + | ! |
| - | ! | + | enable secret class |
| - | ! | + | service password-encryption |
| - | ! | + | ! |
| - | ! | + | ! |
| - | alias interface e exit | + | ! |
| - | alias configure e exit | + | ! |
| - | alias exec c config terminal | + | alias interface e exit |
| - | alias exec s show ip int brie | + | alias configure e exit |
| - | alias exec sc show cdp neighbors | + | alias exec c config terminal |
| - | alias exec sr show runn | + | alias exec s show ip int brie |
| - | alias exec sv show vlan-switch | + | alias exec sc show cdp neighbors |
| - | alias exec ss show span | + | alias exec sr show runn |
| - | alias exec save copy running-config startup-config | + | alias exec sv show vlan-switch |
| - | alias exec backup copy startup-config tftp: | + | alias exec ss show span |
| - | alias exec restore copy tftp: startup-config | + | alias exec save copy running-config startup-config |
| - | ! | + | alias exec backup copy startup-config tftp: |
| - | ! | + | alias exec restore copy tftp: startup-config |
| - | line con 0 | + | ! |
| - | logging synchronous | + | ! |
| - | exec-timeout 90 0 | + | line con 0 |
| - | password cisco | + | logging synchronous |
| - | login | + | exec-timeout 90 0 |
| - | length 50 | + | password cisco |
| - | width 132 | + | login |
| - | ! | + | length 50 |
| - | line vty 0 15 | + | width 132 |
| - | logging synchronous | + | ! |
| - | exec-timeout 90 0 | + | line vty 0 15 |
| - | password cisco | + | logging synchronous |
| - | login | + | exec-timeout 90 0 |
| - | length 50 | + | password cisco |
| - | width 132 | + | login |
| - | ! | + | length 50 |
| - | !################ | + | width 132 |
| - | ! | + | ! |
| - | !############### | + | !################ |
| - | interface FastEthernet0/ | + | ! |
| - | no shutdown | + | !############### |
| - | ip address 209.165.200.226 255.255.255.252 | + | interface FastEthernet0/ |
| - | ! | + | no shutdown |
| - | !############### | + | ip address 209.165.200.226 255.255.255.252 |
| - | interface FastEthernet0/ | + | ! |
| - | no shutdown | + | !############### |
| - | ip address 172.20.20.254 255.255.255.0 | + | interface FastEthernet0/ |
| - | ! | + | no shutdown |
| - | !############### | + | ip address 172.20.20.254 255.255.255.0 |
| - | router rip | + | ! |
| - | version 2 | + | !############### |
| - | network 172.20.20.0 | + | router rip |
| - | network 209.165.200.224 | + | version 2 |
| - | !no auto summary | + | network 172.20.20.0 |
| - | !default-information originate | + | network 209.165.200.224 |
| - | ! | + | !no auto summary |
| - | ! | + | !default-information originate |
| - | exit | + | ! |
| - | exit | + | ! |
| - | ! | + | exit |
| + | exit | ||
| + | ! | ||
| + | </ | ||
| ===== Switch 1 ===== | ===== Switch 1 ===== | ||
| - | | + | |
| - | ! | + | < |
| - | enable | + | !********************** Switch S1 ********************** |
| - | conf ter | + | ! |
| - | ! | + | enable |
| - | no ip domain-lookup | + | conf ter |
| - | ! | + | ! |
| - | hostname S1 | + | no ip domain-lookup |
| - | banner motd /*** Switch S1 *** MAC ***/ | + | ! |
| - | ! | + | hostname S1 |
| - | enable secret class | + | banner motd /*** Switch S1 *** MAC ***/ |
| - | service password-encryption | + | ! |
| - | ! | + | enable secret class |
| - | !########## Adresa admin VLANa na routeru | + | service password-encryption |
| - | ip default-gateway 172.16.99.254 | + | ! |
| - | ! | + | !########## Adresa admin VLANa na routeru |
| - | alias interface e exit | + | ip default-gateway 172.16.99.254 |
| - | alias configure e exit | + | ! |
| - | alias configure svi int ran fa0/1 - 24 | + | alias interface e exit |
| - | alias exec c config terminal | + | alias configure e exit |
| - | alias exec s show ip int brie | + | alias configure svi int ran fa0/1 - 24 |
| - | alias exec sc show cdp neighbors | + | alias exec c config terminal |
| - | alias exec sr show runn | + | alias exec s show ip int brie |
| - | alias exec sv show vlan | + | alias exec sc show cdp neighbors |
| - | alias exec ss show span | + | alias exec sr show runn |
| - | alias exec save copy running-config startup-config | + | alias exec sv show vlan |
| - | alias exec backup copy startup-config tftp: | + | alias exec ss show span |
| - | alias exec restore copy tftp: startup-config | + | alias exec save copy running-config startup-config |
| - | ! | + | alias exec backup copy startup-config tftp: |
| - | line con 0 | + | alias exec restore copy tftp: startup-config |
| - | logging synchronous | + | ! |
| - | exec-timeout 90 0 | + | line con 0 |
| - | password cisco | + | logging synchronous |
| - | login | + | exec-timeout 90 0 |
| - | length 50 | + | password cisco |
| - | width 132 | + | login |
| - | ! | + | length 50 |
| - | line vty 0 15 | + | width 132 |
| - | logging synchronous | + | ! |
| - | exec-timeout 90 0 | + | line vty 0 15 |
| - | password cisco | + | logging synchronous |
| - | login | + | exec-timeout 90 0 |
| - | length 50 | + | password cisco |
| - | width 132 | + | login |
| - | ! | + | length 50 |
| - | !################ | + | width 132 |
| - | ! | + | ! |
| - | !######## Dali je ovo Root bridge za sve vlanove? | + | !################ |
| - | ! | + | ! |
| - | spanning-tree vlan 1-4094 root primary | + | !######## Dali je ovo Root bridge za sve vlanove? |
| - | !spanning-tree vlan ID root primary | + | ! |
| - | !spanning-tree mode rapid-pvst | + | spanning-tree vlan 1-4094 root primary |
| - | ! | + | !spanning-tree vlan ID root primary |
| - | !####### Dali je ovo VTP server ili klijent ? | + | !spanning-tree mode rapid-pvst |
| - | !####### Ako je server, ovdje se kreiraju VLANovi | + | ! |
| - | ! | + | !####### Dali je ovo VTP server ili klijent ? |
| - | vtp version 2 | + | !####### Ako je server, ovdje se kreiraju VLANovi |
| - | vtp mode server | + | ! |
| - | !vtp mode client | + | vtp version 2 |
| - | vtp domain Lab641 | + | vtp mode server |
| - | vtp password cisco | + | !vtp mode client |
| - | ! | + | vtp domain Lab641 |
| - | !####### Kreiramo VLAN-ove! SAMO na VTP serveru | + | vtp password cisco |
| - | ! | + | ! |
| - | vlan 10 | + | !####### Kreiramo VLAN-ove! SAMO na VTP serveru |
| - | no shutdown | + | ! |
| - | name Studenti | + | vlan 10 |
| - | ! | + | no shutdown |
| - | vlan 20 | + | name Studenti |
| - | no shutdown | + | ! |
| - | name Referada | + | vlan 20 |
| - | ! | + | no shutdown |
| - | vlan 30 | + | name Referada |
| - | no shutdown | + | ! |
| - | name Uprava | + | vlan 30 |
| - | ! | + | no shutdown |
| - | vlan 99 | + | name Uprava |
| - | no shutdown | + | ! |
| - | name Administracija | + | vlan 99 |
| - | ! | + | no shutdown |
| - | interface vlan 99 | + | name Administracija |
| - | ip add 172.16.99.11 255.255.255.0 | + | ! |
| - | ! | + | interface vlan 99 |
| - | ! | + | ip add 172.16.99.11 255.255.255.0 |
| - | interface range fa 0/1 - 24 | + | ! |
| - | no shu | + | ! |
| - | ! | + | interface range fa 0/1 - 24 |
| - | !######################## | + | no shu |
| - | switchport mode access | + | ! |
| - | ! | + | !######################## |
| - | !######################## | + | switchport mode access |
| - | interface range fa 0/1 - 5 | + | ! |
| - | switchport mode trunk | + | !######################## |
| - | !switchport trunk encapsulation dot1q !!!samo na L3 switchu | + | interface range fa 0/1 - 5 |
| - | switchport trunk native vlan 99 | + | switchport mode trunk |
| - | ! | + | !switchport trunk encapsulation dot1q !!!samo na L3 switchu |
| - | ! | + | switchport trunk native vlan 99 |
| - | !####### Portove pridjelimo VLAN-u | + | ! |
| - | !interface range fa 0/1 - 4 | + | ! |
| - | !switchport access vlan 10 | + | !####### Portove pridjelimo VLAN-u |
| - | ! | + | !interface range fa 0/1 - 4 |
| - | !####### Portove pridjelimo VLAN-u | + | !switchport access vlan 10 |
| - | !interface range fa 0/5 - 8 | + | ! |
| - | !switchport access vlan 20 | + | !####### Portove pridjelimo VLAN-u |
| - | ! | + | !interface range fa 0/5 - 8 |
| - | !####### Portove pridjelimo VLAN-u | + | !switchport access vlan 20 |
| - | !interface range fa 0/9 - 12 | + | ! |
| - | !switchport access vlan 30 | + | !####### Portove pridjelimo VLAN-u |
| - | ! | + | !interface range fa 0/9 - 12 |
| - | exit | + | !switchport access vlan 30 |
| - | exit | + | ! |
| - | ! | + | exit |
| + | exit | ||
| + | ! | ||
| + | </ | ||
| ===== Switch 2 ===== | ===== Switch 2 ===== | ||
| - | | + | |
| - | ! | + | < |
| - | enable | + | !********************** Switch S2 ********************** |
| - | conf ter | + | ! |
| - | ! | + | enable |
| - | no ip domain-lookup | + | conf ter |
| - | ! | + | ! |
| - | hostname S2 | + | no ip domain-lookup |
| - | banner motd /*** Switch S2 *** MAC ***/ | + | ! |
| - | ! | + | hostname S2 |
| - | enable secret class | + | banner motd /*** Switch S2 *** MAC ***/ |
| - | service password-encryption | + | ! |
| - | ! | + | enable secret class |
| - | !########## Adresa admin VLANa na routeru | + | service password-encryption |
| - | ip default-gateway 172.16.99.254 | + | ! |
| - | ! | + | !########## Adresa admin VLANa na routeru |
| - | alias interface e exit | + | ip default-gateway 172.16.99.254 |
| - | alias configure e exit | + | ! |
| - | alias configure svi int ran fa0/1 - 24 | + | alias interface e exit |
| - | alias exec c config terminal | + | alias configure e exit |
| - | alias exec s show ip int brie | + | alias configure svi int ran fa0/1 - 24 |
| - | alias exec sc show cdp neighbors | + | alias exec c config terminal |
| - | alias exec sr show runn | + | alias exec s show ip int brie |
| - | alias exec sv show vlan | + | alias exec sc show cdp neighbors |
| - | alias exec ss show span | + | alias exec sr show runn |
| - | alias exec save copy running-config startup-config | + | alias exec sv show vlan |
| - | alias exec backup copy startup-config tftp: | + | alias exec ss show span |
| - | alias exec restore copy tftp: startup-config | + | alias exec save copy running-config startup-config |
| - | ! | + | alias exec backup copy startup-config tftp: |
| - | line con 0 | + | alias exec restore copy tftp: startup-config |
| - | logging synchronous | + | ! |
| - | exec-timeout 90 0 | + | line con 0 |
| - | password cisco | + | logging synchronous |
| - | login | + | exec-timeout 90 0 |
| - | length 50 | + | password cisco |
| - | width 132 | + | login |
| - | ! | + | length 50 |
| - | line vty 0 15 | + | width 132 |
| - | logging synchronous | + | ! |
| - | exec-timeout 90 0 | + | line vty 0 15 |
| - | password cisco | + | logging synchronous |
| - | login | + | exec-timeout 90 0 |
| - | length 50 | + | password cisco |
| - | width 132 | + | login |
| - | ! | + | length 50 |
| - | !################ | + | width 132 |
| - | ! | + | ! |
| - | !######## Dali je ovo Root bridge za sve vlanove? | + | !################ |
| - | ! | + | ! |
| - | !spanning-tree vlan 1-4094 root primary | + | !######## Dali je ovo Root bridge za sve vlanove? |
| - | !spanning-tree vlan ID root primary | + | ! |
| - | !spanning-tree mode rapid-pvst | + | !spanning-tree vlan 1-4094 root primary |
| - | ! | + | !spanning-tree vlan ID root primary |
| - | !####### Dali je ovo VTP server ili klijent ? | + | !spanning-tree mode rapid-pvst |
| - | !####### Ako je server, ovdje se kreiraju VLANovi | + | ! |
| - | ! | + | !####### Dali je ovo VTP server ili klijent ? |
| - | vtp version 2 | + | !####### Ako je server, ovdje se kreiraju VLANovi |
| - | !vtp mode server | + | ! |
| - | vtp mode client | + | vtp version 2 |
| - | vtp domain Lab641 | + | !vtp mode server |
| - | vtp password cisco | + | vtp mode client |
| - | ! | + | vtp domain Lab641 |
| - | !####### Kreiramo VLAN-ove! SAMO na VTP serveru | + | vtp password cisco |
| - | ! | + | ! |
| - | !vlan 10 | + | !####### Kreiramo VLAN-ove! SAMO na VTP serveru |
| - | !no shutdown | + | ! |
| - | !name Studenti | + | !vlan 10 |
| - | ! | + | !no shutdown |
| - | !vlan 20 | + | !name Studenti |
| - | !no shutdown | + | ! |
| - | !name Referada | + | !vlan 20 |
| - | ! | + | !no shutdown |
| - | !vlan 30 | + | !name Referada |
| - | !no shutdown | + | ! |
| - | !name Uprava | + | !vlan 30 |
| - | ! | + | !no shutdown |
| - | !vlan 99 | + | !name Uprava |
| - | !no shutdown | + | ! |
| - | !name Administracija | + | !vlan 99 |
| - | ! | + | !no shutdown |
| - | interface vlan 99 | + | !name Administracija |
| - | ip add 172.16.99.12 255.255.255.0 | + | ! |
| - | ! | + | interface vlan 99 |
| - | ! | + | ip add 172.16.99.12 255.255.255.0 |
| - | interface range fa 0/1 - 12 | + | ! |
| - | no shu | + | ! |
| - | ! | + | interface range fa 0/1 - 12 |
| - | !######################## | + | no shu |
| - | switchport mode access | + | ! |
| - | ! | + | !######################## |
| - | !######################## | + | switchport mode access |
| - | interface range fa 0/1 - 5 | + | ! |
| - | switchport mode trunk | + | !######################## |
| - | !switchport trunk encapsulation dot1q !!!Samo na L3 switchu | + | interface range fa 0/1 - 5 |
| - | switchport trunk native vlan 99 | + | switchport mode trunk |
| - | ! | + | !switchport trunk encapsulation dot1q !!!Samo na L3 switchu |
| - | ! | + | switchport trunk native vlan 99 |
| - | !####### Portove pridjelimo VLAN-u | + | ! |
| - | !interface range fa 0/6 - 10 | + | ! |
| - | !switchport access vlan 10 | + | !####### Portove pridjelimo VLAN-u |
| - | ! | + | !interface range fa 0/6 - 10 |
| - | !####### Portove pridjelimo VLAN-u | + | !switchport access vlan 10 |
| - | !interface range fa 0/11 - 15 | + | ! |
| - | !switchport access vlan 20 | + | !####### Portove pridjelimo VLAN-u |
| - | ! | + | !interface range fa 0/11 - 15 |
| - | !####### Portove pridjelimo VLAN-u | + | !switchport access vlan 20 |
| - | !interface range fa 0/16 - 20 | + | ! |
| - | !switchport access vlan 30 | + | !####### Portove pridjelimo VLAN-u |
| - | ! | + | !interface range fa 0/16 - 20 |
| - | exit | + | !switchport access vlan 30 |
| - | exit | + | ! |
| - | ! | + | exit |
| + | exit | ||
| + | ! | ||
| + | </ | ||
| ===== Switch 3 ===== | ===== Switch 3 ===== | ||
| - | | + | |
| - | ! | + | < |
| - | enable | + | !********************** Switch S3 ********************** |
| - | conf ter | + | ! |
| - | ! | + | enable |
| - | no ip domain-lookup | + | conf ter |
| - | ! | + | ! |
| - | hostname S3 | + | no ip domain-lookup |
| - | banner motd /*** Switch S3 *** MAC ***/ | + | ! |
| - | ! | + | hostname S3 |
| - | enable secret class | + | banner motd /*** Switch S3 *** MAC ***/ |
| - | service password-encryption | + | ! |
| - | ! | + | enable secret class |
| - | !########## Adresa admin VLANa na routeru | + | service password-encryption |
| - | ip default-gateway 172.16.99.254 | + | ! |
| - | ! | + | !########## Adresa admin VLANa na routeru |
| - | alias interface e exit | + | ip default-gateway 172.16.99.254 |
| - | alias configure e exit | + | ! |
| - | alias configure svi int ran fa0/1 - 24 | + | alias interface e exit |
| - | alias exec c config terminal | + | alias configure e exit |
| - | alias exec s show ip int brie | + | alias configure svi int ran fa0/1 - 24 |
| - | alias exec sc show cdp neighbors | + | alias exec c config terminal |
| - | alias exec sr show runn | + | alias exec s show ip int brie |
| - | alias exec sv show vlan | + | alias exec sc show cdp neighbors |
| - | alias exec ss show span | + | alias exec sr show runn |
| - | alias exec save copy running-config startup-config | + | alias exec sv show vlan |
| - | alias exec backup copy startup-config tftp: | + | alias exec ss show span |
| - | alias exec restore copy tftp: startup-config | + | alias exec save copy running-config startup-config |
| - | ! | + | alias exec backup copy startup-config tftp: |
| - | line con 0 | + | alias exec restore copy tftp: startup-config |
| - | logging synchronous | + | ! |
| - | exec-timeout 90 0 | + | line con 0 |
| - | password cisco | + | logging synchronous |
| - | login | + | exec-timeout 90 0 |
| - | length 50 | + | password cisco |
| - | width 132 | + | login |
| - | ! | + | length 50 |
| - | line vty 0 15 | + | width 132 |
| - | logging synchronous | + | ! |
| - | exec-timeout 90 0 | + | line vty 0 15 |
| - | password cisco | + | logging synchronous |
| - | login | + | exec-timeout 90 0 |
| - | length 50 | + | password cisco |
| - | width 132 | + | login |
| - | ! | + | length 50 |
| - | !################ | + | width 132 |
| - | ! | + | ! |
| - | !######## Dali je ovo Root bridge za sve vlanove? | + | !################ |
| - | ! | + | ! |
| - | !spanning-tree vlan 1-4094 root primary | + | !######## Dali je ovo Root bridge za sve vlanove? |
| - | !spanning-tree vlan ID root primary | + | ! |
| - | !spanning-tree mode rapid-pvst | + | !spanning-tree vlan 1-4094 root primary |
| - | ! | + | !spanning-tree vlan ID root primary |
| - | !####### Dali je ovo VTP server ili klijent ? | + | !spanning-tree mode rapid-pvst |
| - | !####### Ako je server, ovdje se kreiraju VLANovi | + | ! |
| - | ! | + | !####### Dali je ovo VTP server ili klijent ? |
| - | vtp version 2 | + | !####### Ako je server, ovdje se kreiraju VLANovi |
| - | !vtp mode server | + | ! |
| - | vtp mode client | + | vtp version 2 |
| - | vtp domain Lab641 | + | !vtp mode server |
| - | vtp password cisco | + | vtp mode client |
| - | ! | + | vtp domain Lab641 |
| - | !####### Kreiramo VLAN-ove! SAMO na VTP serveru | + | vtp password cisco |
| - | ! | + | ! |
| - | !vlan 10 | + | !####### Kreiramo VLAN-ove! SAMO na VTP serveru |
| - | !no shutdown | + | ! |
| - | !name Studenti | + | !vlan 10 |
| - | ! | + | !no shutdown |
| - | !vlan 20 | + | !name Studenti |
| - | !no shutdown | + | ! |
| - | !name Referada | + | !vlan 20 |
| - | ! | + | !no shutdown |
| - | !vlan 30 | + | !name Referada |
| - | !no shutdown | + | ! |
| - | !name Uprava | + | !vlan 30 |
| - | ! | + | !no shutdown |
| - | !vlan 99 | + | !name Uprava |
| - | !no shutdown | + | ! |
| - | !name Administracija | + | !vlan 99 |
| - | ! | + | !no shutdown |
| - | interface vlan 99 | + | !name Administracija |
| - | ip add 172.16.99.13 255.255.255.0 | + | ! |
| - | ! | + | interface vlan 99 |
| - | ! | + | ip add 172.16.99.13 255.255.255.0 |
| - | interface range fa 0/1 - 24 | + | ! |
| - | no shu | + | ! |
| - | ! | + | interface range fa 0/1 - 24 |
| - | !######################## | + | no shu |
| - | switchport mode access | + | ! |
| - | ! | + | !######################## |
| - | !######################## | + | switchport mode access |
| - | interface range fa 0/1 - 5 | + | ! |
| - | switchport mode trunk | + | !######################## |
| - | !switchport trunk encapsulation dot1q !!!Samo na L3 switchu | + | interface range fa 0/1 - 5 |
| - | switchport trunk native vlan 99 | + | switchport mode trunk |
| - | ! | + | !switchport trunk encapsulation dot1q !!!Samo na L3 switchu |
| - | ! | + | switchport trunk native vlan 99 |
| - | !####### Portove pridjelimo VLAN-u | + | ! |
| - | interface range fa 0/6 - 10 | + | ! |
| - | switchport access vlan 10 | + | !####### Portove pridjelimo VLAN-u |
| - | ! | + | interface range fa 0/6 - 10 |
| - | !####### Portove pridjelimo VLAN-u | + | switchport access vlan 10 |
| - | interface range fa 0/11 - 15 | + | ! |
| - | switchport access vlan 20 | + | !####### Portove pridjelimo VLAN-u |
| - | ! | + | interface range fa 0/11 - 15 |
| - | !####### Portove pridjelimo VLAN-u | + | switchport access vlan 20 |
| - | interface range fa 0/16 - 20 | + | ! |
| - | switchport access vlan 30 | + | !####### Portove pridjelimo VLAN-u |
| - | ! | + | interface range fa 0/16 - 20 |
| - | exit | + | switchport access vlan 30 |
| - | exit | + | ! |
| - | ! | + | exit |
| + | exit | ||
| + | ! | ||
| + | </ | ||
networking/cisco/switching_with_rip.1455789105.txt.gz · Last modified: 2016/02/18 09:51 (external edit)
