Está en la página 1de 2

interface range gi1/1-2,fa0/1 configuracin de una interfaz que soporta vlans de voz y datos Sw-Cli1(config-if)#mls qos trust cos

t cos Sw-Cli1(config-if)#switchport voice vlan 20 Sw-Cli1(config-if)#switchport mode access Sw-Cli1(config-if)#switchport access vlan 10 Sw-Cli1(config-if)#exit

Configuracion de subinterfacs CME(config)#interface fa0/0.10 CME(config-subif)#encapsulation dot1q 10 CME(config-subif)#ip add 192.168.10.1 255.255.255.0 CME(config-subif)#exit CME(config)#interface fa0/0.20 CME(config-subif)#encapsulation dot1q 20 CME(config-subif)#ip add 192.168.20.1 255.255.255.0 CME(config-subif)#exit CME(config)#interface fa0/0.99 CME(config-subif)#encapsulation dot1q 99 CME(config-subif)#ip add 192.168.99.1 255.255.255.0 CME(config-subif)#exit

CME(config)#interface fa0/0 CME(config-if)#no shutdown CME(config-if)# %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.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.20, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.20, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/0.99, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.99, changed state to up

CME#show ip interface brief

Interface

IP-Address

OK? Method Status YES unset up

Protocol up up up up

FastEthernet0/0 FastEthernet0/0.10 FastEthernet0/0.20 FastEthernet0/0.99 FastEthernet0/1 Vlan1

unassigned

192.168.10.1 YES manual up 192.168.20.1 YES manual up 192.168.99.1 YES manual up unassigned

YES unset administratively down down

unassigned

YES unset administratively down down

Configuracion de dhcp de voz CME(config)#ip dhcp pool voip CME(dhcp-config)#network 192.168.20.0 255.255.255.0 CME(dhcp-config)#default-router 192.168.20.1 CME(dhcp-config)#option 150 ip 192.168.20.1 CME(dhcp-config)#dns-server 200.48.225.130

CME(config)# CME(config)#telephony-service CME(config-telephony)#max-ephones 5 CME(config-telephony)#max-dn 5 CME(config-telephony)#auto assign 1 to 5 CME(config-telephony)#ip source-address 192.168.20.1 port 2000

También podría gustarte