vlan19 -- 电脑 / vlan 900 -- 网絡电话
cisco350#sh ru
config-file-header
cisco350
v3.0.0.69 / RCBS3.0_930_770_008
CLI v1.0
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
!
unit-type-control-start
unit-type unit 1 network gi uplink none
unit-type-control-end
!
vlan database
vlan 19,900
exit
voice vlan id 900
voice vlan state oui-enabled
voice vlan oui-table add 0001e3 Siemens_AG_phone
voice vlan oui-table add 00036b Cisco_phone
voice vlan oui-table add 00096e Avaya
voice vlan oui-table add 000fe2 H3C_Aolynk
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone
voice vlan oui-table add 00e075 Polycom/Veritel_phone
voice vlan oui-table add 00e0bb 3Com_phone
no lldp run
bonjour interface range vlan 1
hostname cisco350
username adm01 password encrypted $15$+YFXzTJNGotMalEP$MBq0NaPOeFKcaG64S5kyWcbFuZ4mrolBojJi1ZmV0qNCzvjRYKxDquO9D4q5E66gnAP9pvHGt0tJLkWWap9w3g== privilege 15
!
interface vlan 1
shutdown
!
interface GigabitEthernet1
spanning-tree portfast
switchport access vlan 19
voice vlan enable
!
interface GigabitEthernet2
spanning-tree portfast
switchport access vlan 19
voice vlan enable
!
interface GigabitEthernet3
spanning-tree portfast
switchport access vlan 19
voice vlan enable
!
interface GigabitEthernet4
spanning-tree portfast
switchport access vlan 19
voice vlan enable
!
interface GigabitEthernet5
spanning-tree portfast
switchport access vlan 19
voice vlan enable
!
interface GigabitEthernet6
spanning-tree portfast
switchport access vlan 19
voice vlan enable
!
interface GigabitEthernet7
spanning-tree portfast
switchport access vlan 19
voice vlan enable
!
interface GigabitEthernet8
spanning-tree portfast
switchport access vlan 19
voice vlan enable
!
interface GigabitEthernet9
switchport mode trunk
switchport trunk native vlan 900
!
interface GigabitEthernet10
switchport mode trunk
!
exit
cisco350#sh vlan
Created by: D-Default, S-Static, G-GVRP, R-Radius Assigned VLAN, V-Voice VLAN
Vlan Name Tagged Ports UnTagged Ports Created by
---- ----------------- ------------------ ------------------ ----------------
1 1 gi9 gi10, Po1-8 D
19 19 gi9-10 gi1-8 S
900 900 gi10 gi9 S
cisco350#08-Feb-2023 02:50:09 %LINK-W-Down: gi2
08-Feb-2023 02:50:40 %STP-W-PORTSTATUS: gi2: STP status Forwarding
08-Feb-2023 02:50:40 %LINK-I-Up: gi2
每个端口加上 switchport mode access 并保存,还是一样,sh run 看不到加上switchport mode access ,这些端口是有电脑vlan和网絡电话vlan,电脑vlan是可以,网絡电话不断出現以下
13-Feb-2023 06:43:32 %NT_GREEN-W-EeeLldpSingleNeighbour: Single LLDP neighbour on port gi6 - EEE operational state can be TRUE
13-Feb-2023 06:43:34 %NT_GREEN-W-EeeLldpMultiNeighbours: Multiple LLDP neighbours on port gi6 - EEE operational state is FALSE
13-Feb-2023 06:43:37 %NT_GREEN-W-EeeLldpMultiNeighbours: Multiple LLDP neighbours on port gi7 - EEE operational state is FALSE
13-Feb-2023 06:43:41 %NT_GREEN-W-EeeLldpSingleNeighbour: Single LLDP neighbour on port gi5 - EEE operational state can be TRUE
13-Feb-2023 06:43:46 %NT_GREEN-W-EeeLldpMultiNeighbours: Multiple LLDP neighbours on port gi5 - EEE operational state is FALSE