D-Link DGS-3130 Emulator - Page 901
show dot1q ethertype
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 901 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Example This example shows how to configure a VLAN mapping profile and apply it to the 802.1Q tunnel port 1. The customer packets that come from 100.1.1.0/24 will be added to S-VLAN 100 and the packets that go to 200.1.1.0/24 will be added to S-VLAN 200. Switch# configure terminal Switch(config)# vlan mapping profile 1 type ip Switch(config-vlan-map)# rule 10 match src-ip 100.1.1.0/24 dot1q-tunnel outer-vid 100 Switch(config-vlan-map)# rule 20 match dst-ip 200.1.1.0/24 dot1q-tunnel outer-vid 200 Switch(config-vlan-map)# exit Switch(config)# interface ethernet 1/0/1 Switch(config-if)# switchport vlan mapping profile 1 Switch(config-if)# 90-11 show dot1q ethertype This command is used to display TPID settings. show dot1q ethertype [INTERFACE-ID [- | ,]] Parameters INTERFACE-ID , - (Optional) Specifies the interfaces to be displayed. (Optional) Specifies a series of interfaces or separates a range of interfaces from a previous range. No space is allowed before or after the comma. (Optional) Specifies a range of interfaces. No space is allowed before or after the hyphen. Default None. Command Mode User/Privileged EXEC Mode. Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the service VLAN tag Ethernet type. Example This example shows how to display the 802.1Q TPID setting for all interfaces. 897