交换机接口配置
发布网友
发布时间:2022-04-24 18:45
我来回答
共5个回答
热心网友
时间:2023-11-03 08:55
先给出命令(解决方法)
先键入 R1(config-if)#shuntdown
再键入 R1(config-if)#no shutdown
原因暂且不明白。
但是按照这个方法 可以解决 Operation Mode:down 的问题
亲测。
--------------------------------------------------------------
sw1(config)#do sh int fa1/11 switchport
Name: Fa1/11
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 10 (VLAN0010)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: none
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
--------------------------------------------------------------
sw1(config)#int fa1/11
sw1(config-if)#shutdown
*Mar 1 01:17:52.651: %LINK-5-CHANGED: Interface FastEthernet1/11, changed state to administratively down
sw1(config-if)#no shutdown
*Mar 1 01:17:59.715: %DTP-5-TRUNKPORTON: Port Fa1/11 has become dot1q trunk
*Mar 1 01:18:00.215: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Mar 1 01:18:01.959: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/11, changed state to up
--------------------------------------------------------------
sw1(config-if)#do sh int fa 1/11 switchport
Name: Fa1/11
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 10 (VLAN0010)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1,10
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
--------------------------------------------------------------
PS: C2691
热心网友
时间:2023-11-03 08:56
所以不用写switchport trunk encapsulation dot1q/isl的命令。
3560以上才支持dot1q和isl,才有encapsulation的命令。追问那意思就是直接进入接口no shutdown 吗?
热心网友
时间:2023-11-03 08:56
检查线缆 接上设备 通电后 自动就会UP
热心网友
时间:2023-11-03 08:55
先给出命令(解决方法)
先键入 R1(config-if)#shuntdown
再键入 R1(config-if)#no shutdown
原因暂且不明白。
但是按照这个方法 可以解决 Operation Mode:down 的问题
亲测。
--------------------------------------------------------------
sw1(config)#do sh int fa1/11 switchport
Name: Fa1/11
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 10 (VLAN0010)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: none
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
--------------------------------------------------------------
sw1(config)#int fa1/11
sw1(config-if)#shutdown
*Mar 1 01:17:52.651: %LINK-5-CHANGED: Interface FastEthernet1/11, changed state to administratively down
sw1(config-if)#no shutdown
*Mar 1 01:17:59.715: %DTP-5-TRUNKPORTON: Port Fa1/11 has become dot1q trunk
*Mar 1 01:18:00.215: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Mar 1 01:18:01.959: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/11, changed state to up
--------------------------------------------------------------
sw1(config-if)#do sh int fa 1/11 switchport
Name: Fa1/11
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 10 (VLAN0010)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1,10
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
--------------------------------------------------------------
PS: C2691
热心网友
时间:2023-11-03 08:56
所以不用写switchport trunk encapsulation dot1q/isl的命令。
3560以上才支持dot1q和isl,才有encapsulation的命令。追问那意思就是直接进入接口no shutdown 吗?
热心网友
时间:2023-11-03 08:56
检查线缆 接上设备 通电后 自动就会UP
热心网友
时间:2023-11-03 08:57
你接口管理shutdown了,你no shutdown就可以了
热心网友
时间:2023-11-03 08:55
先给出命令(解决方法)
先键入 R1(config-if)#shuntdown
再键入 R1(config-if)#no shutdown
原因暂且不明白。
但是按照这个方法 可以解决 Operation Mode:down 的问题
亲测。
--------------------------------------------------------------
sw1(config)#do sh int fa1/11 switchport
Name: Fa1/11
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 10 (VLAN0010)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: none
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
--------------------------------------------------------------
sw1(config)#int fa1/11
sw1(config-if)#shutdown
*Mar 1 01:17:52.651: %LINK-5-CHANGED: Interface FastEthernet1/11, changed state to administratively down
sw1(config-if)#no shutdown
*Mar 1 01:17:59.715: %DTP-5-TRUNKPORTON: Port Fa1/11 has become dot1q trunk
*Mar 1 01:18:00.215: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Mar 1 01:18:01.959: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/11, changed state to up
--------------------------------------------------------------
sw1(config-if)#do sh int fa 1/11 switchport
Name: Fa1/11
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 10 (VLAN0010)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1,10
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
--------------------------------------------------------------
PS: C2691
热心网友
时间:2023-11-03 08:57
简介下你这个是什么交换机吧
热心网友
时间:2023-11-03 08:55
先给出命令(解决方法)
先键入 R1(config-if)#shuntdown
再键入 R1(config-if)#no shutdown
原因暂且不明白。
但是按照这个方法 可以解决 Operation Mode:down 的问题
亲测。
--------------------------------------------------------------
sw1(config)#do sh int fa1/11 switchport
Name: Fa1/11
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 10 (VLAN0010)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: none
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
--------------------------------------------------------------
sw1(config)#int fa1/11
sw1(config-if)#shutdown
*Mar 1 01:17:52.651: %LINK-5-CHANGED: Interface FastEthernet1/11, changed state to administratively down
sw1(config-if)#no shutdown
*Mar 1 01:17:59.715: %DTP-5-TRUNKPORTON: Port Fa1/11 has become dot1q trunk
*Mar 1 01:18:00.215: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Mar 1 01:18:01.959: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/11, changed state to up
--------------------------------------------------------------
sw1(config-if)#do sh int fa 1/11 switchport
Name: Fa1/11
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 10 (VLAN0010)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1,10
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
--------------------------------------------------------------
PS: C2691
热心网友
时间:2023-11-03 08:57
你接口管理shutdown了,你no shutdown就可以了
热心网友
时间:2023-11-03 08:56
所以不用写switchport trunk encapsulation dot1q/isl的命令。
3560以上才支持dot1q和isl,才有encapsulation的命令。追问那意思就是直接进入接口no shutdown 吗?
热心网友
时间:2023-11-03 08:56
所以不用写switchport trunk encapsulation dot1q/isl的命令。
3560以上才支持dot1q和isl,才有encapsulation的命令。追问那意思就是直接进入接口no shutdown 吗?
热心网友
时间:2023-11-03 08:57
简介下你这个是什么交换机吧
热心网友
时间:2023-11-03 08:56
检查线缆 接上设备 通电后 自动就会UP
热心网友
时间:2023-11-03 08:57
你接口管理shutdown了,你no shutdown就可以了
热心网友
时间:2023-11-03 08:57
简介下你这个是什么交换机吧
热心网友
时间:2023-11-03 08:56
检查线缆 接上设备 通电后 自动就会UP
热心网友
时间:2023-11-03 08:57
你接口管理shutdown了,你no shutdown就可以了
热心网友
时间:2023-11-03 08:57
简介下你这个是什么交换机吧