Sie sind auf Seite 1von 7

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

Switch (config) # vlan 2 Switch (config-vlan) # name mercadeo Switch (config-vlan) # exit Switch (config) # vlan 3 Invalid input detected at - marker. Switch (config) # vlan 3 Switch (config-vlan) # name ventas Switch (config-vlan) # exit Switch (config) # interface range fas Switch (config) # interface range fastEthernet 0/2-7 Switch (config-if-range) # swi Switch (config-if-range) # switchport ac Switch (config-if-range) # switchport access vlan 2 Switch (config-if-range) # exit Switch (config) # interfa Switch (config) # interface range fa Switch (config) # interface range fastEthernet 0/8-13 Switch (config-if-range) # swi Switch (config-if-range) # switchport ac Switch (config-if-range) # switchport access por Switch (config-if-range) # switchport access vl Switch (config-if-range) # switchport access vlan 3 Switch (config-if-range) # exit Switch (config) # end Switch # SYS-5-CONFIG_I: Configured from console by console

Switch # sh Switch # show vl Switch # show vlan ------- -----------------------------1 default --------------------active -----------------------------------------------------Fa0/1, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 2 mercadeo active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7 3 ventas active Fa0/8, Fa0/9, Fa0/10, Fa0/11 Fa0/12, Fa0/13 1002 fddi-default 1003 token-ring-default 1004 fddinet-default 1005 trnet-default VLAN ------1 2 3 1002 1003 Type SAID act/unsup act/unsup act/unsup act/unsup MTU Parent RingNO Stp BrdgMode Trans1 Trans2

-------- --------------- -------- ---------- --------- --------- -------------- ------------ ----------enet enet enet fddi tr 100001 100002 100003 101002 101003 1500 1500 1500 1500 1500 ----------------------------------------0 0 0 0 0 0 0 0 0 0

--More--Remote SPAN VLANS -------------------------------------------------------------------------------------------------------------------------Primary --------------Switch # Switch # Switch # Secondary ----------------Type Ports

--------------------------------- -------------------------------------------------

Switch # Switch # Switch # Switch # Switch # Switch # Switch # Switch # Switch # Switch # Switch # Switch # wr Building configuration [OK] Switch # cop Switch # copy ru Switch # copy running-config s Switch # copy running-config startup-config Destination filename [startup-config] ? Building configuration [OK] Switch # LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state t o up LINK-5-CHANGED: Interface FastEthernet0/3, changed state to up LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state t o up LINK-5-CHANGED: Interface FastEthernet0/8, changed state to up LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state t o up LINK-5-CHANGED: Interface FastEthernet0/9, changed state to up LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/9, changed state t o up

Switch # conf t Enter configuration command#, one per line. End with CNTL/Z. Switch (config) # int Switch (config) # interface fa Switch (config) # interface FastEthernet 0/1 Switch (config-if) # sw Switch (config-if) # switchport mo Switch (config-if) # switchport mode tr Switch (config-if) # switchport mode trunk Switch (config-if) # end Switch # SYS-5-CONFIG_I: Configured from console by console

Switch # wr Building configuration. [OK] Switch # cop Switch # copy r Switch # copy running-config s Switch # copy running-config startup-config Destination filename [startup-config]? Building configuration. [OK] Switch #

IOS Command Line Interface Cisco Internetwork Operating System Software IOS (tm) PT1000 Software (PT1000-I-M), Version 12.2.(28), RELEASE SOFTWARE (fcs) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2005 by cisco Systems, Inc.

Compiled Wed (PTSC2005) processor (revision 0x200) with 60416k/5120k bytes of memory Processor board ID PT0123 (0123) PT2005 processor: part number 0, mask 01 Bridging software. X.25 software, version 3.0.0. 4 FastEthernet/IEEE 802.3 interface (s) 2 Low-speed serial (sync/async) network interface (s) 32K bytes of non-volatile configuration memory. 63488K bytes of ATA CompactFlash (Read/Write) ---------------------System Configuration Dialog --------------------------Continue with configuration dialog? [yes/no]: Press RETURN to get started!

Router> en Router # conf t Enter configuration commands, one per line. End with CNTL/Z Router(config) # inter Router(config) # interface fa Router(config) # interface fastEthernet0/0.1 Router(config-subif) # do Router(config-subif) # en Router(config-subif) # encapsulation d Router(config-subif) # encapsulation dot1Q 2 Router(config-subif) # ip add Router(config-subif) # ip address 192.168.1.1 255.255.255.0 Router(config-subif) # no sh Router(config-subif) # no shutdown Router(config-subif) # exit Router(config) # inter

Router(config) # interface fa Router(config) # interface fastEthernet0/0.2 Router(config-subif) # en Router(config-subif) # encapsulation d Router(config-subif) # encapsulation dot1Q 3 Router(config-subif) # ip ad Router(config-subif) # ip address 192.168.2.1 Incomplete command. Router (config-subif) # ip address 192.168.2.1 255.255.255.0 Router (config-subif) # end Router # SYS-5-CONFIG_I: Configured from console by console Router # wr Building configuration Router # cho Router # sh Router # show r Router # show running-config s Router # cop Router # copy ru Router # copy running-config s Router # copy running-config startup-config Destination filename [startup-config]? Building configuration. [OK] Router # conf t Enter configuration commands, one per line. End with CNTL/Z Router (config) # inte Router (config) # interface fa Router (config) # interface FastEthernet 0/0

Router (config-if) # no su Router (config-if) # no sh Router (config-if) # no shutdown Router (config-if) # LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state t o up LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state t o up Router (config-if) # end Router # SYS-5-CONFIG_I: Configured from console by console

Router # wr Building configuration [OK] Router # cop Router # copy r Router # copy running-config s Router # copy running-config startup-config Destination filename [startup-config] ? Building configuration. [OK] Router #

Das könnte Ihnen auch gefallen