beautypg.com

18 switchport discard packet, 18 switchport discard packet -155 – PLANET WGSW-52040 User Manual

Page 156

background image

4-155

Example:

Test the link status of the twisted pair connected to the 1000M port 1/25.

Switch#virtual-cable-test interface ethernet 1/25

Interface Ethernet1/25:

--------------------------------------------------------------------------

Cable pairs Cable status Error length (meters)

--------------- ----------------- --------------------------

(1, 2) open 5

(3, 6) open 5

(4, 5) open 5

(7, 8) short 5

4.1.18 switchport discard packet

Command

switchport discard packet { all | untag }

no switchport discard packet { all | untag }

Function

Configure the port not to receive any packet or untag; the no command cancel the restriction of discard, it means the

port is allowed to receive any packet or untag.

Parameters

all means it does not receive any packet including untag, tag and the deal packet. untag means it does not receive

untag.

Command Mode

Port Mode

Default

The default does not have the restriction.

Usage Guide

This command is not suggested to be configured only if there is the special requirement.

Example

Configure the port of 1/8 not to receive all packets.