0% found this document useful (0 votes)
7 views7 pages

Max Prame

The document outlines the configuration steps for a switch and a router, including the creation of VLANs, DHCP pools, and subinterfaces. It details the commands used to set up VLANs for different departments and configure DHCP settings with specific IP addresses. Additionally, it includes commands for setting up telephony services and ephone directories for voice communication.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views7 pages

Max Prame

The document outlines the configuration steps for a switch and a router, including the creation of VLANs, DHCP pools, and subinterfaces. It details the commands used to set up VLANs for different departments and configure DHCP settings with specific IP addresses. Additionally, it includes commands for setting up telephony services and ephone directories for voice communication.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 7

Switch>

Switch>
Switch>
Switch>en
Switch>enable
Switch#conf t
Switch#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name ADMIN
Switch(config-vlan)#vlan 20
Switch(config-vlan)#vlan GERENCIA
^
% Invalid input detected at '^' marker.
Switch(config-vlan)#name GERENCIA
Switch(config-vlan)#vlan 30
Switch(config-vlan)#name OPERADORES
Switch(config-vlan)#vlan 40
Switch(config-vlan)#name TELEFONIA
Switch(config-vlan)#EXI
Switch(config-vlan)#EXIt
Switch(config-vlan)#EXIt
Switch(config)#int r
Switch(config)#int range f0/2-3
Switch(config-if-range)#swi
Switch(config-if-range)#switchport modo
Switch(config-if-range)#switchport modo acc
Switch(config-if-range)#switchport acc
Switch(config-if-range)#switchport access v
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#exi
Switch(config-if-range)#exit
Switch(config)#int r
Switch(config)#int range f0/4-5
Switch(config-if-range)#swi
Switch(config-if-range)#switchport acc
Switch(config-if-range)#switchport access v
Switch(config-if-range)#switchport access vlan
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#ex
Switch(config-if-range)#exit
Switch(config)#int r
Switch(config)#int range f0/6-7
Switch(config-if-range)#switchport access vlan 30
Switch(config-if-range)#ex
Switch(config-if-range)#exit
Switch(config)#int range f0/2-7
Switch(config-if-range)#switchport vo
Switch(config-if-range)#switchport voice v
Switch(config-if-range)#switchport voice vlan 40
Switch(config-if-range)#exi
Switch(config)#int r
Switch(config)#int range f0/1
Switch(config-if-range)#swi
Switch(config-if-range)#switchport modo tru
Switch(config-if-range)#switchport mode
Switch(config-if-range)#switchport mode t
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#switchport mode trunk

Switch(config-if-range)#
%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-range)#
Switch(config-if-range)#ex
Switch(config-if-range)#exit
Switch(config)#exi
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#
Switch#wr
Building configuration...
[OK]
Switch#
Switch#
Router>
Router>
Router>en
Router>enable
Router#conf t
Router#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip d
Router(config)#ip dh
Router(config)#ip dhcp poo
Router(config)#ip dhcp pool ADMIN
Router(dhcp-config)#NET
Router(dhcp-config)#
Router(dhcp-config)#net
Router(dhcp-config)#network 192.168.10.0 255.255.255.0
Router(dhcp-config)#def
Router(dhcp-config)#default-router 192.168.10.1
Router(dhcp-config)#op
Router(dhcp-config)#option 150 ip 192.168.10.1
Router(dhcp-config)#exi
Router(dhcp-config)#exit
Router(config)#ip dhcp pool OPERADORES
Router(dhcp-config)#network 192.168.20.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.20.1
Router(dhcp-config)#option 150 ip 192.168.20.1
Router(dhcp-config)#EXI
Router(dhcp-config)#EXIt
Router(config)#ip dhcp pool GERENCIA
Router(dhcp-config)#network 192.168.20.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.20.1
Router(dhcp-config)#option 150 ip 192.168.20.1
Router(dhcp-config)#EXI
Router(dhcp-config)#EXIt
Router(config)#ip dhcp pool OPERADORES
Router(dhcp-config)#network 192.168.30.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.30.1
Router(dhcp-config)#option 150 ip 192.168.30.1
Router(dhcp-config)#EXI
Router(config)#ip dhcp pool TELEFONIA
Router(dhcp-config)#network 192.168.100.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.100.1
Router(dhcp-config)#option 150 ip 192.168.100.1
Router(dhcp-config)#exi
Router(dhcp-config)#exit
Router(config)#ip dh
Router(config)#ip dhcp ex
Router(config)#ip dhcp excluded-address 192.168.10.1
Router(config)#ip dhcp excluded-address 192.168.20.1
Router(config)#ip dhcp excluded-address 192.168.30.1
Router(config)#ip dhcp excluded-address 192.168.40.1
Router(config)#ip dhcp excluded-address 192.168.100.1
Router(config)#int f0/0.1
Router(config-subif)#en
Router(config-subif)#encapsulation d
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip add
Router(config-subif)#ip address 192.168.10.1 255.255.255.0
Router(config-subif)#exi
Router(config-subif)#exit
Router(config)#int f0/0.2
Router(config-subif)#encapsulation dot1Q 10

%Configuration of multiple subinterfaces of the same main


interface with the same VID (10) is not permitted.
This VID is already configured on FastEthernet0/0.1.

Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 192.168.20.1 255.255.255.0
Router(config-subif)#exi
Router(config-subif)#exit
Router(config)#int f0/0.3
Router(config-subif)#ip address 192.168.30.1 255.255.255.0

% Configuring IP routing on a LAN subinterface is only allowed if that


subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.

Router(config-subif)#exi
Router(config)#int f0/0.3
Router(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip address 192.168.30.1 255.255.255.0
Router(config-subif)#exi
Router(config-subif)#exit
Router(config)#int f0/0.4
Router(config-subif)#encapsulation dot1Q 40
Router(config-subif)#ip address 192.168.100.1 255.255.255.0
Router(config-subif)#exi
Router(config-subif)#exit
Router(config)#te
Router(config)#telephony-service
Router(config-telephony)#max-dn 12
Router(config-telephony)#max-e
Router(config-telephony)#max-ephones 12
Router(config-telephony)#ip s
Router(config-telephony)#ip source-address 192.168.100.1
% Incomplete command.
Router(config-telephony)#ip source-address 192.168.100.1 po
Router(config-telephony)#ip source-address 192.168.100.1 port 2000
Router(config-telephony)#au
Router(config-telephony)#aut
Router(config-telephony)#auto ass
Router(config-telephony)#auto assign 1 to 12
Router(config-telephony)#exi
Router(config)#ep
Router(config)#eph
Router(config)#ephone-dn 1
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up

Router(config-ephone-dn)#number 1001
Router(config-ephone-dn)#exi
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 2
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up

Router(config-ephone-dn)#number 1002
Router(config-ephone-dn)#ex
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 3
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up

Router(config-ephone-dn)#number 1003
Router(config-ephone-dn)#ex
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 4
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 4.1, changed state to up

Router(config-ephone-dn)#number 1004
Router(config-ephone-dn)#ex
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 5
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 5.1, changed state to up

Router(config-ephone-dn)#number 1005
Router(config-ephone-dn)#ex
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 6
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 6.1, changed state to up

Router(config-ephone-dn)#number 1006
Router(config-ephone-dn)#
Router(config-ephone-dn)#ex
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 7
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 7.1, changed state to up

Router(config-ephone-dn)#number 2001
Router(config-ephone-dn)#ex
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 8
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 8.1, changed state to up

Router(config-ephone-dn)#number 2002
Router(config-ephone-dn)#ex
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 9
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 9.1, changed state to up

Router(config-ephone-dn)#number 2003
Router(config-ephone-dn)#
Router(config-ephone-dn)#ex
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 10
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 10.1, changed state to up

Router(config-ephone-dn)#number 2004
Router(config-ephone-dn)#
Router(config-ephone-dn)#ex
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 11
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 11.1, changed state to up

Router(config-ephone-dn)#number 2005
Router(config-ephone-dn)#
Router(config-ephone-dn)#ex
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 12
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 12.1, changed state to up

Router(config-ephone-dn)#number 2006
Router(config-ephone-dn)#
Router(config-ephone-dn)#
%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

You might also like