power inline
auto --> Turns on the device discovery protocol and supplies power to the device.
never --> Turns off the device discovery protocol and stops supplying power to the device.
nfvis(config-switch)# interface gigabitEthernet 1/0
nfvis(config-switch-if)# power inline auto/never
nfvis(config-switch-if)# commit
nfvis(config-switch-if)# end
power inline limit
Specifies the power limit for the port in milliwatt. Valid range is from 0 to 60000. The default value is 30W
nfvis(config-switch)# interface gigabitEthernet 1/0
nfvis(config-switch-if)# power inline limit 30000
nfvis(config-switch-if)# commit
nfvis(config-switch-if)# end
power inline powered-device
nfvis(config-switch)# interface gigabitEthernet 1/0
nfvis(config-switch-if)# power inline powered-device ip-phone
nfvis(config-switch-if)# commit
nfvis(config-switch-if)# end
power inline priority
power inline priority {critical | high | low}
critical --> Specifies that the device operation is critical.
high--> Specifies that the device operation is high priority.
low--> Specifies that the device operation is low priority
nfvis(config-switch)# interface gigabitEthernet 1/0
nfvis(config-switch-if)# power inline priority high
nfvis(config-switch-if)# commit
nfvis(config-switch-if)# end
show switch interface inline-status
nfvis# show switch interface inline-status
PORT ADMIN OPER POWER CLASS DEVICE PRIORITY
--------------------------------------------------------
1/0 auto Searching 0.0 0 None low
1/1 auto Searching 0.0 0 None low
1/2 auto Searching 0.0 0 None low
1/3 auto Searching 0.0 0 None low
1/4 auto Searching 0.0 0 None low
1/5 auto On 6.5 4 None low
1/6 auto Searching 0.0 0 None low
1/7 auto Searching 0.0 0 None low
How Switch differntiates traffic from computer & ip phone ?
we have a trunk between our switch and IP phone. The port on the IP phone that connects to the computer is an access port.
The IP phone will forward all traffic from the computer to the switch untagged but traffic from itself (IP phone) will be tagged.
The only two VLANs that are allowed are the access and voice VLAN.
SW1(config)# interface GigabitEthernet 0/1
SW1(config-if)# switchport mode access
SW1(config-if)# switchport access vlan 100
SW1(config-if)# switchport voice vlan 101
SW1(config-if)# exit
Comments