OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Bridge Commands : switchport allowed ethertype
switchport allowed ethertype
Use this command to allow a set of ethertype on the access port and deny remaining traffic.
Use the no command to remove ethertype configuration.
Command Syntax
switchport allowed ethertype {arp|ipv4|ipv6|mpls|WORD|log}
no switchport allowed ethertype ({arp|ipv4|ipv6|mpls|WORD|log}|)
Parameters
arp
Ethertype 0x0806.
ipv4
Ethertype 0x0800.
ipv6
Ethertype 0x086dd.
mpls
Ethertype 0x8847.
WORD
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.
Examples
#configure terminal
(config)#interface xe1
(config-if)#switchport allowed ethertype arp ipv4 ipv6 log
 
(config-if)#no switchport allowed ethertype ipv4
 
Last modified date: 10/12/2023