Chapter 7: Command-Line Management

switchport hybrid allowed vlan remove VLANID no switchport hybrid vlan

all Allow all VLANs to transmit and receive through the Layer-2 interface. none Allow no VLANs to transmit and receive through the Layer-2 interface. add Add a VLAN to the member set.

remove Remove a VLAN from the member set.

VLANID <2-4094> The ID of the VLAN or VLANs that will be added to, or removed from, the Layer-2 interface. For a VLAN range, specify two VLAN numbers: lowest, then highest number in the range, separated by a hyphen. For a VLAN list, specify the VLAN numbers separated by commas.

egress-tagged

enable Enable the egress tagging for the outgoing frames. disable Disable the egress tagging for the outgoing frames.

4. Example:

The following example specifies to add the interface fe1 (port 1) to VLANID (2) and enable the egress-tagged for the outgoing frames on interface fe1 (port 1):

switch_a(config)#interface fe1

switch_a(config-if)#switchport hybrid allowed vlan add 2 egress-tagged enable switch_a(config-if)#

Switchport trunk allowed vlan:

1. Command Mode: Interface mode

Logon to Configure Mode (Configure Terminal Mode).

Then logon to Interface mode.

fe1 means port 1.

The switch_a(config-if)# prompt will show on the screen. switch_a(config)#interface fe1

switch_a(config-if)#

2. Usage:

Use this command to set the switching characteristics of the Layer-2 interface to trunk. The all parameter indicates that any VLAN ID is part of its port’s member set. The none parameter indicates that no VLAN ID is configured on this port. The add and remove parameters will add and remove VLAN IDs to/from the port’s member set.

Use the no parameter to remove all VLAN IDs configured on this port.

3.Command Syntax: switchport trunk allowed vlan all switchport trunk allowed vlan none switchport trunk allowed vlan add VLANID switchport trunk allowed vlan remove VLANID

724-746-5500 blackbox.com

Page 157

Page 157
Image 157
Black Box LEH1104A-4MMSC, LEH906A-2SFP, LEH908A, LEH906A-2MMST, LEH906A-2GSFP, LEH906A-2MMSC, LEH1008A Command-Line Management

LEH1104A-2SFP, LEH1008A-2SFP, LEH1008A-2MMSC, LEH906A-2GSFP, LEH906A-2MMST specifications

Black Box has established itself as a leader in providing robust networking solutions, and its range of hardened managed Ethernet switches, including the LEH1104A-4MMST, LEH1008A-2MMST, LEH906A-2SFP, and LEH906A-2MMSC, exemplifies this commitment. These switches are specifically designed to withstand the harsh environments often found in industrial and outdoor settings, making them ideal for applications such as transportation, utility management, and manufacturing.

The LEH1104A-4MMST model features four 10/100/1000 Mbps Ethernet ports, providing a flexible solution for networks requiring fast and reliable connectivity. It supports Power over Ethernet (PoE), enabling both data and power to be transmitted via a single cable, thereby simplifying installations and reducing wiring costs. This model also includes advanced features such as VLAN support, IGMP Snooping, and Quality of Service (QoS), ensuring optimized traffic management and network efficiency.

Similarly, the LEH1008A-2MMST switch offers eight ports and is built to handle a higher volume of connections without sacrificing performance. It boasts Layer 2 and Layer 3 management capabilities, allowing for complex network configurations and enhanced security measures such as port security and access control lists. The robust design and metal enclosure protect it from dust, moisture, and extreme temperatures.

The LEH906A-2SFP and LEH906A-2MMSC switches focus on modularity and connectivity flexibility, with SFP (Small Form-factor Pluggable) ports that enable users to choose the appropriate transceivers for their specific distances and media types, whether they require fiber or copper connections. Both models support dual-power inputs for redundancy and reliability, critical features for mission-critical applications.

All these switches are crafted to comply with industrial standards, ensuring reliable performance in diverse applications. Features such as redundant power supplies, fast recovery times, and support for protocols like SNMP (Simple Network Management Protocol) make network monitoring and management efficient and hassle-free.

In summary, Black Box’s hardened managed Ethernet switches, including the LEH1104A-4MMST, LEH1008A-2MMST, LEH906A-2SFP, and LEH906A-2MMSC, provide a perfect blend of durability, scalability, and management capabilities. These switches are engineered to meet the rigorous demands of industrial networking while ensuring seamless connectivity for diverse applications, making them an excellent investment for organizations looking to enhance their network infrastructure.