networking:cisco:switching_with_eigrp
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| networking:cisco:switching_with_eigrp [2016/02/18 09:27] – rplecko | networking:cisco:switching_with_eigrp [2016/02/18 09:50] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Switching with EIGRP ====== | + | ===== Switching with EIGRP ===== |
| {{ : | {{ : | ||
| + | {{: | ||
| + | {{: | ||
| + | |||
| ==== Router R1 ==== | ==== Router R1 ==== | ||
| < | < | ||
| Line 163: | Line 166: | ||
| exit | exit | ||
| ! | ! | ||
| + | </ | ||
| + | ====Switch S1 ==== | ||
| + | < | ||
| + | !********************** Switch S1 ********************** | ||
| + | ! | ||
| + | enable | ||
| + | conf ter | ||
| + | ! | ||
| + | no ip domain-lookup | ||
| + | ! | ||
| + | hostname S1 | ||
| + | banner motd /*** Switch S1 *** MAC ***/ | ||
| + | ! | ||
| + | enable secret class | ||
| + | service password-encryption | ||
| + | ! | ||
| + | !########## Adresa admin VLANa na routeru | ||
| + | ip default-gateway 172.16.99.254 | ||
| + | ! | ||
| + | alias interface e exit | ||
| + | alias configure e exit | ||
| + | alias configure svi int ran fa0/1 - 24 | ||
| + | alias exec c config terminal | ||
| + | alias exec s show ip int brie | ||
| + | alias exec sc show cdp neighbors | ||
| + | alias exec sr show runn | ||
| + | alias exec sv show vlan | ||
| + | alias exec ss show span | ||
| + | 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 | ||
| + | password cisco | ||
| + | login | ||
| + | length 50 | ||
| + | width 132 | ||
| + | ! | ||
| + | line vty 0 15 | ||
| + | logging synchronous | ||
| + | exec-timeout 90 0 | ||
| + | password cisco | ||
| + | login | ||
| + | length 50 | ||
| + | width 132 | ||
| + | ! | ||
| + | !################ | ||
| + | ! | ||
| + | !######## Dali je ovo Root bridge za sve vlanove? | ||
| + | ! | ||
| + | spanning-tree vlan 1-4094 root primary | ||
| + | !spanning-tree vlan ID root primary | ||
| + | !spanning-tree mode rapid-pvst | ||
| + | ! | ||
| + | !####### Dali je ovo VTP server ili klijent ? | ||
| + | !####### Ako je server, ovdje se kreiraju VLANovi | ||
| + | ! | ||
| + | vtp version 2 | ||
| + | vtp mode server | ||
| + | !vtp mode client | ||
| + | vtp domain Lab641 | ||
| + | vtp password cisco | ||
| + | ! | ||
| + | !####### Kreiramo VLAN-ove! SAMO na VTP serveru | ||
| + | ! | ||
| + | vlan 10 | ||
| + | no shutdown | ||
| + | name Studenti | ||
| + | ! | ||
| + | vlan 20 | ||
| + | no shutdown | ||
| + | name Referada | ||
| + | ! | ||
| + | vlan 30 | ||
| + | no shutdown | ||
| + | name Uprava | ||
| + | ! | ||
| + | vlan 99 | ||
| + | no shutdown | ||
| + | name Administracija | ||
| + | ! | ||
| + | interface vlan 99 | ||
| + | ip add 172.16.99.11 255.255.255.0 | ||
| + | ! | ||
| + | ! | ||
| + | interface range fa 0/1 - 24 | ||
| + | no shu | ||
| + | ! | ||
| + | !######################## | ||
| + | switchport mode access | ||
| + | ! | ||
| + | !######################## | ||
| + | interface range fa 0/1 - 5 | ||
| + | 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/5 - 8 | ||
| + | !switchport access vlan 20 | ||
| + | ! | ||
| + | !####### Portove pridjelimo VLAN-u | ||
| + | !interface range fa 0/9 - 12 | ||
| + | !switchport access vlan 30 | ||
| + | ! | ||
| + | exit | ||
| + | exit | ||
| + | ! | ||
| + | </ | ||
| + | ==== Switch S2 ==== | ||
| + | < | ||
| + | !********************** Switch S2 ********************** | ||
| + | ! | ||
| + | enable | ||
| + | conf ter | ||
| + | ! | ||
| + | no ip domain-lookup | ||
| + | ! | ||
| + | hostname S2 | ||
| + | banner motd /*** Switch S2 *** MAC ***/ | ||
| + | ! | ||
| + | enable secret class | ||
| + | service password-encryption | ||
| + | ! | ||
| + | !########## Adresa admin VLANa na routeru | ||
| + | ip default-gateway 172.16.99.254 | ||
| + | ! | ||
| + | alias interface e exit | ||
| + | alias configure e exit | ||
| + | alias configure svi int ran fa0/1 - 24 | ||
| + | alias exec c config terminal | ||
| + | alias exec s show ip int brie | ||
| + | alias exec sc show cdp neighbors | ||
| + | alias exec sr show runn | ||
| + | alias exec sv show vlan | ||
| + | alias exec ss show span | ||
| + | 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 | ||
| + | password cisco | ||
| + | login | ||
| + | length 50 | ||
| + | width 132 | ||
| + | ! | ||
| + | line vty 0 15 | ||
| + | logging synchronous | ||
| + | exec-timeout 90 0 | ||
| + | password cisco | ||
| + | login | ||
| + | length 50 | ||
| + | width 132 | ||
| + | ! | ||
| + | !################ | ||
| + | ! | ||
| + | !######## Dali je ovo Root bridge za sve vlanove? | ||
| + | ! | ||
| + | !spanning-tree vlan 1-4094 root primary | ||
| + | !spanning-tree vlan ID root primary | ||
| + | !spanning-tree mode rapid-pvst | ||
| + | ! | ||
| + | !####### Dali je ovo VTP server ili klijent ? | ||
| + | !####### Ako je server, ovdje se kreiraju VLANovi | ||
| + | ! | ||
| + | vtp version 2 | ||
| + | !vtp mode server | ||
| + | vtp mode client | ||
| + | vtp domain Lab641 | ||
| + | vtp password cisco | ||
| + | ! | ||
| + | !####### Kreiramo VLAN-ove! SAMO na VTP serveru | ||
| + | ! | ||
| + | !vlan 10 | ||
| + | !no shutdown | ||
| + | !name Studenti | ||
| + | ! | ||
| + | !vlan 20 | ||
| + | !no shutdown | ||
| + | !name Referada | ||
| + | ! | ||
| + | !vlan 30 | ||
| + | !no shutdown | ||
| + | !name Uprava | ||
| + | ! | ||
| + | !vlan 99 | ||
| + | !no shutdown | ||
| + | !name Administracija | ||
| + | ! | ||
| + | interface vlan 99 | ||
| + | ip add 172.16.99.12 255.255.255.0 | ||
| + | ! | ||
| + | ! | ||
| + | interface range fa 0/1 - 12 | ||
| + | no shu | ||
| + | ! | ||
| + | !######################## | ||
| + | switchport mode access | ||
| + | ! | ||
| + | !######################## | ||
| + | interface range fa 0/1 - 5 | ||
| + | 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/11 - 15 | ||
| + | !switchport access vlan 20 | ||
| + | ! | ||
| + | !####### Portove pridjelimo VLAN-u | ||
| + | !interface range fa 0/16 - 20 | ||
| + | !switchport access vlan 30 | ||
| + | ! | ||
| + | exit | ||
| + | exit | ||
| + | ! | ||
| + | </ | ||
| + | |||
| + | ====Switch S3 ==== | ||
| + | |||
| + | < | ||
| + | !********************** Switch S3 ********************** | ||
| + | ! | ||
| + | enable | ||
| + | conf ter | ||
| + | ! | ||
| + | no ip domain-lookup | ||
| + | ! | ||
| + | hostname S3 | ||
| + | banner motd /*** Switch S3 *** MAC ***/ | ||
| + | ! | ||
| + | enable secret class | ||
| + | service password-encryption | ||
| + | ! | ||
| + | !########## Adresa admin VLANa na routeru | ||
| + | ip default-gateway 172.16.99.254 | ||
| + | ! | ||
| + | alias interface e exit | ||
| + | alias configure e exit | ||
| + | alias configure svi int ran fa0/1 - 24 | ||
| + | alias exec c config terminal | ||
| + | alias exec s show ip int brie | ||
| + | alias exec sc show cdp neighbors | ||
| + | alias exec sr show runn | ||
| + | alias exec sv show vlan | ||
| + | alias exec ss show span | ||
| + | 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 | ||
| + | password cisco | ||
| + | login | ||
| + | length 50 | ||
| + | width 132 | ||
| + | ! | ||
| + | line vty 0 15 | ||
| + | logging synchronous | ||
| + | exec-timeout 90 0 | ||
| + | password cisco | ||
| + | login | ||
| + | length 50 | ||
| + | width 132 | ||
| + | ! | ||
| + | !################ | ||
| + | ! | ||
| + | !######## Dali je ovo Root bridge za sve vlanove? | ||
| + | ! | ||
| + | !spanning-tree vlan 1-4094 root primary | ||
| + | !spanning-tree vlan ID root primary | ||
| + | !spanning-tree mode rapid-pvst | ||
| + | ! | ||
| + | !####### Dali je ovo VTP server ili klijent ? | ||
| + | !####### Ako je server, ovdje se kreiraju VLANovi | ||
| + | ! | ||
| + | vtp version 2 | ||
| + | !vtp mode server | ||
| + | vtp mode client | ||
| + | vtp domain Lab641 | ||
| + | vtp password cisco | ||
| + | ! | ||
| + | !####### Kreiramo VLAN-ove! SAMO na VTP serveru | ||
| + | ! | ||
| + | !vlan 10 | ||
| + | !no shutdown | ||
| + | !name Studenti | ||
| + | ! | ||
| + | !vlan 20 | ||
| + | !no shutdown | ||
| + | !name Referada | ||
| + | ! | ||
| + | !vlan 30 | ||
| + | !no shutdown | ||
| + | !name Uprava | ||
| + | ! | ||
| + | !vlan 99 | ||
| + | !no shutdown | ||
| + | !name Administracija | ||
| + | ! | ||
| + | interface vlan 99 | ||
| + | ip add 172.16.99.13 255.255.255.0 | ||
| + | ! | ||
| + | ! | ||
| + | interface range fa 0/1 - 24 | ||
| + | no shu | ||
| + | ! | ||
| + | !######################## | ||
| + | switchport mode access | ||
| + | ! | ||
| + | !######################## | ||
| + | interface range fa 0/1 - 5 | ||
| + | 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/11 - 15 | ||
| + | switchport access vlan 20 | ||
| + | ! | ||
| + | !####### Portove pridjelimo VLAN-u | ||
| + | interface range fa 0/16 - 20 | ||
| + | switchport access vlan 30 | ||
| + | ! | ||
| + | exit | ||
| + | exit | ||
| + | ! | ||
| </ | </ | ||
networking/cisco/switching_with_eigrp.1455787629.txt.gz · Last modified: 2016/02/18 09:27 (external edit)
