скрипты быстрой настройки = для VLAN - 5-я - и последняя лабораторная работа к первой аттестации по адм в ИС ФКН ВГУ 2012
Primary tabs
2950A=
enable config t hostname 2950A enable password todd enable secret routersim interface vlan 1 ip address 172.16.40.2 255.255.255.0 no shutdown exit ip default-gateway 172.16.40.1 interface fastethernet 0/1 description Link_to_2600A interface fastethernet 0/2 description Link_to_HostE exit exit Copy run start
2950B:
enable config t hostname 2950B enable password todd enable secret routersim int vlan 1 ip address 172.16.50.2 255.255.255.0 no shutdown exit ip default-gateway 172.16.50.1 interface fastethernet 0/1 description Link_to_2600B interface fastethernet 0/2 description Link_to_HostF exit exit Copy run start
конфигурируем 3550A и заодно создаём VTP домен routersim:
enable config t hostname 3550A enable password todd enable secret routersim line console 0 password console login line vty 0 15 password console login interface vlan 1 ip address 172.16.10.3 255.255.255.0 no shutdown interface fastethernet 0/3 description Trunk Link to 3550B switchport mode trunk speed 100 duplex full ip route 0.0.0.0 0.0.0.0 172.16.10.1 vtp domain routersim vlan database vlan 2 vlan 3 interface fastethernet 0/1 switchport access vlan 2 switchport mode access interface fastethernet 0/2 switchport access vlan 3 switchport mode access Copy run start
также выше мы создали две VLAN
и добавили интерфейс к участию во VLAN 2
далее конфигурируем 3550B и добавляем его как клиент в домен
enable config t hostname 3550B enable password todd enable secret routersim line console 0 password console login line vty 0 15 password console login interface vlan1 ip address 172.16.10.4 255.255.255.0 no shutdown interface fastethernet 0/3 description Trunk_Link_to_3550A switchport mode trunk speed 100 duplex full ip default-network 172.16.10.0 vtp domain routersim vtp mode client interface fastethernet 0/1 switchport access vlan 2 switchport mode access interface fastethernet 0/2 switchport access vlan 3 switchport mode access interface fastethernet 0/10 description Trunk_Link_to_2600C switchport mode trunk speed 100 duplex full Copy run start
выше мы также сделали один интерфейс участником VLAN 2
теперь настраивает три саб-интерфейса на маршрутизаторе С:
enable config t interface fastethernet 0/0 no ip address duplex full interface fastethernet 0/0.1 encapsulation dot1q 1 ip address 172.16.10.1 255.255.255.0 interface fastethernet 0/0.2 encapsulation dot1q 2 ip address 172.16.2.1 255.255.255.0 interface fastethernet 0/0.3 encapsulation dot1q 3 ip address 172.16.3.1 255.255.255.0 exit Copy run start
- Log in to post comments
- 2055 reads