Sunteți pe pagina 1din 3

Switch>ena Switch#conf t Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)# Switch(config)#int vlan 99 Switch(config-if)#ip Switch(config-if)#ip ad Switch(config-if)#ip address 192.168.99.2 255.255.255.0 Switch(config-if)#no shut Switch(config-if)#ex Switch(config)#hostname Switch_2 Switch_2(config)# %LINK-5-CHANGED: Interface Vlan99, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up %SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 99 on Fa stEthernet0/24 VLAN1. %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/24 on VLAN0001. Inconsisten t local vlan. %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/24 (1), with Switch_1 FastEthernet0/24 (99). %SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 99 on Fa stEthernet0/23 VLAN1. %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/23 on VLAN0001. Inconsisten t local vlan. %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/24 (1), with Switch_1 FastEthernet0/24 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/23 (1), with Switch_3 FastEthernet0/24 (99). Switch_2(config)# Switch_2(config)#int fa0/10 Switch_2(config-if)#swi %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/24 (1), with Switch_1 FastEthernet0/24 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/23 (1), with Switch_3 FastEthernet0/24 (99). % Incomplete command. Switch_2(config-if)#sw Switch_2(config-if)#switchport acc Switch_2(config-if)#switchport access vlan 99 Switch_2(config-if)#ex Switch_2(config)#int ran Switch_2(config)#int range fa0/23-24 Switch_2(config-if-range)#sw Switch_2(config-if-range)#switchport tr Switch_2(config-if-range)#switchport trunk na Switch_2(config-if-range)#switchport trunk native vlan 99 Switch_2(config-if-range)#ex%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEth

ernet0/23 on VLAN0099. Port consistency restored. %SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/23 on VLAN0001. Port consistency restored. %SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/24 on VLAN0099. Port consistency restored. %SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/24 on VLAN0001. Port consistency restored. Switch_2(config)# Switch_2(config)#l Switch_2(config)#lin Switch_2(config)#line con Switch_2(config)#line console 0 Switch_2(config-line)#password cisco Switch_2(config-line)#login Switch_2(config-line)#line vty 0 4 Switch_2(config-line)#password class Switch_2(config-line)#login Switch_2(config-line)#enable secret cisco Switch_2(config)#

Switch_2 con0 is now available

Press RETURN to get started.

universal ospf cisco eigrp router ospf 1 net 192.168.10.0 20 30 100 inter vlan routing cisco vpst+ ubiquity wds Distribution1#show running-config

Building configuration... spanning-tree mode pvst spanning-tree extend system-id spanning-tree backbonefast spanning-tree vlan 10,30,100 priority 8192 spanning-tree vlan 20,40,200 priority 16384 ! vlan 10,20,30,40,100,200 ! interface FastEthernet1/0/1 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10,20 ! interface FastEthernet1/0/3 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 30,40 ! interface FastEthernet1/0/5 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 100,200 ! interface FastEthernet1/0/23 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10,20,30,40,100,200 ! interface FastEthernet1/0/24 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10,20,30,40,100,200 ! ! end

S-ar putea să vă placă și