DXS-3600-32S CLI Reference Guide


Add to my manuals
596 Pages

advertisement

DXS-3600-32S CLI Reference Guide | Manualzz

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Virtual LAN (VLAN) Commands

61-1 vlan

This command is used to create VLANs and enter the VLAN configuration mode. Use the no vlan configuration command to remove VLANs.

vlan VLAN-ID [, | -]

no vlan VLAN-ID [, | -]

Parameters

VLAN-ID

,

-

Specifies the ID of the VLAN to be created, removed or configured. The valid VLAN

ID range is from 1 to 4094. The default VLAN with VLAN ID 1 can not be removed.

Specifies a series of VLANs, or separate a range of VLANs from a previous range.

No space is required before and after the comma.

(Optional) Specifies a range of VLANs. No space is required before and after the hyphen.

Default

VLAN ID 1 exists in the system as the default VLAN.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command can be used to create VLANs. Entering the vlan command with a

VLAN ID enters VLAN configuration mode. Entering the VLAN ID of an existing

VLAN does not create a new VLAN, but allows the user to modify VLAN parameters for the specified VLAN. When the user enters the VLAN ID of a new VLAN, the

VLAN will be automatically created. If the new VLAN is a port allowed VLAN, the port will join to the new VLAN automatically.

The user can use the no vlan command to remove VLANs. The default VLAN cannot be removed. The dynamic VLAN that is created through GVRP cannot be removed through this command. If the VLAN is used as ERPS R-APS VLAN,

RSPAN VLAN, voice VLAN, subnet VLAN or MAC-based VLAN, it cannot be removed too.

Removing VLAN doesn’t remove the association of the VLAN with its static member ports. Once the VLAN is re-created, these ports will join into it automatically.

The learned dynamic FDB entries in the removed VLAN will be cleared. The static

FDB entries in this VLAN will not be removed.

If the removed VLAN is a private VLAN, the configuration for the private VLAN will be cleared.

If the removed VLAN is a port’s access VLAN, the port’s access VLAN will be reset to VLAN 1.

If the VLAN is used as protocol VLAN or VLAN translation, removing it doesn’t affect the VLAN assignment.

If the VLAN is used as super VLAN or L3 interface, removing it will lead to these functions become unavailable until this VLAN is re-created.

516

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

In the following example, the user adds a new VLAN, assigning the new VLAN with the VLAN IDs 1000 to 1005.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1000-1005

DXS-3600-32S(config-vlan)#

Example

In the following example, the user removes the existing VLANs with the VLAN IDs.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no vlan 1000-1005

DXS-3600-32S(config)#

61-2 name

This command is used to specify the name of a VLAN. Use the no name command to reset the VLAN name to the default VLAN name.

name VLAN-NAME

no name

Parameters

VLAN-NAME

Specifies the VLAN name. This name is an ASCII string from 1 to 32 characters that must be unique within the administrative domain. The syntax is a general string that does not allow spaces.

Default

The default VLAN name is VLANxxxx, where xxxx represents four numeric digits

(including the leading zeros) that are equal to the VLAN ID.

VLAN Configuration Mode.

Command Mode

Command Default Level

Level: 12

Usage Guideline

The user can use the name VLAN-NAME VLAN configuration command to specify a

VLAN name. The VLAN name length must be between 1 and32 characters, and it must be unique within the administrative domain.

Example

In the following example, the user configures the VLAN name of VLAN 1000 to be

“admin-vlan”.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1000

DXS-3600-32S(config-vlan)#name admin-vlan

DXS-3600-32S(config-vlan)#

61-3 switchport mode

This command is used to specify the VLAN mode for the port. Use no switchport command to reset the VLAN mode to default setting.

switchport mode {access | hybrid | trunk | dot1q-tunnel} no switchport mode

Parameters access hybrid trunk

Specifies the port as an access port.

Specifies the port as a hybrid port.

Specifies the port as a trunk port.

517

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Specifies the port as a dot1q-tunnel port.

dot1q-tunnel

Default

Command Mode

Access mode.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The valid interfaces for this command are physical ports or link aggregation groups.

When the port changes the VLAN mode, the VLAN membership setting related to the previous mode will be lost. The PVID is set to default value too. If setting the port mode to access or dot1q tunnel, the GVRP status of the port will be disabled.

The user can specify the access VLAN for an access port. On an access port, only untagged packets are processed, they are transmitted and received on the access

VLAN. The user can specify multiple VLANs for a trunk port. Packets on a trunk port are received and transmitted on trunk VLANs in tagged form. The user can specify multiple VLANs for a hybrid port. Packets on a hybrid can be received and transmitted in tagged form or untagged form.

Creating a link aggregation doesn’t need the VLAN setting of its member ports are same as. The VLAN setting of the new link aggregation is default value. The VLAN setting of member ports become inactive. Once a member port is removed from the link aggregation group, its VLAN setting becomes active again.

Example

This example shows how to set an interface port 1 as a trunk port.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#

61-4 switchport access vlan

This command is used to specify the access VLAN for the interface. Use no switchport access vlan interface command to reset to default setting.

switchport access vlan VLAN-ID

no switchport access vlan

Parameters

VLAN-ID

Specifies the access VLAN for the interface.

Default

Command Mode

VLAN 1.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The command can only be configured on physical ports or link aggregation groups that are set to access mode or dot1q-tunnel mode.

This command sets the access VLAN for an access port. The port becomes an untagged member of access VLAN and the port’s PVID will also be changed to the access VLAN. If the specified access VLAN does not exist, it will be created automatically. Only one access VLAN can be specified. The succeeding command overwrites the previous command.

518

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

The switchport access vlan command can also be used to configure the tunnel

VLAN for a Dot1q-tunnel port. Removing the VLAN that is used as a port’s access

VLAN will lead to the port’s access VLAN to reset to the default VLAN.

Example

This example shows how to set an interface port 1 to access mode with access

VLAN 1000.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode access

DXS-3600-32S(config-if)#switchport access vlan 1000

DXS-3600-32S(config-if)#

61-5 switchport trunk allowed vlan

This command is used to configure the VLANs that will be allowed to receive and send traffic on the specified interface in a tagged format. Use the no switchport trunk allowed vlan command to reset the VLAN membership of the port.

switchport trunk allowed vlan {all | {add | remove } VLAN-ID [, | -]}

no switchport trunk allowed vlan

Parameters

, all add remove

VLAN-ID

-

Specifies to add all VLANs to the allowed VLAN list.

Specifies to add the specified VLAN list to the allowed VLAN list.

Specifies to remove the specified VLAN list from the allowed VLAN list.

Specifies the VLAN list that will be added or removed from.

(Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. No space is required before and after the comma.

(Optional) Specifies a range of VLANs. No space is required before and after the hyphen.

Default

By default a port that is set to trunk mode allows all VLANs.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The command can only be configured on physical ports or link aggregation groups that are set to trunk mode.

If a trunk port is allowed all VLANs, the traffic of all VLANs can be transmitted over it.

Entering the switchport trunk allowed vlan command to restrict the traffic of some

VLANs from passing the trunk port. A trunk port is a tagged member of a VLAN if the

VLAN is existed and it is in the allowed VLAN list of this port. If an allowed VLAN is created at later, the trunk port joins to it automatically.

Using no switchport trunk allowed-vlan command resets the allowed VLAN list of the trunk port to default.

Example

This example shows how to configure an interface port 1 allowed VLAN list to 1-

1000.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#switchport trunk allowed vlan add 1-1000

DXS-3600-32S(config-if)#

519

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

61-6 switchport hybrid allowed vlan

This command is used to specify if the port will be a tagged or untagged member of the specified VLAN for a hybrid port. Use the no switchport hybrid allowed vlan command to reset the membership.

switchport hybrid allowed vlan {add {tagged | untagged} | remove} VLAN-ID [, | -]

no switchport hybrid allowed vlan

Parameters

VLAN-ID add remove tagged

, untagged

-

Specifies the VLAN to add or remove the VLAN membership from.

Specifies the port will be added into the specified VLAN(s).

Specifies the port will be removed from the specified VLAN(s).

Specifies the port as a tagged member of the specified VLAN(s).

Specifies the port as an untagged member of the specified VLAN(s).

(Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. Enter a space before and after the comma.

(Optional) Specifies a range of VLANs. Enter a space before and after the hyphen.

Default

Command Mode

By default, no VLAN memberships are configured for a hybrid port.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The command can only be configured on physical ports or port-channels that are set to hybrid mode or dot1q-tunnel mode. The command can be used to setting the

VLAN membership of a hybrid port. If the port has already been the tagged member of a VLAN, adding the VLAN into the port untagged membership VLAN will lead to the port becomes its untagged member, and vice versa. You cannot add a port into its forbidden membership VLAN.

Use no switchport hybrid allowed vlan command all VLAN membership will be removed, and the port will reset to default VLAN as untagged member. The port remains in hybrid mode. The switchport hybrid allowed vlan command can also be used to specify the VLAN membership for a dot1q-tunnel port.

The configuration doesn’t need the specified VLAN exist. Once the VLAN is created, the interface will join to the VLAN automatically.

Example

In the following example, the user configures interface port 1 to be a tagged member of VLAN 1000, and an untagged member of VLAN 2000 & 3000.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode hybrid

DXS-3600-32S(config-if)#switchport hybrid allowed vlan add tagged 1000

DXS-3600-32S(config-if)#switchport hybrid allowed vlan add untagged 2000,3000

DXS-3600-32S(config-if)#

61-7 switchport native vlan

This command is used to specify the native VLAN (PVID) of a trunk or hybrid mode interface. Use the no switchport

native vlan command to reset to the native VLAN ID to the default setting.

switchport native vlan VLAN-ID

no switchport native vlan

520

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Parameters

VLAN-ID

Specifies the native VLAN ID for the trunk or hybrid interface.

Default

Command Mode

The default is VLAN 1.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command can only be configured on physical ports or link aggregation groups that set to trunk or hybrid mode. This command is used to set the native VLAN

(PVID) of a trunk or hybrid port.

An interface can be specified with only one native VLAN. The succeeding command overwrites the previous command.

The configuration doesn’t need the specified VLAN exist. For making the port join to its native VLAN, the user shall add the native VLAN into its allowed VLAN. If the port mode is trunk, the port will join to its native VLAN as untagged member. If the port mode is hybrid, user can set its native VLAN as tagged or untagged.

Example

In the following example, the user configures interface port 1 to become a trunk interface and configure its native VLAN to 20.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#switchport native vlan 20

DXS-3600-32S(config-if)#

61-8 acceptable-frame

This command is used to set acceptable frame type of a port. The default acceptable frame type is admit-all.

acceptable-frame {tagged-only | untagged-only | admit-all}

Parameters tagged-only untagged-only admit-all

Specifies that only tagged frames will be accepted by the interface.

Specifies that only untagged frames will be accepted by the interface.

Specifies that all frames will be accepted by the interface.

Default

Command Mode

The default acceptable frame setting is admit-all.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The valid interfaces for this command are physical port or link aggregation groups.

The acceptable-frame interface command can be used to set the acceptable frame type for an interface. If the acceptable frame type is set to tagged-only, only tagged incoming packets will be received by the interface and untagged packets will be dropped. If specifying untagged-only, only untagged packets will be received and tagged packets will be dropped. If specifying admit-all, the interface will receive all packets.

The access port only accepts untagged packets, no matter its acceptable-frame type.

521

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

In the following example, the user sets the acceptable frame type to be tagged-only on port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#acceptable-frame tagged-only

DXS-3600-32S(config-if)#

61-9 ingress-checking

This command is used to enable the ingress checking of the received frames on a port. Use the no ingress-checking interface command to disable the ingress checking function.

ingress-checking no ingress-checking

Parameters

Default

None.

By default, ingress checking is enabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The valid interfaces for this command are physical ports or link aggregation groups.

You can use the ingress-checking interface command to enable ingress checking on interfaces. If ingress checking is enabled, if the port is not member port of the

VLAN that has been classified for the received packet, the packet will be dropped.

The user can use the no ingress-checking interface command to disable this function on a port.

Example

This example shows how to set ingress checking to enable of port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#ingress-checking

DXS-3600-32S(config-if)#

61-10 mac-base (vlan)

This command is used to create a MAC-based VLAN classification entry. Use the no mac-base command to remove a

MAC-based VLAN classification entry.

mac-base MAC-ADDRESS [priority COS-VALUE]

no mac-base MAC-ADDRESS

Parameters

MAC-ADDRESS

priority COS-VALUE

Specifies the MAC address for the entry.

Specifies the priority for the entry. The value is a number from 0 to 7, if the priority is not specified, the default value is 0.

Default

No MAC-based VLAN ID classification entries exist.

Command Mode

VLAN Configuration Mode.

Command Default Level

Level: 12

522

Usage Guideline

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

The user can use the mac-base command in VLAN configuration mode to create the

MAC entry that will be classified to the MAC based VLAN. If MAC based VLAN entries are configured, the packet received by the switch regardless of the incoming port that have a source MAC address matching an the entry will be classified to the corresponding MAC-based VLAN. The maximum number of MAC-based VLAN assignment entry is project dependent.

The precedence to classify the VLAN for an untagged packet is

MAC-based > Subnet-based > Protocol VLAN > Port-based VLAN

The user should use the switchport hybrid allowed vlan command to set the

VLAN membership for the MAC-based VLAN.

Example

This example shows how to create a MAC-based VLAN entry for the MAC address

00-80-cc-00-00-11.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 101

DXS-3600-32S(config-vlan)#mac-base 00-80-cc-00-00-11 priority 4

DXS-3600-32S(config-vlan)#

61-11 subnet-base (vlan)

This command is used to specify subnet-based VLAN ID assignment entry for un-tagged incoming packets. Use the no

subnet-base command to remove a subnet-based VLAN ID assignment entry.

subnet-base {NETWORK-PREFIX /PREFIX-LENGTH | IPV6-NETWORK-PREFIX /PREFIX-LENGTH} [priority

COS-VALUE]

no subnet-base {NETWORK-PREFIX /PREFIX-LENGTH | IPV6-NETWORK-PREFIX /PREFIX-LENGTH}

Parameters

NETWORK-PREFIX /

PREFIX-LENGTH

IPV6-NETWORK-PREFIX /

PREFIX-LENGTH

priority COS-VALUE

Specifies the network prefix and the prefix length in the form of A.B.C.D/x

Specities the IPv6 network prefix and the prefix length in the form of x:x:x:x:x:x:x:x/n.

The prefix length of IPv6 network address shall not greater than 64 bits.

Specifies the priority for the entry. The value is a number from 0 to 7, if the priority is not specified, the default value is 0.

Default

Command Mode

No subnet-based VLAN.

VLAN Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

A subnet VLAN entry is an IP subnet-based VLAN classification rule. If an untagged or priority-tagged IP packet is received on a port, its source IPv4 address or the upper 64 bits of source IPv6 address will be used to match the subnet VLAN entries.

If the source IP matches the subnet of an entry, the packet will be classified to the

VLAN of this entry. If the packet is untagged, the priority will be picked up from it too.

For priority-tagged packet, its priority will not change. The number of subnet-based

VLAN entries is project dependent.

The precedence to classify an untagged packet is

MAC-based > Subnet-based > Protocol VLAN > Port-based VLAN

The user should use the switchport hybrid allowed vlan command to set the

VLAN membership for the subnet-based VLAN user.

523

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

In the following example, the user creates a subnet-based VLAN entry for VLAN

100, specifying the subnets 20.0.1.0/8, 192.0.1.0/8 and 3ffe:22:33:44::55/64.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 100

DXS-3600-32S(config-vlan)#subnet-base 20.0.1.0/8

DXS-3600-32S(config-vlan)#subnet-base 192.0.1.0/8 priority 4

DXS-3600-32S(config-vlan)#subnet-base 3ffe:22:33:44::55/64

DXS-3600-32S(config-vlan)#

61-12 show vlan

This command is used to display the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) on the switch.

show vlan [VLAN-ID [, | -] | interface [INTERFACE-ID [, | -]] | subnet-base | mac-base]

Parameters

VLAN-ID

interface

,

INTERFACE-ID

subnet-base mac-base

(Optional) Displays information about a signal VLAN identified by VLAN ID number.

The VLAN ID range is 1 to 4094. Separate nonconsecutive VLAN-ID with a comma; use a hyphen to designate a range of VLAN-ID.

(Optional) Displays the port PVID, ingress checking, acceptable frame type information.

Specifies the port to display.

(Optional) Specifies a series of ports, or separate a range of ports from a previous range. No space before and after the comma.

(Optional) Specifies a range of ports. No space before and after the hyphen.

(Optional) Displays the subnet-based VLAN related configuration.

(Optional) Displays the mac-based VLAN related configuration.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

The user can use the show vlan command to display the current VLAN status. The user can display the VLAN list using the show vlan command. The user can display a specific VLAN entry by specifying a VLAN-ID. The user can use the show vlan

interface command to show port related VLAN information, such as port PVID, ingress checking, and acceptable frame type information.

If no optional keywords are specified, all of the VLAN configurations will be displayed.

524

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

DXS-3600-32S#show vlan

This example displays all the current VLAN entries.

VLAN 1

Name : default

Tagged Member Ports : 1

Untagged Member Ports : 2-24

VLAN 100

Name : VLAN0100

Tagged Member Ports : 1

Untagged Member Ports :

VLAN 101

Name : VLAN0101

Tagged Member Ports : 1

Untagged Member Ports :

VLAN 1000

Name : admin-vlan

Tagged Member Ports : 1

Untagged Member Ports :

Total Entries : 4

DXS-3600-32S#

Example

This example displays the PVID, ingress checking, and acceptable frame type information for ports 1- 4.

DXS-3600-32S#show vlan interface tenGigabitEthernet 1-4

TGi1

VLAN mode : Trunk

Trunk allowed VLAN : 1-4094

Dynamic Tagged VLAN :

Native VLAN : 20

GVRP State : Disabled

Forbidden VLAN :

Ingress checking : Enabled

Acceptable frame type : Tagged-Only

TGi2

VLAN mode : Access

Access VLAN : 1

Ingress checking : Enabled

Acceptable frame type : Untagged-Only

TGi3

VLAN mode : Access

Access VLAN : 1

Ingress checking : Enabled

Acceptable frame type : Untagged-Only

TGi4

VLAN mode : Access

Access VLAN : 1

Ingress checking : Enabled

Acceptable frame type : Untagged-Only

DXS-3600-32S#

525

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

This example displays the MAC-based VLAN table: The MAC-based VLAN can be set by manual configuration or by MAC-based authorization. If the authorization assigns the MAC address that is set by manual configuration to different VLAN, the manual configuration MAC-based VLAN entry becomes inactive.

DXS-3600-32S#show vlan mac-base

MAC Address VLAN ID Priority Status

------------------ -------- -------- ----------

00-80-CC-00-00-11 101 4 Active

Total Entries: 1

DXS-3600-32S#

Example

This example displays the subnet-based VLAN table.

DXS-3600-32S#show vlan subnet-base

Subnet VLAN ID Priority

------------------------ ------- ---------

20.0.0.0/8 100 0

192.0.0.0/8 100 4

3FFE:22:33:44::/64 100 0

Total Entries: 3

DXS-3600-32S#

61-13 protocol-vlan profile

This command is used to create a protocol group. Use the no protocol-vlan profile command to remove the specified protocol group.

protocol-vlan profile PROFILE-ID frame-type {ethernet2 | snap | llc} ether-type TYPE-VALUE

no protocol-vlan profile PROFILE-ID

Parameters

PROFILE-ID

frame-type ethernet2 snap

Specifies the profile ID to add or delete.

Specifies the frame type that will be bound to the entry.

Specifies the operational protocol value of Ethernet II type frames.

Specifies the operational protocol value of SNAP type frames.

llc

Specifies the operational protocol value of LLC type frames.

ether-type TYPE-VALUE Specifies the protocol value of the specific frame type. The value is in hexadecimal form. The range is 0x0 to 0xFFFF.

Default

By default, the protocol VLAN table is empty.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The protocol-vlan profile configuration command can be used to create a protocol group.

The no protocol-vlan profile command can be used to delete an existing protocol

VLAN group.

526

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

This example shows how to create a protocol VLAN group with a group ID of 10, specifying that the IPv6 protocol (frame type is ethernet2 value is 0x86dd) will be used.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#protocol-vlan profile 10 frame-type ethernet2 ether-type 0x86dd

DXS-3600-32S(config)#

61-14 protocol-vlan profile (interface)

This command is used to bind the protocol VLAN classification rule to a port. The no protocol-vlan profile command is used to remove the binding of a protocol VLAN classification from the port.

protocol-vlan profile PROFILE-ID vlan VLAN-ID [priority COS-VALUE]

no protocol-vlan profile [PROFILE-ID]

Parameters

PROFILE-ID

vlan VLAN-ID

priority COS-VALUE

Specifies the profile ID to be classified. The range is 1 to 32.

Specifies the VLAN ID of the protocol VLAN. Only one VLAN ID can be specified for each binding group on a port.

Specifies the priority of the protocol VLAN to a port. The value is a number from 0 to

7, if the priority is not specified, the default value is 0.

Default

No protocol classification rules are created.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The valid interfaces for this command are either physical ports or link aggregation groups. The command can only be configured on hybrid port or dot1q-tunnel port.

The user can use the protocol-vlan profile interface command to bind a protocol

VLAN group with a VLAN id. As a result, the packet received by the port that matches the specified protocol group will be classified to the binding VLAN. The number of supported protocol classification entries is depending on hardware. The

VLAN does not need to exist to successfully execute the command. If the user does not specify the profile ID with the no protocol-vlan profile command, the switch will remove all the protocol group and VLAN bindings on the specified interface.

The precedence for classifying the untagged packet is

MAC-based > Subnet-based > Protocol VLAN > Port-based VLAN

The user should use the switchport hybrid allowed vlan command to set the

VLAN member port for the protocol-based VLAN user.

Example

This example shows how to bind the protocol VLAN group 10 with VLAN ID 3000 on port 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 2

DXS-3600-32S(config-if)#switchport mode hybrid

DXS-3600-32S(config-if)#switchport hybrid allowed vlan add untagged 3000

DXS-3600-32S(config-if)#protocol-vlan profile 10 vlan 3000

DXS-3600-32S(config-if)#

527

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

61-15 show protocol-vlan

This command is used to display the configuration settings of a protocol VLAN. The show protocol-vlan profile command displays the protocol VLAN list and its protocols. The show protocol-vlan interface command displays the protocol group binding VLAN of the ports.

show protocol-vlan {profile [PROFILE-ID] | interface [INTERFACE-ID [, | -]]}

Parameters profile

PROFILE-ID

, interface

INTERFACE-ID

-

Specifies the display protocol group.

(Optional) Specifies the profile ID of the protocol group. If not specified, display all protocol groups.

Specifies the display protocol VLAN that is associated to interfaces

Specifies the interface to display.

(Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space is required before or after the comma.

(Optional) Specifies a range of interfaces. No space is required before or after the hyphen.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

The user can use the show protocol-vlan command to display the current protocol

VLAN status. The user can display the protocol VLAN group list table by using the

show protocol-vlan profile command. The user can display the protocol VLAN binding of the ports by using the show protocol-vlan interface command.

Example

This example shows how to display the protocol VLAN binding of ports 1-3.

DXS-3600-32S#show protocol-vlan interface tenGigabitEthernet 1-3

Interface Profile ID/Binding-VLAN/Priority

--------- ------------------------------------------

TGi2 10/3000/ -

DXS-3600-32S#

Example

This example shows how to display the protocol group settings.

DXS-3600-32S#show protocol-vlan profile

Profile ID Frame-type Ether-type

---------- ----------- ----------------

10 Ethernet2 0x86DD(IPv6)

DXS-3600-32S#

528

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents