Published On: August 6ᵗʰ, 2019 02:05
Cisco Enterprise Network Compute System Switch Command Reference
Ethernet Configuration Commands
- interface
- description
- duplex
- flowcontrol receive
- mdix
- negotiation
- shutdown
- speed
- switchport access vlan
- switchport community
- switchport dot1q-tunnel vlan
- switchport mode
- switchport protected-port
- switchport trunk allowed vlan
- switchport trunk native vlan
- switch clear counters
- show switch interface configuration
- show switch interface counters
- show switch interface protected
- show switch interface rmon
- show switch interface status
- show switch interface switchPort
- show switch interface inline-status
interface
To enter the interface configuration mode to configure a Gigabit Ethernet or port channel interface, use the interface command in switch configuration mode.
interface { gigabitEthernet { interface-id | interface-range} | port-channel { portchannel-id | range portchannel-range} }
Syntax Description
gigabitEthernet |
Specifies Gigabit Ethernet as the interface type. |
interface-id |
Specifies an interface ID. |
interface-range |
Specifies a range for the Giganit Ethernet interfaces. Enter the range in the following format: 1/1-3. |
port-channel |
Specifies port channel as the interface type. |
portchannel-id |
Specifies a port channel. |
range portchannel-range |
Specifies a range for port channels. Enter the range in the following format: 1-3 |
Command History
Release | Modification |
---|---|
3.6.1 |
The port-channel and range parameters are added. |
3.5.1 |
This command was introduced. |
description
duplex
flowcontrol receive
mdix
negotiation
shutdown
To disable an interface, use the shutdown command in the interface switch configuration mode. To restart a disabled interface, use the no form of this command.
Syntax Description
Command Modes
Interface (Gigabit Ethernet, Port Channel, VLAN) switch configuration (config-switch-if)
Command History
Usage Guidelines
The shutdown command sets the value of ifAdminStatus (see RFC 2863) to DOWN. When ifAdminStatus is changed to DOWN, ifOperStatus is also be changed to DOWN.
The DOWN state of ifOperStatus implies that the interface does not transmit to or receive messages from higher levels. For example, if you shut down a VLAN on which an IP interface is configured, bridging into the VLAN continues but the switch cannot transmit and receive IP traffic on the VLAN.
speed
To configure the speed of a given Ethernet interface when not using auto-negotiation, use the speed command in interface switch configuration mode. To restore the default configuration, use the no form of this command.
Syntax Description
Command History
switchport access vlan
A port in access mode can be an untagged member of a single VLAN. To reassign an interface to a different VLAN than it currently belongs to, use the switchport access vlan command in interface switch configuration mode. Use the no form of the command to restore the default configuration.
Syntax Description
Command History
Usage Guidelines
When the port is assigned to a different VLAN, it is automatically removed from its previous VLAN and added to the new VLAN. A non-existing VLAN can be assigned as an access VLAN.
Examples
The following example shows how to assign a VLAN to an interface:
nfvis(config-switch)# interface gigabitEthernet 1/0 nfvis(config-switch-if)# switchport mode access nfvis(config-switch-if)# switchport access vlan 2 nfvis(config-switch-if)# commit nfvis(config-switch-if)# end
switchport community
To associate a protected port with a community, use the switchport community command in interface switch configuration mode. Use the no form of this command to return to the default.
Syntax Description
Command History
switchport dot1q-tunnel vlan
To set a port's VLAN when the port is in dot1q-tunnel mode (set by the switchport mode command), use the switchport dot1q-tunnel vlan command in interface configuration mode. Use the no form of this command to restore the default configuration.
Syntax Description
Command Default
No VLAN is configured as dot1q-tunnel.
Command Modes
Interface (Gigabit Ethernet, Port Channel) switch configuration (config-switch-if)
Command History
Release | Modification |
---|---|
3.6.1 | This command was introduced. |
Usage Guidelines
When a port is in dot1q-tunnel mode, it is in QinQ mode. This mode allows you to use your own VLAN arrangements (PVID) across a provider network. The switch is in QinQ mode when it has one or more dot1q-tunnel ports.
Examples
The following example defines the Gigabit Ethernet interface 1/0 as a member of dot1q-tunnel VLAN 5.
nfvis(config)# switch nfvis(config-switch)# interface gigabitEthernet 1/0 nfvis(config-switch-if)# switchport dot1q-tunnel vlan 5 nfvis(config-switch-if)# commit nfvis(config-switch-if)# end
switchport mode
To configure the VLAN membership mode, use the switchport mode command in interface switch configuration mode. Use the no form of this command to restore the default configuration.
Syntax Description
access |
Specifies an untagged layer 2 VLAN port. |
dot1q-tunnel |
Specifies the Layer 2 port as a tunnel port. |
private-vlan |
Specifies a private VLAN port. |
trunk |
Specifies a trunking layer 2 VLAN port. |
Command History
Usage Guidelines
When the port’s mode is changed, it receives the configuration corresponding to the mode. If the port mode is changed to access, and the access VLAN does not exist, then the port does not belong to any VLAN.
Examples
The following example shows how to configure the Gigabit Ethernet interface 1/0 as an access port (untagged layer 2 VLAN port).
nfvis(config-switch)# interface gigabitEthernet 1/0 nfvis(config-switch-if)# switchport mode access nfvis(config-switch-if)# commit nfvis(config-switch-if)# end
switchport protected-port
To isolate unicast, multicast, and broadcast traffic at Layer 2 from other protected ports on the same switch, use the switchport protected-port command in interface switch configuration mode. Use the no form of this command to disable protection on the port.
Syntax Description
Command History
switchport trunk allowed vlan
To tag a single VLAN or multiple VLANs to a trunk port, use the switchport trunk allowed vlan command in interface switch configuration mode. Use the no form of the command to return to the default.
Syntax Description
Command History
switchport trunk native vlan
To define the native VLAN for a trunk interface, use the switchport trunk native vlan command in interface switch configuration mode. Use the no form of the command to restore the default native VLAN.
Syntax Description
native vlan | Defines a native VLAN for a trunk interface. |
vlan-id |
Specifies the VLAN ID. Valid range is from: |
Command History
Usage Guidelines
If an untagged packet arrives on a trunk port, it is directed to the native VLAN of the port. The value of the PVID interface is set to this VLAN ID. When the interface belongs to the native VLAN, the interface is set as VLAN untagged egress interface.
Examples
The following example shows how to configure a native VLAN:
nfvis(config-switch)# interface gigabitEthernet 1/0 nfvis(config-switch-if)# switchport mode trunk nfvis(config-switch-if)# switchport trunk native vlan 2 nfvis(config-switch-if)# commit nfvis(config-switch-if)# end
switch clear counters
show switch interface configuration
To display the configuration of all interfaces or a specific interface, use the show switch interface configuration command in privileged EXEC mode.
Syntax Description
gigabitEthernet |
Specifies gigabitEthernet as the interface type. |
port-channel |
Specifies port channel as the interface type. |
interface-id |
Specifies the interface ID. |
Command History
Examples
The following is a sample output of the show switch interface configuration command that displays the configuration of all interfaces:
nfvis# show switch interface configuration PORT TYPE DUPLEX SPEED NEG CTRL STATE MODE ------------------------------------------------------------ 1/0 1G-Copper full 1000 Enabled off Up auto 1/1 1G-Copper full 1000 Enabled off Up auto 1/2 1G-Copper full 1000 Enabled off Up auto 1/3 1G-Copper full 1000 Enabled off Up auto 1/4 1G-Copper full 1000 Enabled off Up auto 1/5 1G-Copper full 1000 Enabled off Up auto 1/6 1G-Copper full 1000 Enabled off Up auto 1/7 1G-Copper full 1000 Enabled off Up auto FLOW ADMIN PORT TYPE SPEED NEG CTRL STATE ---------------------------------------------- 1 1G-Copper 1000 Enabled off Up 2 1G-Copper 0 Enabled off Up 3 1G-Copper 0 Enabled off Up 4 1G-Copper 0 Enabled off Up
show switch interface counters
To display traffic for all physical interfaces or a specific interface, use the show switch interface counters command in privileged EXEC mode.
Syntax Description
gigabitEthernet |
Specifies Gigabit Ethernet as the interface type. |
port-channel |
Specifies port channel as the interface type. |
interface-id |
Specifies the interface ID. |
Command History
Usage Guidelines
For verification and the command output display, use the show switch interface counters command. For debugging, use the switch show interface counters command.
Examples
The following is a sample output of the show switch interface counters command that displays traffic for all physical interfaces:nfvis# show switch interface counters IN IN IN OUT OUT OUT UCAST MCAST BCAST IN UCAST MCAST BCAST OUT PORT PKTS PKTS PKTS OCTETS PKTS PKTS PKTS OCTETS ------------------------------------------------------------------------- 1/0 0 10294 0 4549003 8991 781378 385601 99211858 1/1 0 27730 107369 10101659 8991 782425 278232 94933385 1/2 0 18486 0 1275504 8979 791617 385589 103748317 1/3 0 0 0 0 0 0 0 0 1/4 0 0 0 0 0 0 0 0 1/5 0 18503 22324 17477800 8970 782386 363263 89621499 1/6 0 0 0 0 0 0 0 0 1/7 12888 744128 255908 74922054 0 47279 129693 29593513 IN IN IN OUT OUT OUT UCAST MCAST BCAST IN UCAST MCAST BCAST OUT PORT PKTS PKTS PKTS OCTETS PKTS PKTS PKTS OCTETS ---------------------------------------------------------------- 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0
Examples
The following table describes the significant fields shown in the command output.
Field |
Description |
---|---|
PORT |
Port number |
IN and OUT UCAST PKTS |
Number of received and transmitted unicast packets. |
IN and OUT MCAST PKTS |
Number of received and transmitted multicast packets. |
IN and OUT BCAST PKTS |
Number of received and transmitted broadcast packets. |
IN and OUT OCTETS |
Number of received and transmitted octets. |
show switch interface protected
To display the configuration of all protected interfaces or a specific interface, use the show switch interface protected command in privileged EXEC mode.
Syntax Description
Command History
Examples
The following is a sample output of the show switch interface protected command that displays the configuration of all protected interfaces:
nfvis# show switch interface protected PORT STATE COMMUNITY ------------------------------ 1/0 Unprotected Isolated 1/1 Unprotected Isolated 1/2 Unprotected Isolated 1/3 Unprotected Isolated 1/4 Unprotected Isolated 1/5 Unprotected Isolated 1/6 Unprotected Isolated 1/7 Unprotected Isolated
show switch interface rmon
To display the RMON statistics for all interfaces or a specific interface, use the show switch interface rmon command in privileged EXEC mode.
Syntax Description
gigabitEthernet |
Specifies Gigabit Ethernet as the interface type. |
port-channel |
Specifies port channel as the interface type. |
interface-id |
Specifies the interface ID. |
Command History
Usage Guidelines
For verification and the command output display, use the show switch interface rmon command. For debugging, use the switch show interface rmon command.
Examples
The following is a sample output of the show switch interface rmon command that displays the RMON statistics for all interfaces:
nfvis# show switch interface rmon interface rmon gigabitEthernet 1/0 DropEventCnt 0 RxPktByteCnt 4600717 RxPktCnt 10411 RxMPktCnt 10411 RxBPktCnt 0 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 517534 FrameOf65To127BytesCnt 553976 FrameOf128To255BytesCnt 84394 FrameOf256To511BytesCnt 21145 FrameOf512To1023BytesCnt 22588 FrameOf1024To1518BytesCnt 0 interface rmon gigabitEthernet 1/1 DropEventCnt 0 RxPktByteCnt 10215853 RxPktCnt 136624 RxMPktCnt 28048 RxBPktCnt 108576 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 517539 FrameOf65To127BytesCnt 572669 FrameOf128To255BytesCnt 84394 FrameOf256To511BytesCnt 21142 FrameOf512To1023BytesCnt 22588 FrameOf1024To1518BytesCnt 0 interface rmon gigabitEthernet 1/2 DropEventCnt 0 RxPktByteCnt 1290132 RxPktCnt 18698 RxMPktCnt 18698 RxBPktCnt 0 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 517524 FrameOf65To127BytesCnt 572648 FrameOf128To255BytesCnt 84385 FrameOf256To511BytesCnt 21128 FrameOf512To1023BytesCnt 22588 FrameOf1024To1518BytesCnt 0 interface rmon gigabitEthernet 1/3 DropEventCnt 0 RxPktByteCnt 0 RxPktCnt 0 RxMPktCnt 0 RxBPktCnt 0 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 0 FrameOf65To127BytesCnt 0 FrameOf128To255BytesCnt 0 FrameOf256To511BytesCnt 0 FrameOf512To1023BytesCnt 0 FrameOf1024To1518BytesCnt 0 interface rmon gigabitEthernet 1/4 DropEventCnt 0 RxPktByteCnt 0 RxPktCnt 0 RxMPktCnt 0 RxBPktCnt 0 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 0 FrameOf65To127BytesCnt 0 FrameOf128To255BytesCnt 0 FrameOf256To511BytesCnt 0 FrameOf512To1023BytesCnt 0 FrameOf1024To1518BytesCnt 0 interface rmon gigabitEthernet 1/5 DropEventCnt 0 RxPktByteCnt 17682398 RxPktCnt 41305 RxMPktCnt 18720 RxBPktCnt 22585 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 517608 FrameOf65To127BytesCnt 554083 FrameOf128To255BytesCnt 84408 FrameOf256To511BytesCnt 30492 FrameOf512To1023BytesCnt 22593 FrameOf1024To1518BytesCnt 0 interface rmon gigabitEthernet 1/6 DropEventCnt 0 RxPktByteCnt 0 RxPktCnt 0 RxMPktCnt 0 RxBPktCnt 0 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 0 FrameOf65To127BytesCnt 0 FrameOf128To255BytesCnt 0 FrameOf256To511BytesCnt 0 FrameOf512To1023BytesCnt 0 FrameOf1024To1518BytesCnt 0 interface rmon gigabitEthernet 1/7 DropEventCnt 0 RxPktByteCnt 75773941 RxPktCnt 1024494 RxMPktCnt 752808 RxBPktCnt 258687 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 519383 FrameOf65To127BytesCnt 555242 FrameOf128To255BytesCnt 84785 FrameOf256To511BytesCnt 21148 FrameOf512To1023BytesCnt 22609 FrameOf1024To1518BytesCnt 353 interface rmon port-channel 1 DropEventCnt 0 RxPktByteCnt 0 RxPktCnt 0 RxMPktCnt 0 RxBPktCnt 0 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 0 FrameOf65To127BytesCnt 0 FrameOf128To255BytesCnt 0 FrameOf256To511BytesCnt 0 FrameOf512To1023BytesCnt 0 FrameOf1024To1518BytesCnt 0 interface rmon port-channel 2 DropEventCnt 0 RxPktByteCnt 0 RxPktCnt 0 RxMPktCnt 0 RxBPktCnt 0 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 0 FrameOf65To127BytesCnt 0 FrameOf128To255BytesCnt 0 FrameOf256To511BytesCnt 0 FrameOf512To1023BytesCnt 0 FrameOf1024To1518BytesCnt 0 interface rmon port-channel 3 DropEventCnt 0 RxPktByteCnt 0 RxPktCnt 0 RxMPktCnt 0 RxBPktCnt 0 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 0 FrameOf65To127BytesCnt 0 FrameOf128To255BytesCnt 0 FrameOf256To511BytesCnt 0 FrameOf512To1023BytesCnt 0 FrameOf1024To1518BytesCnt 0 interface rmon port-channel 4 DropEventCnt 0 RxPktByteCnt 0 RxPktCnt 0 RxMPktCnt 0 RxBPktCnt 0 CRCErrCnt 0 UnderSizePktCnt 0 OverSizePktCnt 0 FragmentCnt 0 JabberCnt 0 CollisionCnt 0 FrameOf64BytesCnt 0 FrameOf65To127BytesCnt 0 FrameOf128To255BytesCnt 0 FrameOf256To511BytesCnt 0 FrameOf512To1023BytesCnt 0 FrameOf1024To1518BytesCnt 0
show switch interface status
To display the status of all interfaces or a specific interface, use the show switch interface status command in privileged EXEC mode.
Syntax Description
gigabitEthernet |
Specifies Gigabit Ethernet as the interface type. |
port-channel |
Specifies port channel as the interface type. |
interface-id |
Specifies the interface ID. |
Command History
Usage Guidelines
For verification and the command output display, use the show switch interface status command. For debugging, use the switch show interface status command.
Examples
The following is a sample output of the show switch interface status command that displays the status of all interfaces:
nfvis# show switch interface status MEDIA PORT TYPE LINK SPEED TYPE MACADDR MTU -------------------------------------------------------------- 1/0 1G-Copper up 1000 RJ45 00:a6:ca:d6:31:35 9216 1/1 1G-Copper up 1000 RJ45 00:a6:ca:d6:31:36 9216 1/2 1G-Copper up 1000 RJ45 00:a6:ca:d6:31:37 9216 1/3 1G-Copper down 1000 RJ45 00:a6:ca:d6:31:38 9216 1/4 1G-Copper down 1000 RJ45 00:a6:ca:d6:31:39 9216 1/5 1G-Copper up 1000 RJ45 00:a6:ca:d6:31:3a 9216 1/6 1G-Copper down 1000 RJ45 00:a6:ca:d6:31:3b 9216 1/7 1G-Copper up 1000 RJ45 00:a6:ca:d6:31:3c 9216 PORT TYPE SPEED LINK ----------------------------------------- 1 Port-Channel 0 Not Presence 2 Port-Channel 0 Not Presence 3 Port-Channel 0 Not Presence 4 Port-Channel 0 Not Presence
show switch interface switchPort
To display the switchport information of all interfaces or a specific interface, use the show switch interface switchPort command in privileged EXEC mode.
Syntax Description
gigabitEthernet |
Specifies Gigabit Ethernet as the interface type. |
port-channel |
Specifies port channel as the interface type. |
interface-id |
Specifies the interface ID. |
Command History
Usage Guidelines
For verification and the command output display, use the show switch interface switchPort command. For debugging, use the switch show interface switchPort command.
Examples
The following is a sample output of the show switch interface switchPort command that displays switchport information of all interfaces:
nfvis# show switch interface switchPort interface switchPort gigabitEthernet 1/0 switchport-mode enable adminstrative-mode access operational-mode Up access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1-2349,2450-4093 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none interface switchPort gigabitEthernet 1/1 switchport-mode enable adminstrative-mode access operational-mode Up access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1-2349,2450-4093 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none interface switchPort gigabitEthernet 1/2 switchport-mode enable adminstrative-mode access operational-mode Up access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1-2349,2450-4093 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none interface switchPort gigabitEthernet 1/3 switchport-mode enable adminstrative-mode access operational-mode Down access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1-2349,2450-4093 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none interface switchPort gigabitEthernet 1/4 switchport-mode enable adminstrative-mode access operational-mode Down access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1-2349,2450-4093 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none interface switchPort gigabitEthernet 1/5 switchport-mode enable adminstrative-mode access operational-mode Up access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1-2349,2450-4093 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none interface switchPort gigabitEthernet 1/6 switchport-mode enable adminstrative-mode access operational-mode Down access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1-2349,2450-4093 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none interface switchPort gigabitEthernet 1/7 switchport-mode enable adminstrative-mode access operational-mode Up access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1-2349,2450-4093 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none interface switchPort port-channel 1 switchport-mode enable adminstrative-mode access operational-mode "Not Presence" access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none sinterface switchPort port-channel 2 switchport-mode enable adminstrative-mode access operational-mode "Not Presence" access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none interface switchPort port-channel 3 switchport-mode enable adminstrative-mode access operational-mode "Not Presence" access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none interface switchPort port-channel 4 switchport-mode enable adminstrative-mode access operational-mode "Not Presence" access-mode-vlan 1 trunk-native-mode-vlan 1 trunking-vlans 1 Privatevlan-promiscuous-association-primary-VLAN none Privatevlan-promiscuous-association-secondary-VLAN none Privatevlan-host-association-primary-VLAN none Privatevlan-host-association-secondary-VLAN none
show switch interface inline-status
To display the inline power status of all interfaces or a specific interface, use the show switch interface inline-status command in privileged EXEC mode.
Syntax Description
Command History
Usage Guidelines
For verification and the command output display, use the show switch interface inline-status command. For debugging, use the switch show interface inline-status command.
Examples
The following command output displays the inline power status of all interfaces:
nfvis# show switch interface inline-status PORT ADMIN OPER POWER CLASS DEVICE PRIORITY -------------------------------------------------------- 1/0 auto Searching 0.0 0 None low 1/1 auto Searching 0.0 0 None low 1/2 auto Searching 0.0 0 None low 1/3 auto Searching 0.0 0 None low 1/4 auto Searching 0.0 0 None low 1/5 auto On 6.5 4 None low 1/6 auto Searching 0.0 0 None low 1/7 auto Searching 0.0 0 None low