switchport allowed ethertype
Use this command to indicate which types of traffic will be allowed on the switchport.
Note: A maximum of 5 Ethertype values can be assigned on an interface.
Command Syntax
switchport allowed ethertype {arp|ipv4|ipv6|mpls|ETHTYPE|log}
Parameters
arp
ARP traffic
ipv4
IPv4 traffic
ipv6
IPv6 traffic
mpls
MPLS traffic
ETHTYPE
Traffic of any Ethertype value (0x600 - 0xFFFF).
log
Log unwanted ethertype packets.
Default
No default value is specified
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
This command is not available on Qumran platforms.
Example
(config)#interface xe32/1
(config-if)#switchport
(config-if)#switchport allowed ethertype ipv4
(config-if)#switchport allowed ethertype 0x800
Last modified date: 10/19/2023