Documente Academic
Documente Profesional
Documente Cultură
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host S1
S1(config)#no ip dom
S1(config)#no ip domain-lookup
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#ena secret class
S1(config)#line con 0
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#line vty 0 4
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#^Z
%SYS-5-CONFIG_I: Configured from console by console
S1#vlan data
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#int fa 0/1
S1(config-if)#swicth mode trunk
S1(config-if)#switch mode trunk
S1#sh run
S1#ping 192.168.56.13
S2
Switch>ena
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host S2
S2(config)#no ip dom
S2(config)#
S2(config)#ena sec class
S2(config)#
S2(config)#password cisco
^
% Invalid input detected at '^' marker.
S2(config)#
S2(config)#login
^
% Invalid input detected at '^' marker.
S2(config)#
S2(config)#line vty 0 4
S2(config-line)#
S2(config-line)#pass cisco
S2(config-line)#
S2(config-line)#login
S2(config-line)#
S2(config-line)#exit
S2(config)#show run
^
% Invalid input detected at '^' marker.
S2(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
S2#show run
Building configuration...
S2#ena
S2#config t
Enter configuration commands, one per line. End with CNTL/Z.
S2(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
S2#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
S2(vlan)#
S2(vlan)#vlan 30 name Guest(Default)
VLAN 30 added:
Name: Guest(Default)
S2(vlan)#
S2(vlan)#vlan 10 name Faculty/Staff
VLAN 10 added:
Name: Faculty/Staff
S2(vlan)#
S2(vlan)#vlan 20 name Students
VLAN 20 added:
Name: Students
S2(vlan)#^Z
%SYS-5-CONFIG_I: Configured from console by console
S2#sh vlan brief
S2(config)#int fa 0/6
S2(config-if)#switch mode access
S2(config-if)#switch access vlan 30
S2(config-if)#int fa 0/11
S2(config-if)#switch mode access
S2(config-if)#switch access vlan 10
S2(config-if)#int fa 0/18
S2(config-if)#switch mode access
S2(config-if)#switch access vlan 20
S2(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
S2#sh 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
30 enet 100030 1500 - - - - - 0 0
56 enet 100056 1500 - - - - - 0 0
1002 enet 101002 1500 - - - - - 0 0
1003 enet 101003 1500 - - - - - 0 0
1004 enet 101004 1500 - - - - - 0 0
1005 enet 101005 1500 - - - - - 0 0
S2#
S2#config t
Enter configuration commands, one per line. End with CNTL/Z.
S2(config)#int vlan 56
S2(config-if)#ip add 192.168.56.12 255.255.255.0
S2(config-if)#no shutdown
S2#ping 192.168.56.13
S2#config t
Enter configuration commands, one per line. End with CNTL/Z.
S2(config)#int fa 0/11
S2(config-if)#switch mode access
S2(config-if)#switch access vlan 20
S2(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
S2#
s3
C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE
(fc4)
Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of
memory.
2960-24TT starting...
Base ethernet MAC Address: 0001.9663.1851
Xmodem file system is available.
Initializing Flash...
flashfs[0]: 1 files, 0 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 4414921
flashfs[0]: Bytes available: 28099127
flashfs[0]: flashfs fsck took 1 seconds.
...done Initializing Flash.
Loading "flash:/c2960-lanbase-mz.122-25.FX.bin"...
######################### [OK]
Restricted Rights Legend
Switch>ena
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host S3
S3(config)#no ip dom
S3(config)#
S3(config)#ena sec class
S3(config)#
S3(config)#password cisco
^
% Invalid input detected at '^' marker.
S3(config)#
S3(config)#login
^
% Invalid input detected at '^' marker.
S3(config)#
S3(config)#line vty 0 4
S3(config-line)#
S3(config-line)#pass cisco
S3(config-line)#
S3(config-line)#login
S3(config-line)#
S3(config-line)#^Z
%SYS-5-CONFIG_I: Configured from console by console
S3#show run
Building configuration...
S3#
S3#ena
S3#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
S3(vlan)#
S3(vlan)#vlan 30 name Guest(Default)
VLAN 30 added:
Name: Guest(Default)
S3(vlan)#
S3(vlan)#vlan 10 name Faculty/Staff
VLAN 10 added:
Name: Faculty/Staff
S3(vlan)#
S3(vlan)#vlan 20 name Students
VLAN 20 added:
Name: Students
S3(vlan)#^Z
%SYS-5-CONFIG_I: Configured from console by console
S3#sh vlan brief
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
30 enet 100030 1500 - - - - - 0 0
56 enet 100056 1500 - - - - - 0 0
1002 enet 101002 1500 - - - - - 0 0
1003 enet 101003 1500 - - - - - 0 0
1004 enet 101004 1500 - - - - - 0 0
1005 enet 101005 1500 - - - - - 0 0
S3#config t
Enter configuration commands, one per line. End with CNTL/Z.
S3(config)#int vlan 56
S3(config-if)#ip add 192.168.56.13 255.255.255.0
S3(config-if)#no shutdown
S3#