The l2-protocol encapsulation dot1q vlan command enables Layer 2 The no l2-protocol encapsulation dot1q vlan and default l2-protocol encapsulation dot1q vlan commands disable the specified encapsulation on the configuration mode interface by removing the corresponding l2-protocol encapsulation dot1q vlan command from running-config.
These commands enable The command provides three options to configure a VLAN policy:. The show vlan command displays information about the VLAN policy that is being configured. The name command configures the VLAN name. The name can have up to 32 characters. The default name for VLAN 1 is default. The show vlan command displays the VLAN name. The name command accepts all characters except the space.
The no name and default name commands restore the default name by removing the name command from running-config. Maximum length is 32 characters. The space character is not permitted in the name string. The show pvlan mapping interfaces command displays the list of mapped VLANs.
The no pvlan mapping and default pvlan mapping commands restore the default state of the private VLAN mapping. The show dot1q-tunnel command displays the ports that are configured in dot1q-tunnel switching mode. The switchport mode command configures the switching mode for the configuration mode interface. Valid range formats include number, number range, or comma-delimited list of numbers and ranges.
The show interfaces switchport backup-link command displays interfaces that are configured as switchport backup pairs and the operational status of each interface. For each pair, the command displays the names, roles, status, and VLAN traffic of each interface.
The show interfaces switchport vlan mapping command displays mapping information of the configured VLANs in an interface mode. The show interfaces switchport command displays the switching configuration and operational status of the specified ports. The show interfaces trunk command displays configuration and status information for interfaces configured in switchport trunk mode.
Options include:. This command displays the trunk status for all interfaces configured in switchport trunk mode. The show interfaces vlans command displays a table that lists the VLANs that are carried by the specified interfaces. Interfaces that do not carry VLANs are not listed in the table. The table lists the untagged native or access and tagged VLANs for each interface.
Values include. The show pvlan mapping interfaces command displays information about the private VLAN mapping interfaces. The show vlan brief count command displays the number of VLANs that are configured on the switch. The show vlan dynamic command displays the source and quantity of dynamic VLANs on the switch.
The show vlan internal allocation policy command displays the method the switch uses to allocate VLANs to routed ports.
The vlan internal order command configures the allocation method. A routed port is an Ethernet or port channel interface that is configured as a layer 3 interface.
Routed ports do not bridge frames and are not members of any VLANs. Routed ports can have IP addresses assigned to them and packets are routed directly to and from the port.
The show vlan trunk group command displays the trunk group membership of the specified VLANs. The command only displays active ports by default; by specifying configured-ports , the command displays all ports that are members of a configured VLAN regardless of their activity status, including Ethernet ports that are members of a port channel.
The no state command restores the default VLAN transmission state to the configuration mode VLAN by removing the corresponding state command from running-config. The switchport access vlan command specifies the access VLAN of the configuration mode interface. Ethernet or port channel interfaces that are in access mode are members of only the access VLAN.
Untagged frames that the interface receives are associated with the access VLAN. The interface drops all other tagged frames that it receives. An interface's access mode is effective only when the interface is in access mode or dot1q-tunnel mode, as specified by the switchport mode command.
Interfaces in dot1q-tunnel mode handle inbound traffic as untagged traffic and associate all traffic with the access VLAN. Interfaces configured to switchport trunk mode maintain and ignore existing switchport access commands. The no switchport access vlan and default switchport access vlan commands restore VLAN 1 as the access VLAN of the configuration mode interface by removing the corresponding switchport access vlan statement from running-config.
The switchport dot1q ethertype command configures the tag protocol identifier TPID, also known as a dot1q ethertype , of the configuration mode interface.
By default, all switch ports use the standard TPID of 0x The no switchport dot1q ethertype and default switchport dot1q ethertype commands restore the TPID to 0x by removing the corresponding switchport dot1q ethertype statement from running-config. The switchport mode command specifies the switching mode of the configuration mode interface.
The switch supports five switching modes: access, trunk, dot1q-tunnel, tap, and tool. Tap ports are in STP forwarding state and prohibit egress traffic. MAC learning, control plane interaction and traps for inbound traffic are disabled. Tool ports are in STP forwarding state and prohibit ingress traffic that uses port settings.
The no switchport mode and default switchport mode commands return the configuration mode interface to its default setting as an access port by deleting the corresponding switchport mode command from running-config. Dot1q-tunnel switching mode is not available on Petra platform switches. Tap aggregation tap and tool modes is available on FM and Arad platform switches. These commands configure interface Ethernet 4 as a trunk port. The switchport trunk allowed vlan command creates or modifies the list of VLANs for which the configuration mode interface, in trunk mode, handles tagged traffic.
By default, interfaces handle tagged traffic for all VLANs. Command settings persist in running-config without taking effect when the switch is in tap aggregation mode or the interface is not in trunk mode. The no switchport trunk allowed vlan and default switchport trunk allowed vlan commands restore the trunk mode default allowed VLAN setting of all by removing the corresponding switchport trunk allowed vlan statement from running-config.
The switchport trunk group command assigns the configuration mode interface to the specified trunk group. Trunk group ports handle traffic of the VLANs assigned to the group. The no switchport trunk group and default switchport trunk group commands remove the configuration mode interface from the specified trunk group by deleting the corresponding statement from running-config. If the command does not specify a trunk group, the interface is removed from all trunk groups to which it is assigned.
The switchport trunk native vlan command specifies the trunk mode native VLAN for the configuration mode interface. Interfaces in trunk mode associate untagged frames with the native VLAN. Trunk mode interfaces can also be configured to drop untagged frames.
The no switchport trunk native vlan and default switchport trunk native vlan commands restore VLAN 1 as the trunk mode native VLAN to the configuration mode interface by removing the corresponding switchport trunk native vlan command from running-config. The scaling configuration is applicable on a per-port basis. This command forwards and accepts all the packets of VLAN of interface ethernet 2.
This is carried out on packets having a dot1q header tagged frames only. By default, the translation is bidirectional. VLAN translation on routed ports is accomplished through the encapsulation dot1q vlan command.
The no switchport vlan translation and default switchport vlan translation commands remove VLAN mapping by removing the switchport vlan translation command from running-config. The trunk group command assigns the configuration mode VLAN to a specified trunk group. Switchport commands specify the physical interfaces that carry trunk group traffic.
The no trunk group and default trunk group commands remove the configuration mode VLAN from the specified trunk group by removing the corresponding trunk group statement from running-config. If a trunk group is not specified, the commands remove the configuration mode VLAN from all trunk groups. EOS 4. In the suspended state, VLAN traffic is blocked on all switch ports. The default state is active. Note: Be cautious when using allowed VLAN lists or trunk groups to ensure that the VLAN topology is consistent with any Layer-2 control protocol topology, or unpredictable results can occur.
Customer switch ports connect to an s-VLAN through provider switch edge ports, which are configured as dot1q ports and operate as follows: Inbound traffic from customer switches : adds an s-VLAN tag, then forwards packets to the provider network.
Outbound traffic to customer switches : removes the s-VLAN tag, then forwards packets to the customer network. Well known and standard tags include: 0x customer VLAN 0x88a8 service VLAN tag used in provider bridging 0x service VLAN tag used in provider bridging common, but not standardized Other non-standard TPID values may also be configured for interoperability with legacy equipment or non-standard systems.
Hosts within an isolated VLAN can not communicate with each other useing bridging. Disable algomatch with the hardware access-list mechanism tcam command.
Note that this requires a reload of the system to take effect. Configuring Displaying information about w. Spanning tree reconvergence time. Enabling SSTP defaults. Enabling SSTP. Displaying SSTP information. STP load balancing. Configuration example for STP load sharing. Spanning Tree Path Cost Support for Displaying Spanning Tree PVRST compatibility.
BPDU guard. Enabling BPDU protection by port. Re-enabling ports disabled by BPDU guard. Displaying the BPDU guard status. BPDU guard status example configurations. BPDU guard status example console messages. Root guard.
Enabling STP root guard. Displaying the STP root guard. Displaying the root guard by VLAN. Designated Protection. Enabling Designated Protection on a port. Syslog message for a port in designated inconsistent state. Packet InError Detection. Configuring Packet InError Detection. Syslog message for error-disabled port due to inError packets.
Error disable recovery. Enabling an error-disabled port automatically. Enabling an error-disabled port manually. Setting the recovery interval. Displaying the error disable recovery state by interface.
Displaying the recovery state for all conditions. Displaying the recovery state by port number and cause. Errdisable Syslog messages. Multiple spanning-tree regions. Configuration notes.
Configuring MSTP mode and scope. Reduced occurrences of MSTP reconvergence. Example application of MSTP reconvergence. Viewing the MSTP configuration digest. Configuring additional MSTP parameters. Setting the MSTP name. Setting the MSTP revision number.
Configuring an MSTP instance. Configuring bridge priority for an MSTP instance. Setting the MSTP global parameters. Setting ports to be operational edge ports. Setting automatic operational edge ports.
Setting point-to-point link. Disabling MSTP on a port. Changing MSTP port parameters. Enabling MSTP on a device. Displaying MSTP statistics. Displaying MSTP information for a specified instance. MSTP root guard.
Displaying xSTP statistics. VLAN overview. Modifying a port-based VLAN. Removing a port-based VLAN. Moving untagged port membership from one non-default VLAN to another.
Removing VLANs from physical ports. Removing VLANs from a physical port. Add and remove all tagged VLANs. Default VLAN. Support for Virtual routing interfaces. VLAN and virtual routing interface groups. Super aggregated VLANs. Trunk group ports and VLAN membership. Summary of VLAN configuration rules.
Multiple VLAN membership rules. Routing between VLANs. Virtual routing interfaces Layer 2 Switches only. Dynamic port assignment Layer 2 Switches and Layer 3 Switches. Assigning trunk group ports. Enable spanning tree on a VLAN. VLAN groups and virtual routing interface group. Displaying information about VLAN groups. Configuring a Virtual Routing Interface Group. Configuration notes and feature limitations for virtual routing interface group.
Displaying the VLAN group and virtual routing interface group information. Allocating memory for more VLANs, more associated ports, or more virtual routing interfaces. Topology groups. Control ports and free ports. Topology group configuration considerations. Configuring a Topology Group. Displaying topology group information. The vlan-range-list argument specifies a space-separated list of up to 10 VLAN items.
The value for the vlan-id2 argument must be greater than the value for the vlan-id1 argument. Different VLAN ranges cannot overlap. The vlan-id-list argument specifies a space-separated list of up to 10 VLAN IDs, each of which is in the range of 1 to
0コメント