Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

查看接口配置

要查看基本接口信息,请使用 show interfaceshow running-configurationshow interface status 命令。通过输入 CTRL+C 停止从 show 命令滚动输出。以 EXEC 模式显示有关物理或虚拟接口的信息,包括运行/停止状态、MAC 和 IP 地址以及输入/输出流量计数器。

show interface [type]
  • phy-eth node/slot/port[:subport] — 显示有关连接到接口的物理介质的信息。
  • status — 显示接口状态。
  • ethernet node/slot/port[:subport] — 显示以太网接口信息。
  • loopback id — 显示环回接口信息,从 0 到 16383。
  • mgmt node/slot/port — 显示管理接口信息。
  • port-channel id-number — 显示端口通道接口信息,从 1 到 128。
  • vlan vlan-id — 显示 VLAN 接口信息,从 1 到 4093。
查看接口信息
OS10# show interface
Ethernet 1/1/1 is up, line protocol is down
Hardware is Eth, address is 00:0c:29:66:6b:90
    Current address is 00:0c:29:66:6b:90
Pluggable media present, QSFP+ type is QSFP+ 40GBASE CR4
    Wavelength is 64
    Receive power reading is 0.000000 dBm
Interface index is 15
Internet address is not set
Mode of IPv4 Address Assignment: not set
Interface IPv6 oper status: Enabled
MTU 1532 bytes, IP MTU 1500 bytes
LineSpeed 0, Auto-Negotiation on
Configured FEC is off, Negotiated FEC is off
Flowcontrol rx off tx off
ARP type: ARPA, ARP Timeout: 60
Last clearing of "show interface" counters: 02:46:35
Queuing strategy: fifo
Input statistics:
     0 packets, 0 octets
     0 64-byte pkts, 0 over 64-byte pkts, 0 over 127-byte pkts
     0 over 255-byte pkts, 0 over 511-byte pkts, 0 over 1023-byte pkts
     0 Multicasts, 0 Broadcasts, 0 Unicasts
     0 runts, 0 giants, 0 throttles
     0 CRC, 0 overrun, 0 discarded
Output statistics:
     0 packets, 0 octets
     0 64-byte pkts, 0 over 64-byte pkts, 0 over 127-byte pkts
     0 over 255-byte pkts, 0 over 511-byte pkts, 0 over 1023-byte pkts
     0 Multicasts, 0 Broadcasts, 0 Unicasts
     0 throttles, 0 discarded, 0 Collisions, 0 wred drops
Rate Info(interval 30 seconds):
     Input 0 Mbits/sec, 0 packets/sec, 0% of line rate
     Output 0 Mbits/sec, 0 packets/sec, 0% of line rate
Time since last interface status change: 02:46:36
 
 
Ethernet 1/1/2 is up, line protocol is up
Hardware is Eth, address is 00:0c:29:66:6b:94
    Current address is 00:0c:29:66:6b:94
Pluggable media present, QSFP+ type is QSFP+ 40GBASE CR4
    Wavelength is 64
    Receive power reading is 0.000000 dBm
Interface index is 17
Internet address is not set
Mode of IPv4 Address Assignment: not set
Interface IPv6 oper status: Enabled
Link local IPv6 address: fe80::20c:29ff:fe66:6b94/64
MTU 1532 bytes, IP MTU 1500 bytes
LineSpeed 40G, Auto-Negotiation on
Configured FEC is off, Negotiated FEC is off
Flowcontrol rx off tx off
ARP type: ARPA, ARP Timeout: 60
Last clearing of "show interface" counters: 02:46:35
Queuing strategy: fifo
Input statistics:
     0 packets, 0 octets
     0 64-byte pkts, 0 over 64-byte pkts, 0 over 127-byte pkts
     0 over 255-byte pkts, 0 over 511-byte pkts, 0 over 1023-byte pkts
     0 Multicasts, 0 Broadcasts, 0 Unicasts
     0 runts, 0 giants, 0 throttles
     0 CRC, 0 overrun, 0 discarded
Output statistics:
     0 packets, 0 octets
     0 64-byte pkts, 0 over 64-byte pkts, 0 over 127-byte pkts
     0 over 255-byte pkts, 0 over 511-byte pkts, 0 over 1023-byte pkts
     0 Multicasts, 0 Broadcasts, 0 Unicasts
     0 throttles, 0 discarded, 0 Collisions, 0 wred drops
Rate Info(interval 30 seconds):
     Input 0 Mbits/sec, 0 packets/sec, 0% of line rate
     Output 0 Mbits/sec, 0 packets/sec, 0% of line rate
Time since last interface status change: 02:46:35
--more--
查看特定接口信息
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# show configuration
!
interface ethernet1/1/1
 ip address 1.1.1.1/24
 no switchport
 no shutdown
查看候选配置
OS10(conf-if-eth1/1/1)# show configuration candidate
!
interface ethernet1/1/1
 ip address 1.1.1.1/24
 no switchport
 no shutdown
查看正在运行的配置
OS10# show running-configuration
Current Configuration ...
!
interface ethernet1/1/1
  no ip address
  shutdown
!
interface ethernet1/1/2
  no ip address
  shutdown
!
interface ethernet1/1/3
  no ip address
  shutdown
!
interface ethernet1/1/4
  no ip address
  shutdown
...
查看 L3 接口
OS10# show ip interface brief
Interface Name            IP-Address          OK       Method       Status     Protocol
=========================================================================================
Ethernet 1/1/1            unassigned          NO       unset        up          down
Ethernet 1/1/2            unassigned          YES      unset        up          up
Ethernet 1/1/3            3.1.1.1/24          YES      manual       up          up
Ethernet 1/1/4            4.1.1.1/24          YES      manual       up          up
Ethernet 1/1/5            unassigned          NO       unset        up          down
Ethernet 1/1/6            unassigned          NO       unset        up          down
Ethernet 1/1/7            unassigned          NO       unset        up          down
Ethernet 1/1/8            unassigned          NO       unset        up          down
Ethernet 1/1/9            unassigned          NO       unset        up          down
Ethernet 1/1/10           unassigned          NO       unset        up          down
Ethernet 1/1/11           unassigned          NO       unset        up          down
Ethernet 1/1/12           unassigned          NO       unset        up          down
Ethernet 1/1/13           unassigned          NO       unset        up          down
Ethernet 1/1/14           unassigned          NO       unset        up          down
Ethernet 1/1/15           unassigned          NO       unset        up          down
Ethernet 1/1/16           unassigned          NO       unset        up          down
Ethernet 1/1/17           unassigned          NO       unset        up          down
Ethernet 1/1/18           unassigned          NO       unset        up          down
Ethernet 1/1/19           unassigned          NO       unset        up          down
Ethernet 1/1/20           unassigned          NO       unset        up          down
Ethernet 1/1/21           unassigned          NO       unset        up          down
Ethernet 1/1/22           unassigned          NO       unset        up          down
Ethernet 1/1/23           unassigned          NO       unset        up          down
Ethernet 1/1/24           unassigned          NO       unset        up          down
Ethernet 1/1/25           unassigned          NO       unset        up          down
Ethernet 1/1/26           unassigned          NO       unset        up          down
Ethernet 1/1/27           unassigned          NO       unset        up          down
Ethernet 1/1/28           unassigned          NO       unset        up          down
Ethernet 1/1/29           unassigned          NO       unset        up          down
Ethernet 1/1/30           unassigned          NO       unset        up          down
Ethernet 1/1/31           unassigned          NO       unset        up          down
Ethernet 1/1/32           unassigned          NO       unset        up          down
Management 1/1/1          10.16.153.226/24    YES      manual       up          up
Vlan 1                    unassigned          NO       unset        up          down
Vlan 10                   unassigned          NO       unset        up          down
Vlan 20                   unassigned          NO       unset        up          down
Vlan 30                   unassigned          NO       unset        up          down 
查看 VLAN 配置
OS10# show vlan
Codes: * - Default VLAN, M - Management VLAN, R - Remote Port Mirroring VLANs,
       @ – Attached to Virtual Network
Q: A - Access (Untagged), T - Tagged
    NUM    Status    Description                     Q Ports
    1      Inactive                                  A Eth1/1/1,1/1/6-1/1/32
    10     Inactive
    20     Inactive
    22     Inactive
    23     Active                                    A Eth1/1/2
    24     Inactive
    25     Inactive
    26     Inactive
    27     Inactive
    28     Inactive
    29     Inactive
    30     Inactive

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\