show running-config interface

Syntax

show running-config interface [|]
show running-config interface [lag | loopback | tunnel | vlan ] []

Description

Displays active configurations of various switch interfaces.

Command context

config

Parameters

Specifies a interface name.

Specifies the port identifier range.

LAG

Specifies LAG interface information

LOOPBACK

Specifies loopback interface information.

TUNNEL

Specifies tunnel interface information.

VLAN

Specifies VLAN interface information.

Specifies the LAG number. Range: 1-256.

Specifies the LOOPBACK number. Range: 0-255.

Specifies the tunnel ID. Range: 1-255.

Specifies the VLAN ID. Range: 1-4094.

VXLAN

Specifies the VXLAN interface information.

指定VXLAN接口标识符。默认值:1.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

Showing 1/1/2 interface configuration:

switch(config-if)#show running-config interface 1/1/2interface 1/1/2 no shutdown description DC-23 exit

Showing loopback interfaces configured:

switch(config-if)#show running-config interface loopbackinterface loopback 1 description lb interface 1 exit interface loopback 2 description lb interface 2 exit

Showing loopback interfaces not configured:

switch(config-if)#show running-config interface loopbackNo loopback interfaces configured.