最佳答案
display interface FortyGigE2/0/49
FortyGigE2/0/49
Current state: DOWN
Line protocol state: DOWN
IP packet frame type: Ethernet II, hardware address: b0f9-6339-e896
Description: FortyGigE2/0/49 Interface
Bandwidth: 40000000 kbps
Loopback is not set
Media type is not sure, port hardware type is No connector
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
Maximum frame length: 10000
Allow jumbo frames to pass
Broadcast max-ratio: 100%
Multicast max-ratio: 100%
Unicast max-ratio: 100%
PVID: 1
MDI type: Automdix
Port link-type: Access
Tagged VLANs: None
Untagged VLANs: 1
Port priority: 0
Last link flapping: Never
Last clearing of counters: Never
(0)
我现在学习的是 HCL 模拟器,用了 display interface GigabitEthernet 0/0,好像没有 Port link-type 这一项呀?(如下图) display interface GigabitEthernet 0/0 GigabitEthernet0/0 Current state: UP Line protocol state: UP Description: GigabitEthernet0/0 Interface Bandwidth: 1000000 kbps Maximum transmission unit: 1500 Allow jumbo frames to pass Broadcast max-ratio: 100% Multicast max-ratio: 100% Unicast max-ratio: 100% Internet protocol processing: Disabled IP packet frame type: Ethernet II, hardware address: 1efa-4f7a-0105 IPv6 packet frame type: Ethernet II, hardware address: 1efa-4f7a-0105 Output queue - Urgent queuing: Size/Length/Discards 0/100/0 Output queue - Protocol queuing: Size/Length/Discards 0/500/0 Output queue - FIFO queuing: Size/Length/Discards 0/75/0 Last link flapping: 0 hours 25 minutes 57 seconds Last clearing of counters: Never Peak input rate: 0 bytes/sec, at 00-00-00 00:00:00 Peak output rate: 0 bytes/sec, at 00-00-00 00:00:00 Last 300 second input: 0 packets/sec 0 bytes/sec 0% Last 300 second output: 0 packets/sec 0 bytes/sec 0% Input (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Input (normal): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Input: 0 input errors, 0 runts, 0 giants, 0 throttles 0 CRC, 0 frame, 0 overruns, 0 aborts 0 ignored, 0 parity errors Output (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Output (normal): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Output: 0 output errors, 0 underruns, 0 buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions 0 lost carrier, 0 no carrier
display interface 就可以看到接口的详细信息
(0)
请问如何查看接口的 access 或 trunk 类型?
请问如何查看接口的 access 或 trunk 类型?
你主要想查看该接口是电口还是光口,很简单
dis int 接口号,有twist 的是电口,如果不放心的话,可以
dis transceiver int g1/0/1该接口,这个命令是查看光口命令的
(0)
端口是否是光口 通过查看以太网端口类型。命令行查看方法如下 命令:display interface 例如:通过命令查看,若显示Media type is twisted pair表示是双绞线作为媒介的电口,若显示Media type is optical fiber表示是光口,若显示Media type is not sure,Port hardware type is No connector一般是光口未插光模块。
端口是否是光口 通过查看以太网端口类型。命令行查看方法如下 命令:display interface 例如:通过命令查看,若显示Media type is twisted pair表示是双绞线作为媒介的电口,若显示Media type is optical fiber表示是光口,若显示Media type is not sure,Port hardware type is No connector一般是光口未插光模块。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
你这个是路由器吧? 路由器默认都是路由接口。