Académique Documents
Professionnel Documents
Culture Documents
Switch#CONFIGURE TERMINAL
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#VLAN 10
Switch(config-vlan)#NAME VLAN10
Switch(config-vlan)#EXIT
Switch(config)#VLAN 20
Switch(config-vlan)#NAME VLAN 20
^
% Invalid input detected at '^' marker.
Switch(config-vlan)#NAME VLAN20
Switch(config-vlan)#EXIT
Switch(config)#EXIT
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#SHOW VLAN
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
Switch#SHOW VLAN
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
--More--
%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to down
Switch>ENABLE
Switch#CO
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to
down
Switch#
Switch#ENABLE
Switch#CONFIGURE TERMINAL
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#INTERFACE F0/1
Switch(config-if)#SWITCHPORT MODE TRUNK
Switch(config-if)#EXIT
Switch(config)#EXIT
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch>ENABLE
Switch#CONFIGURE TERMINAL
Switch(config)#VLAN 10
Switch(config-vlan)#NAME VLAN10
Switch(config-vlan)#EXIT
Switch(config)#VLAN 20
Switch(config-vlan)#NAME VLAN 20
Switch(config-vlan)#NAME VLAN20
Switch(config-vlan)#EXIT
Switch(config)#EXIT
Switch#
Switch#SHOW VLAN
VLAN Name Status Ports
Gig0/1, Gig0/2
10 VLAN10 active
20 VLAN20 active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
Remote SPAN VLANs
------------------------------------------------------------------------------
Switch#
Switch#CONFIGURE TERMINAL
Switch(config-if-range)#EXIT
Switch(config-if-range)#EXIT
Switch(config)#SHOW VLAN
Switch(config)#EXIT
Switch#
Switch#SHOW VLAN
Gig0/2
Fa0/15
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
--More--
Switch>ENABLE
Switch#CO
NFIGURE TERMINAL
Switch(config)#INTERFACE F0/2
Switch(config-if)#EXIT
Switch(config)#EXIT
Switch#
Switch#
Switch#ENABLE
Switch#CONFIGURE TERMINAL
Switch(config)#INTERFACE F0/1
Switch(config-if)#EXIT
Switch(config)#EXIT
Switch#
CONFIGURACION S2
Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.
Switch>ENABLE
Switch#HOST NAME S2
^
% Invalid input detected at '^' marker.
Switch#CONFIGURE TERMINAL
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#VLAN 10
Switch(config-vlan)#NAME VLAN10
Switch(config-vlan)#EXIT
Switch(config)#VLAN 20
Switch(config-vlan)#NAME VLAN20
Switch(config-vlan)#EXIT
Switch(config)#INTERFACE RANGE F0/3-10
Switch(config-if-range)#INTERFACE MODE ACCESS
^
% Invalid input detected at '^' marker.
Switch(config-if-range)#SWITCHPORT MODE ACCESS
Switch(config-if-range)#SWITCHPORT ACCESS VLAN 10
Switch(config-if-range)#EXIT
Switch(config)#INTERFACE RANGE F0/11-15
Switch(config-if-range)#SWITCHPORT ACCESS VLAN 20
Switch(config-if-range)#SWITCHPORT MODE ACCESS
Switch(config-if-range)#EXIT
Switch(config)#EXIT
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#SHOW VLAN
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
--More--
Switch>ENABLE
Switch#CONFIGURE TERMINAL
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#INTERFACE F0/2
Switch(config-if)#SWITCHPORT MODE TRUNK
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to
down
Switch(config-if)#EXIT
Switch(config)#EXIT
Switch#
%SYS-5-CONFIG_I: Configured from console by console
ONFIGURACION ROUTER
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
Router>ENABLE
Router#CONFIGURE TERMINAL
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#INTERFACE F0/0
Router(config-if)#NO SHUTDOWN
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#EXIT
Router(config)#INTERFACE F0/0.10
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.10, changed state to up
Router(config-subif)#ENCAPSULATION DOT1Q 10
Router(config-subif)#IP ADDRESS 192.168.20.15 255.255.255.0
Router(config-subif)#EXIT
Router(config)#INTERFACE F0/0.20
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.20, changed state to up
Router(config-subif)#EMCAPSULATION DOT1Q 20
^
% Invalid input detected at '^' marker.
Router(config-subif)#INTERFACE F0/0.20
Router(config-subif)#ENCAPSULATION DOT1Q 20
Router(config-subif)#IP ADDRESS 192.168.10.25 255.255.255.0
Router(config-subif)#EXIT
Router(config)#EXIT
Router#
%SYS-5-CONFIG_I: Configured from console by console