Wednesday 28 December 2016

CCNP Switch Lab (qos,ip-phone,wireless connections)



!
Swich Qos Commands
conf)# mls qos
int fa0/1
mls qos trust {cos|ip-precedence|dscp}
mls qos trust device cisco-phone
if we want to apply auto qos
conf)# auto qos voip {--}
Verification:
!
# sh mls qos int fa0/1
!
IP Phone Connection & commands
!
Voice Vlan

dhcp#
dhcp#sh run
!
hostname dhcp
!
ip dhcp pool PHONE
network 1.1.1.0 255.255.255.0
default-router 1.1.1.1
dns-server 4.4.4.4
ip dhcp pool PC
network 2.2.2.0 255.255.255.0
default-router 2.2.2.1
dns-server 4.4.4.4
!
!
interface FastEthernet0/0
ip address 10.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation dot1Q 10
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0.2
encapsulation dot1Q 20
ip address 2.2.2.1 255.255.255.0
!
end
!
On the switch side
!
vlan 10
vlan 20
!
int vlan 10
int vla 20
!
int ran f0/1 - 2
switchport voice vlan 10
int range fa0/3 - 4
switchport access vlan 20
!
Switch(config-if)#do sh vlan
!
For Wireless access point
!
Vlan 100
name LAP
int g1/0
switchport
switchport access vlan 100
switchport mode access
spanning-tree portfast
power inline auto
exit
!

No comments:

Post a Comment