Sie sind auf Seite 1von 7

Configuring switch server: Switch>enable Switch#config t Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#vtp password % Incomplete command. Switch(config)#vtp password zq Setting device VLAN database password to zq Switch(config)#vtp mode client Setting device to VTP CLIENT mode. Switch(config)#do show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/2 5 EE active 10 CS active 15 BBA active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active Switch(config)# Switch(config)#interface Switch(config)#interface % Incomplete command. Switch(config)#interface r Switch(config)#interface range fa Switch(config)#interface range fastEthernet 0/1-5 Switch(config-if-range)#sw Switch(config-if-range)#switchport a Switch(config-if-range)#switchport access vlan Switch(config-if-range)#switchport access vlan 5 Switch(config-if-range)#interface range fastEthernet 0/6-10 Switch(config-if-range)#switchport access vlan 10 Switch(config-if-range)#interface range fastEthernet 0/11-15 Switch(config-if-range)#switchport access vlan 15 Switch(config-if-range)#do wr Building configuration...

[OK] Switch(config-if-range)# Switch>enable Switch#confi Switch#configure t Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vtp domain zq Changing VTP domain name from NULL to zq Switch(config)#vtp password zq Setting device VLAN database password to zq Switch(config)#vlan creat ^ % Invalid input detected at '^' marker. Switch(config)#vlan c Switch(config)#vlan database password zq ^ % Invalid input detected at '^' marker. Switch(config)#^Z Switch# %SYS-5-CONFIG_I: Configured from console by console Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vtp d Switch(config)#do sh vtp st VTP Version :2 Configuration Revision :0 Maximum VLANs supported locally : 255 Number of existing VLANs :5 VTP Operating Mode : Server VTP Domain Name : zq VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x86 0x58 0xAC 0x2E 0xA8 0xD0 0x0A 0x27 Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00 Local updater ID is 0.0.0.0 (no valid interface found) Switch(config)#vlan 5 Switch(config-vlan)#name EE Switch(config-vlan)#vlan 10 Switch(config-vlan)#name CS

Switch(config-vlan)#vlan 15 Switch(config-vlan)#name BBA Switch(config-vlan)#do wr Building configuration... [OK] Switch(config-vlan)# %LINK-5-CHANGED: Interface FastEthernet0/2, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down %LINK-5-CHANGED: Interface GigabitEthernet1/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1, changed state to up %LINK-5-CHANGED: Interface GigabitEthernet1/2, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/2, changed state to up Switch(config-vlan)#do show show % Incomplete command. Switch(config-vlan)#do show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 5 EE active 10 CS active 15 BBA active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active

1005 trnet-default active Switch(config-vlan)# Switch(config-vlan)# Switch(config-vlan)#interface gig1/1 Switch(config-if)#switchport m Switch(config-if)#switchport mode t Switch(config-if)#switchport mode trunk %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1, changed state to up Switch(config-if)#interface gig1/2 Switch(config-if)#switchport mode trunk %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/2, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/2, changed state to up Switch(config-if)# Switch(config-if)#exit Switch(config)#do show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 5 EE active 10 CS active 15 BBA active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active Switch(config)# Switch(config)# Switch(config)# Switch(config)#

Router>en Router#conf Router#configure t Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#inter Router(config)#interface fa Router(config)#interface fastEthernet 0/0.5 Router(config-subif)#ip add Router(config-subif)#encap Router(config-subif)#encapsulation dot1q % Incomplete command. Router(config-subif)#encapsulation d Router(config-subif)#encapsulation dot1Q % Incomplete command. Router(config-subif)#encapsulation dot1Q 5 Router(config-subif)#ip add Router(config-subif)#ip address 192.168.5.1 255.255.255.0 Router(config-subif)#interface fastEthernet 0/0.10 Router(config-subif)#encapsulation dot1Q 10 Router(config-subif)#ip address 192.168.10.1 255.255.255.0 Router(config-subif)#interface fastEthernet 0/0.15 Router(config-subif)#encapsulation dot1Q 15 Router(config-subif)#ip address 192.168.15.1 255.255.255.0 Router(config-subif)#do wr Building configuration... [OK] Router(config-subif)#do show ip int Router(config-subif)#do show ip inter Router(config-subif)#do show ip inter brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 FastEthernet0/0.5 FastEthernet0/0.10 FastEthernet0/0.15 FastEthernet0/1 unassigned 192.168.5.1 192.168.10.1 192.168.15.1 unassigned YES unset administratively down down YES manual down YES manual down YES manual down down down down

YES unset administratively down down

Vlan1 unassigned YES unset administratively down down Router(config-subif)#no shut Router(config-subif)#do show ip inter brief

Interface FastEthernet0/0

IP-Address unassigned

OK? Method Status

Protocol

YES unset administratively down down YES manual down YES manual down YES manual down down down down

FastEthernet0/0.5 FastEthernet0/0.10 FastEthernet0/0.15 FastEthernet0/1

192.168.5.1 192.168.10.1 192.168.15.1 unassigned

YES unset administratively down down

Vlan1 unassigned YES unset administratively down down Router(config-subif)#interface fa Router(config-subif)#interface fast Router(config-subif)#interface fast Router(config-subif)#interface fastethernet fa0/0 ^ % Invalid input detected at '^' marker. Router(config-subif)#interface fa0/0 Router(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/0.5, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.5, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/0.10, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.10, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/0.15, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.15, changed state to up Router(config-if)# Router(config-if)#do show ip interface FastEthernet0/0 is up, line protocol is up (connected)

Internet protocol processing disabled Router(config-if)#do show ip interface brief Interface IP-Address OK? Method Status FastEthernet0/0 FastEthernet0/0.5 FastEthernet0/0.10 FastEthernet0/0.15 FastEthernet0/1 unassigned 192.168.5.1 192.168.10.1 192.168.15.1 unassigned YES unset up YES manual up YES manual up YES manual up Protocol up up up up

YES unset administratively down down YES unset administratively down down

Vlan1 unassigned Router(config-if)#

Switch#conf Switch#configure t Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#inter Switch(config)#interface fast Switch(config)#interface fastEthernet 0/1 Switch(config-if)#swit Switch(config-if)#switchport m Switch(config-if)#switchport mode t Switch(config-if)#switchport mode trunk %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up Switch(config-if)#do wr Building configuration... [OK] Switch(config-if)#

Das könnte Ihnen auch gefallen