C H A P T E R 12

VLAN

VLANs can be viewed as a group of devices on different physical LAN segments which can communicate with each other as if they were all on the same physical LAN segment. That is, a network of computers that behave as if they are connected to the same wire even though they may actually be physically located on different segments of a LAN. VLANs are configured through software rather than hardware, which makes them extremely flexible.

VLAN provides the following benefits for switched LANs:

- Improved administration efficiency

- Optimized broadcast and multicast activity

- Enhanced network security

- The list of CLI commands for the configuration of VLAN are common to both single instance and multiple instance except for a difference in the prompt that appears for the switch with multiple instance support.

Multiple Instance is not supported in this release.

- The prompt for the Global Configuration mode is:

    SEFOS(config)# vlan 10

- The prompt for the VLAN Configuration mode is:

    SEFOS(config-vlan)# ports extreme-ethernet 0/1 untagged extreme-ethernet 0/1 forbidden extreme-ethernet 0/2 name vl1

- The parameters specific to multiple instance are stated so, against the respective parameter descriptions in this document.

- The output of the `show` commands differ for single instance and multiple instance. Thus, both the output are documented while depicting the `show` command examples.

##

12.1 Commands

The list of CLI commands for the configuration of VLAN is as follows:

- vlan

- interface range

- set gvrp

- set port gvrp

- set port gvrp enable | disable

- set gmrp

- set port gmrp

- set vlan traffic-classes

- mac-address-table static unicast

- mac-address-table static multicast

- mac address-table static mcast

- mac-address-table aging-time

- bridge-mode

- l2protocol-tunnel cos

- clear l2protocol-tunnel counters

- clear vlan statistics

- ports

- vlan active

- switchport pvid

- switchport access vlan

- switchport acceptable-frame-type

- switchport ingress-filter

- switchport priority default

- switchport mode

- switchport mode dot1q-tunnel

- set garp timer

- vlan restricted

- group restricted

- vlan map-priority

- shutdown garp

- debug vlan

- debug garp

- show vlan

- show vlan device info

- show vlan device capabilities

- show vlan traffic-classes

- show garp timer

- show vlan port config

- show vlan statistics

- show mac-address-table

- show dot1d mac-address-table

- show dot1d mac-address-table static unicast

- show dot1d mac-address-table static multicast

- show mac-address-table count

- show mac-address-table static unicast

- show mac-address-table static multicast

- show mac-address-table dynamic unicast

- show mac-address-table dynamic multicast

- show mac-address-table aging-time

### 12.1.1 `vlan`

Configures a VLAN in the switch and is also used to enter into the Configuration VLAN mode. The `no` form of the command deletes a VLAN from the switch.

    vlan 1-4094

    no vlan 1-4094

Mode | Global Configuration
Defaults | 1
Example | SEFOS(config)# vlan 4
Notes | Leading zeros must not be entered for VLAN ID. The default VLAN 1, can not be configured and by default, all ports are members of this VLAN . In order to remove ports from this VLAN, the port has to be configured as an access (untagged) port of some other VLAN. For example, to remove port 7 from the default VLAN, the following config could be done. `SEFOS(config)#` interface ext 0/7 `SEFOS(config-if)#` switchport access vlan 56 `% Access VLAN does not exist.,Creating vlan` `SEFOS(config-if)#` end `SEFOS#`

#### Related Commands

show vlan - Displays VLAN information in the database

### 12.1.2 `interface range`

Selects the range of physical interfaces and VLAN interfaces to be configured and the `no` form of the command selects the range of VLAN interfaces to be removed.

    interface range ({interface-type slot/port-port} {vlan 1-4094 - 2-4094})

    no interface range vlan 1-4094 - 2-4094

Syntax Description | interface-type - Interface type. slot/port-port - Member ports identifier. vlan - VLAN identifiers.
Mode | Global Configuration
Example | SEFOS(config)# interface range extreme-ethernet 0/1-23 vlan 1 - 2 SEFOS(config-if-range)# SEFOS(config)# interface range vlan 1 extreme-ethernet 0/1 SEFOS(config-if-range)# SEFOS(config)# interface range vlan 1 - 4 extreme-ethernet 0/1-3 SEFOS(config-if-range)# SEFOS(config)# interface range vlan 1 - 4 extreme-ethernet 0/1 SEFOS(config-if-range)# SEFOS(config)# interface range extreme-ethernet 0/1-23 vlan 1 - 128 SEFOS(config-if-range)#
Notes | For specifying the interface VLAN range, space should be provided before and after the dash. That is, the command interface range vlan 1 - 4 is valid, whereas the command interface range vlan 1- 4 is not valid. For port channel range, the specified range must be configured using the interface command.

#### Related Commands

- interface - Enters into the interface mode

- show interfaces - Displays the interface status and configuration

### 12.1.3 `set gvrp`

Enables or disables GVRP on a global basis.

    set gvrp {enable | disable}

Syntax Description | enable - Enables GVRP in the switch. disable - Disables GVRP in the switch.
Mode | Global Configuration
Defaults | Enabled.
Example | SEFOS(config)# set gvrp disable
Notes | GVRP needs to be explicitly enabled even after GARP is enabled.

#### Related Commands

- show vlan - Displays VLAN information in the database

- show vlan device info - Displays the VLAN related global status variables

### 12.1.4 `set port gvrp`

Enables or disables GVRP on the interface.

    set port gvrp interface-type interface-id {enable | disable}

Syntax Description | interface-type - Interface type. interface-id - Interface identifier. enable - Enables GVRP on the interface. disable - Disables GVRP on the interface.
Mode | Global Configuration
Defaults | Enabled.
Example | SEFOS(config)# set port gvrp extreme-ethernet 0/1 disable
Notes | The value `enable` indicates that GVRP is enabled on the current port, while global GVRP status is also enabled for the device. If port GVRP state is disabled, but global GVRP status is still enabled, GVRP is disabled on the current port. Any GVRP packet received is discarded and no GVRP registrations are propagated from other ports.

#### Related Commands

show vlan port config - Displays the VLAN related parameters specific for ports

### 12.1.5 `set port gvrp enable | disable`

Enables or disables GVRP on the interface.

Operates similar to the set port gvrp command.

    set port gvrp {enable | disable} interface-id

Syntax Description | enable - Enables GVRP on the interface. disable - Disables GVRP on the interface. interface-id - Interface identifier.
Mode | Global Configuration
Defaults | Enabled.
Example | SEFOS(config)# set port gvrp disable 0/1
Notes | The value `enable` indicates that GVRP is enabled on the current port, as long as global GVRP status is also enabled for the device. If port GVRP state is disabled, but global GVRP status is still enabled, GVRP is disabled on current port. Any received GVRP packets are discarded and no GVRP registrations are propagated from other ports.

#### Related Commands

show vlan port config - Displays the vlan related parameters specific for ports

### 12.1.6 `set gmrp`

Enables or disables GMRP globally on the device.

    set gmrp {enable | disable}

Syntax Description | enable - Enables GMRP on the device. disable - Disables GMRP on the device.
Mode | Global Configuration
Defaults | Enabled.
Example | SEFOS(config)# set gmrp disable
Notes | GMRP must be explicitly enabled even after GARP is enabled.

#### Related Commands

- show vlan - Displays VLAN information in the database

- show vlan device info - Displays the VLAN related global status variables

### 12.1.7 `set port gmrp`

Enables or disables GMRP on the port.

    set port gmrp interface-type interface-id {enable | disable}

Syntax Description | interface-type - Interface type. interface-id - Physical interface identifier including type, slot, and port number. enable - Enables GMRP on the interface. disable - Disables GMRP on the interface.
Mode | Global Configuration
Defaults | Enabled.
Example | SEFOS(config)# set port gmrp extreme-ethernet 0/1 disable
Notes | The value `enable` indicates that GMRP is enabled on this port in all VLANs while GMRP status is also enabled globally. The value `disable` indicates that GMRP is disabled on this port in all VLANs. Any GMRP packet received is silently discarded and no GMRP registrations are propagated from other ports.

#### Related Commands

show vlan port config - Displays the vlan related parameters specific for ports

### 12.1.8 `set vlan traffic-classes`

Enables or disables traffic classes.

    set vlan traffic-classes {enable | disable}

Syntax Description | enable - Enables traffic classes. disable - Disables traffic classes.
Mode | Global Configuration
Defaults | Enabled.
Example | SEFOS(config)# set vlan traffic-classes enable
Notes | Must be executed prior to executing the`vlan max traffic class` command.

#### Related Commands

- show vlan device info - Displays the VLAN related global status variables

- show vlan traffic-classes - Displays the traffic class information of all the available interfaces

### 12.1.9 `mac-address-table static unicast`

Configures a static unicast MAC address in the forwarding database. The `no` form of the command deletes a configured static unicast MAC address from the forwarding database.

    mac-address-table static unicast aa:aa:aa:aa:aa:aa vlan 1-4094 [{recv-port ifXtype ifnum}] interface ([interface-type 0/a-b, 0/c, ...] [interface-type 0/a-b, 0/c, ...] [port-channel a,b,c-d]) [connection-identifier ucast-mac] [status {permanent | deleteOnReset | deleteOnTimeout}]

    no mac-address-table static unicast aa:aa:aa:aa:aa:aa vlan 1-4094 [{recv-port ifXtype ifnum}]

Syntax Description | aa:aa:aa:aa:aa:aa - Destination MAC address. vlan - VLAN identifier. recv-port - Received port’s Interface type and ID The keyword `recv-port` is not supported. interface - Member ports Interface type and identifier. interface-type 0/a-b, 0/c, ... - Member ports interface type and identifier. port-channel - Port-channel identifier. connection-identifier - It references the backbone addresses and other parameters and is used locally for learning in the forwarding database. status - Status of the static unicast entry.
Mode | Global Configuration
Defaults | status - permanent
Example | SEFOS(config)# mac-address-table static unicast 22:22:22:22:22:99 vlan 2 interface extreme-ethernet 0/2 status permanent SEFOS(config)# mac-address-table static unicast 22:22:22:22:22:99 vlan 2 int ex 0/2 status deleteOnReset

#### Related Commands

- show mac-address-table static unicast - Displays the statically configured unicast address from the MAC address table.

- mac-address-table static unicast - Configures a static multicast MAC address in the forwarding database.

- vlan - Configures a VLAN in the switch and is also used to enter in to the config-VLAN mode.

### 12.1.10 `mac-address-table static multicast`

Configures a static multicast MAC address in the forwarding database. The `no` form of the command deletes a configured static multicast MAC address from the forwarding database.

    mac-address-table static multicast aa:aa:aa:aa:aa:aa vlan 1-4094 [{recv-port ifXtype ifnum}] interface [interface-type 0/a-b,0/c,...] [interface-type 0/a-b,0/c,...] [port-channel a,b,c-d] [forbidden-ports [interface-type 0/a-b,0/c,...] [interface-type 0/a-b,0/c,...] [port-channel a,b,c-d]] [status {permanent | deleteOnReset | deleteOnTimeout}]

    no mac-address-table static multicast aa:aa:aa:aa:aa:aa vlan 1-4094 [{recv-port ifXtype ifnum}]

Syntax Description | aa:aa:aa:aa:aa:aa - Multicast MAC address. vlan - VLAN identifier. recv-port - Received port interface type and identifier. interface - Member port interface type and identifier. interface-type 0/a-b,0/c,... - Member ports interface type and identifier. port-channel - Port channel identifier. forbidden-ports - Forbidden ports interface type and identifier. interface-type 0/a-b,0/c,... - Forbidden ports interface type and identifier. port-channel - Port channel identifier. status - Status of the static multicast entry.
Mode | Global Configuration
Defaults | status - permanent
Example | SEFOS(config)# mac-address-table static multicast 01:02:03:04:05:06 vlan 2 interface extreme-ethernet 0/1

#### Related Commands

- show mac-address-table static unicast - Displays the statically configured unicast address from the MAC address table.

- mac-address-table static unicast - Configures a static multicast MAC address in the forwarding database.

- vlan - Configures a VLAN in the switch and is also used to enter in to the config-VLAN mode.

### 12.1.11 `mac address-table static mcast`

Configures a static multicast MAC address in the forwarding database. The `no` form of the command deletes a configured static multicast MAC address from the forwarding database.

Operates similar to the command mac-address-table static multicast.

    mac address-table static mcast-mac> vlan 1-4094 [interface interface-type 0/a-b,0/c,...]  [interface-type 0/a-b,0/c,...] [port-channel a,b,c-d]

    no mac address-table static mcast-mac vlan 1-4094 [interface ifXtype ifnum]

Syntax Description | mcast-mac - Multicast MAC address. vlan - VLAN identifier that ranges between 1 and 4094. interface - Member ports interface type and identifier. interface-type 0/a-b, 0/c, ... - Specifies interface type and ID of the member and forbidden ports. port-channel - Port channel identifier.
Mode | Global Configuration
Example | SEFOS(config)# mac address-table static 01:02:03:04:05:06 vlan 2 interface extreme-ethernet 0/1

#### Related Commands

- show mac-address-table static unicast - Displays the statically configured unicast address from the MAC address table.

- vlan - Configures a VLAN in the switch and is also used to enter in to the config-VLAN mode.

### 12.1.12 `mac-address-table aging-time`

Sets the maximum age of a dynamically learned entry in the MAC address table. The `no` form of the command sets the maximum age of an entry in the MAC address table to its default value.

    mac-address-table aging-time 10-1000000

    no mac-address-table aging-time

Mode | Global Configuration
Defaults | 300
Example | SEFOS(config)# mac-address-table aging-time 200
Notes | If traffic on an interface is not very frequent, then the aging time must be increased to record the dynamic entries for a longer time. Increasing the time can reduce the possibility of flooding.

#### Related Commands

- mac-address-table aging-time - Displays the MAC address-table with aging time

### 12.1.13 `bridge-mode`

Configures the bridge mode of the switch.

    bridge-mode {customer | provider | provider-core | provider-edge | provider-backbone-icomp | provider-backbone-bcomp}

Syntax Description | customer - Customer bridge mode. provider - Provider bridge mode. provider-core - Provider core bridge mode. provider-edge - Provider edge bridge mode. provider-backbone-icomp - Provider backbone bridge I component mode. provider-backbone-bcomp - Provider backbone bridge B component mode.
Mode | Global Configuration in SI mode Switch Configuration in MI mode
Defaults | Based on the bridge mode value in `issnvram.txt`.
Example | SEFOS(config)# bridge-mode provider-backbone-icomp
Notes | Only one bridge mode can be set at a time. If multiple bridge modes are required, run multiple instances of the bridge. To configure the bridge mode of the switch: Spanning tree must be shut down. GARP must be shut down. ECFM must be shutdown.

#### Related Commands

show vlan device info - Displays the VLAN related global status variables

### 12.1.14 `l2protocol-tunnel cos`

Configures the priority for the tunneled STP BPDUs. The `no` form of the command configures the default priority for the tunneled STP BPDUs.

    l2protocol-tunnel cos 0-7

    no l2protocol-tunnel cos

Mode | Global Configuration
Defaults | cos - value - 7
Example | SEFOS(config)# l2protocol-tunnel cos 5
Notes | The configured priority value will be effective only when the L2 protocol tunnel STP is enabled on an interface.

#### Related Commands

show l2protocol-tunnel - Displays the entries in VLAN tunnel protocol table containing the number of ingress or egress STP BPDUs tunneled

### 12.1.15 `clear l2protocol-tunnel counters`

Clears the L2 protocol tunnel counters.

    clear l2protocol-tunnel counters [interface-type interface-id]

Syntax Description | interface-type - Interface type interface-id - Physical interface identifier including type, slot, and port number
Mode | Global Configuration
Example | SEFOS(config)# clear l2protocol-tunnel counters
Notes | If executed without the optional parameters, this command clears the STP tunnel counters of all the available interfaces.

### 12.1.16 `clear vlan statistics`

Clears the VLAN counters.

    clear vlan statistics [vlan 1-4094]

Syntax Description | vlan - VLAN identifier
Mode | Global Configuration
Example | SEFOS(config)# clear vlan statistics vlan 1
Notes | If executed without the optional parameters this command clears all the VLAN counters.

#### Related Commands

show vlan statistics - Displays the VLAN statistics

### 12.1.17 `ports`

The `ports` command configures a static VLAN entry with the required member ports, untagged ports, and forbidden ports. The tagged and untagged member ports defined by this command are used for egress tagging for a VLAN at a port.

For ports in PBB bridge mode, this command is used to define member ports for a VLAN in a component.

- For BVLAN in a B component, these member ports can be only PNP.

- For SVLAN in an I component, these member ports can be only CNP-Stagged.

- For CVLAN in an I component, these member ports can be only CNP-Ctagged.

The `no` form of the command resets the port list or deletes port members for the VLAN.

    ports [add]([interface-type 0/a-b,0/c,...] [interface-type 0/a-b,0/c,...] [port-channel a,b,c-d]) [untagged interface-type 0/a-b,0/c,... [interface-type 0/a-b,0/c,...] [port-channel a,b,c-d][all])] [forbidden interface-type 0/a-b,0/c,... [interface-type 0/a-b,0/c,...] [port-channel a,b,c-d]] [name vlan-name]

    no ports [interface-type 0/a-b,0/c,...] [interface-type 0/a-b,0/c,...] [port-channel a,b,c-d] [all] [untagged ([interface-type 0/a-b,0/c,...] [interface-type 0/a-b,0/c,...] [port-channel a,b,c-d] [all])] [forbidden ([interface-type 0/a-b,0/c,...] [interface-type 0/a-b,0/c,...] [port-channel a,b,c-d] [all])] [name vlan-name]

Syntax Description | ports - Member ports interface type and identifier. add - Add ports to existing VLAN port membership list. interface-type 0/a-b,0/c,... - Member ports interface type and identifier. port-channel a,b,c-d - Port-channel identifier. untagged - Untagged ports interface type and identifier. interface-type 0/a-b,0/c,... - Untagged ports interface type and identifier.
Mode | VLAN Configuration
Example | SEFOS# configure terminal SEFOS(config)# vlan 5 SEFOS(config-vlan)# ports add extreme-ethernet 0/1 untagged extreme-ethernet 0/1 forbidden extreme-ethernet 0/2 name vl5 SEFOS(config-vlan)# port add ex 0/6 SEFOS(config-vlan)# end SEFOS# show vlan id 5 Vlan database ------------- Vlan ID : 5 Member Ports : Ex0/1, Ex0/6 Untagged Ports : Ex0/1 Forbidden Ports : Ex0/2 Name : v15 Status : Permanent ----------------------------------------------------
Notes | Member-ports represent the set of ports permanently assigned to the egress list. Forbidden-ports represent the set of ports forbidden for the VLAN. Untagged ports represent the set of ports which transmits untagged frames.

#### Related Commands

- show vlan - Displays VLAN information in the database

- switchport pvid / switchport access vlan - Configures the PVID that would be assigned to untagged, priority-tagged frames, or VLAN tagged frames

### 12.1.18 `vlan active`

Activates a particular VLAN in the switch.

    vlan active

Mode | Config-VLAN
Example | SEFOS(config-vlan)# vlan active

### 12.1.19 `switchport pvid`

Configures the PVID on a port. The `no` form of the command sets the PVID to the default value on the port.

    switchport pvid 1-4094

    no switchport pvid

Syntax Description | vlan-id - PVID value to be configured on the port.
Mode | Interface Configuration
Example | SEFOS(config-if)# switchport pvid 3
Notes | If the frame (untagged, priority tagged, or customer VLAN tagged) is received on a tunnel port, the default port VLAN identifier (PVID) associated with the port is used. If the received frame cannot be classified as MAC-based or port-and-protocol-based, the PVID associated with the port is used. Usage is based on an acceptable frame type of the port. Packets are either dropped or accepted at ingress. Once a packet is accepted, if the packet has a tag, it is processed against that tag. Otherwise, the packet is processed against the PVID.

#### Related Commands

show vlan port config - Displays the VLAN related parameters specific for ports

### 12.1.20 `switchport access vlan`

Configures the PVID on a port. The `no` form of the command sets the PVID to the default value on the port. Operates similar to the command switchport pvid.

    switchport access vlan 1-4094

    no switchport access vlan

Syntax Description | vlan - PVID value to be configured on the port with a range of 1-4094.
Mode | Interface Configuration
Example | SEFOS(config-if)# switchport access vlan 3
Notes | If the frame (untagged, priority tagged, or customer VLAN tagged) is received on a tunnel port, the default PVID associated with the port is used. Usage is based on an acceptable frame type of the port. Packets are either dropped or accepted at ingress. Once a packet is accepted, if the packet has a tag, is be processed against that tag. Otherwise, the packet is processed against PVID.

#### Related Commands

show vlan port config - Displays the VLAN related parameters specific for ports

### 12.1.21 `switchport acceptable-frame-type`

Configures the acceptable frame type for the port. The `no` form of the command sets the default value of acceptable frame type (all frames accepted).

    switchport acceptable-frame-type {all | tagged | untaggedAndPrioritytagged}

    no switchport acceptable-frame-type

Syntax Description | all - All frames. Both tagged and untagged frames are allowed. tagged - Tagged frames. untaggedAndPrioritytagged - Untagged and priority tagged frames.
Mode | Interface Configuration
Defaults | All
Example | SEFOS(config-if)# switchport acceptable-frame-type tagged
Notes | When set to `tagged`, the device discards untagged and priority tagged frames received on the port and processes only the VLAN tagged frames. When set to `all`, untagged frames or priority-tagged frames received on the port are also accepted. When set to `untaggedAndPrioritytagged`, untagged and priority tagged frames alone are accepted and tagged frames are dropped.

#### Related Commands

show vlan port config - Displays the VLAN related parameters specific for ports.

### 12.1.22 `switchport ingress-filter`

Enables ingress filtering on the port. The `no` form of this command disables ingress filtering on the port.

    switchport ingress-filter

    no switchport ingress-filter

Mode | Interface Configuration
Defaults | Enabled.
Example | SEFOS(config-if)# switchport ingress-filter
Notes | When ingress-filtering is enabled, the device discards those incoming frames for VLANs which do not include this port in its member set. When the ingress filtering is disabled with the `no` form of the command, the device accepts all incoming frames.

#### Related Commands

show vlan port config - Displays the VLAN related parameters specific for ports

### 12.1.23 `switchport priority default`

Sets the default user priority for the port. The no form of the command sets the default user priority for the port to the default value.

    switchport priority default 0-7

    no switchport priority default

Mode | Interface Configuration Mode
Defaults | 0
Example | SEFOS(config-if)# switchport priority default 5

#### Related Commands

show vlan port config - Displays the VLAN related parameters specific for ports

### 12.1.24 `switchport mode`

Configures the VLAN port mode. The no form of the command configures the default VLAN port mode.

    switchport mode { access | trunk | hybrid | {dynamic {auto | desirable}}}

    no switchport mode

Syntax Description | access - Access port mode. An access port can accept and send only untagged frames. trunk - Trunk port mode. When configured as a trunk port, a port is added as a member of all the existing VLANs and also any new VLAN created. hybrid - Hybrid VLAN port mode. A hybrid port can send or accept both tagged and untagged frames. dynamic - Dynamic mode. auto - Interface converts the link to a trunk link. desirable - Interface actively attempts to convert the link to a trunk link.
Mode | Interface Configuration
Defaults | Hybrid mode.
Example | SEFOS(config-if)# switchport mode access
Notes | It is not possible to set the `switchport mode` status to `trunk` or `hybrid` if the tunnel is enabled. It is not possible to configure the `switchport mode` status to `trunk` if the port is an untagged member of a VLAN. It is not possible to configure the `switchport mode` status to access if the ports acceptable frame type is all or tagged.

#### Related Commands

- switchport mode dot1q-tunnel - Enables dot1q-tunneling on the specified interface

- show vlan port config - Displays the VLAN related parameters specific for ports

### 12.1.25 `switchport mode dot1q-tunnel`

Enables `dot1q-tunneling` on the specified interface. The `no` form of the command disables `dot1q-tunneling` on the specified interface.

    switchport mode dot1q-tunnel

    no switchport mode dot1q-tunnel

Mode | Interface Configuration
Defaults | Disabled.
Example | SEFOS(config-if)# switchport mode dot1q-tunnel
Notes | Bridge mode must be set to `provider` for the `dot1q-tunneling` status to be enabled. It is not possible to set the `dot1q-tunnel` status on the port if the port mode is not `access` type. If `dot1q tunneling` is enabled on the specified interface, the GMRP is disabled internally.

#### Related Commands

- bridge-mode - Configures the bridge mode of the switch

- switchport mode - Configures the VLAN port mode

- show vlan device info - Displays the VLAN related global status variables

- show vlan port config - Displays the VLAN port information

### 12.1.26 `set garp timer`

Configures the GARP join time, leave time, and leaveall time in milli-seconds.

    set garp timer {join | leave | leaveall} <time in milli seconds>

Syntax Description | join - Join time. leave - Leave time. leaveall - Leaveall time.
Mode | Interface Configuration
Defaults | join - 20 leave - 60 leaveall - 1000
Example | SEFOS(config-if)# set garp timer join 500
Notes | Leave timer must be greater than 2 times join timer and leaveall timer must be greater than leave timer. Timer values cannot be set to zero. The GARP timer configuration is applied to the GARP applications (GMRP and GVRP) on the specified interface.

#### Related Commands

show garp timer - Displays the GARP timer information of the available interfaces

### 12.1.27 `vlan restricted`

Enables or disables restricted VLAN registration on the port.

    vlan restricted {enable | disable}

Syntax Description | enable - Enables restricted VLAN registration. disable - Disables restricted VLAN registration.
Mode | Interface Configuration
Defaults | Disabled.
Example | SEFOS(config-if)# vlan restricted enable
Notes | If restricted VLAN registration rules are enabled, then a VLAN is learnt dynamically from the GVRP frame only if the specific VLAN is statically configured in the switch. If restricted VLAN registration rules are disabled, then GVRP packets are processed normally and the VLANs are learnt dynamically even if they are not statically configured in the switch.

#### Related Commands

show vlan port config - Displays the VLAN related parameters specific for ports

### 12.1.28 `group restricted`

Enables or disables restricted group registration on a port.

    group restricted {enable | disable}

Syntax Description | enable - Enables restricted group registration. disable - Disables restricted group registration.
Mode | Interface Configuration
Defaults | Disabled.
Example | SEFOS(config-if)# group restricted enable
Notes | If restricted group registration rules are enabled, a multicast group attribute or service requirement attribute is learned dynamically from the GMRP frame only if the specific multicast group attribute or service requirement attribute is statically configured in the switch. If restricted group registration rules are disabled, GMRP packets are processed normally and the multicast group attribute or service requirement attribute are learned dynamically even when not statically configured in the switch.

#### Related Commands

show vlan port config - Displays the VLAN related parameters specific for ports

### 12.1.29 `vlan map-priority`

Maps a priority to a traffic class on the specified port. The frame received on the interface with the configured priority is processed in the configured traffic class. The `no` form of the command maps the default priority to traffic class value on the port.

    vlan map-priority 0-7 traffic-class 0-7

    no vlan map-priority 0-7

Syntax Description | traffic-class - Traffic class value (0-7). map-priority - Map priority value (0-7).
Mode | Interface Configuration
Example | SEFOS(config-if)# vlan map-priority 2 traffic-class 2
Notes | The default traffic class value depends on the configured priority value. Following is the list of default traffic class values for different priority values: Priority Default traffic class 0 2 1 0 2 1 3 3 4 4 5 5 6 6 7 7

#### Related Commands

show vlan traffic-classes - Displays the traffic classes information of all the available interfaces

### 12.1.30 `shutdown garp`

Shuts down the GARP module. The `no` form of the command starts and enables the GARP module.

    shutdown garp

    no shutdown garp

Mode | Global Configuration
Defaults | GARP module is started and enabled.
Example | SEFOS(config)# shutdown garp
Notes | GARP cannot be started if VLAN is shutdown. GARP cannot be shutdown if GVRP or GMRP are enabled.

### 12.1.31 `debug vlan`

Sets the debug level. The `no` form of the command sets the debug level to default value.

    debug vlan {global | [{fwd | priority | | redundancy} [initshut] [mgmt] [data] [ctpl] [dump] [os] [failall] [buffer] [all]] switch switch-or-context-name}

    no debug vlan {global | [{fwd | priority | | redundancy} [initshut] [mgmt] [data] [ctpl] [dump] [os] [failall] [buffer] [all]] switch switch-or-context-name}

Syntax Description | global - Global related debug messages. fwd - Forwarding module. priority - VLAN priority module. redundancy - Redundancy related debug messages. initshut - Init and shutdown. mgmt - Management. data - Data path. ctpl - Control plane. dump - Packet dump. os - Traces related to all resources except buffer. failall- All failures. buffer - Buffer. all - All traces. switch - Context or switch name. If the switch supports multiple instances, the name of the instance can be specified. Otherwise this parameter need not be given or the context name can be given as `default`. The keyword `switch` is not supported.
Mode | Privileged Exec
Defaults | Disabled.
Example | SEFOS# debug vlan fwd all

#### Related Commands

show debugging - Displays state of each debugging option

### 12.1.32 `debug garp`

Sets debug level. The `no` form of the command sets the debug level to default value.

    debug garp {global | [{protocol | gmrp | gvrp | redundancy} [initshut] [mgmt] [data] [ctpl] [dump] [os] [failall] [buffer] [all]] [switch-or-context-name]}

    no debug garp {global | [{protocol | gmrp | garp | redundancy} [initshut] [mgmt] [data] [ctpl] [dump] [os] [failall] [buffer] [all]] [switch-or-context-name]}

Syntax Description | global - Global related debug messages. protocol - Protocol related traces. gmrp - GMRP related traces. gvrp - GVRP related traces. redundancy - Redundancy related debug messages. The keyword `redundancy` is not supported. initshut - `init` and shut down. mgmt - Management. data - Data path. ctpl - Control plane. dump - Packet dump. os - Traces related to all resources except buffer. failall - All failures. buffer - Buffer. all - All traces. switch - Context or switch name. If the switch supports multiple instances, the name of the instance can be specified. Otherwise, this parameter need not be given or the context name can be given as `default`. The keyword `switch` is not supported.
Mode | Privileged Exec
Defaults | Disabled.
Example | SEFOS# debug garp protocol all

#### Related Commands

show debugging - Displays state of each debugging option

### 12.1.33 `show vlan`

Displays the VLAN information in the database.

    show vlan [brief | id vlan-range | summary] [switch context-name]

Syntax Description | brief - Information about all the VLANs in brief. id - Information specific to the VLAN identifier. summary - Summary of the VLAN. switch- Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | Single Instance: SEFOS# show vlan brief Vlan database ------------- Vlan ID : 1 Member Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6, Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, ... Untagged Ports: Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6, Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, ... Forbidden Ports: None Name : Status : Permanent ----------------------------------------------------
| SEFOS# show vlan summary Number of vlans : 1 Multiple Instance: SEFOS# show vlan Switch - default Vlan database -------------
| Vlan ID : 1 Member Ports : Ex0/49 Untagged Ports : Ex0/49 Forbidden Ports : None Name : Status: Permanent ----------------------------------------------------
| Switch - cust1 Vlan database ------------- Vlan ID : 1 Member Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Untagged Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Forbidden Ports : None Name : Status : Permanent ----------------------------------------------------
| Vlan ID : 20 Member Ports : Ex0/1 Untagged Ports : Ex0/1 Forbidden Ports : None Name : Status : Permanent ----------------------------------------------------
| Vlan ID : 30 Member Ports : Ex0/2 Untagged Ports : None Forbidden Ports : None Name : Status : Dynamic Gvrp ----------------------------------------------------
Notes | If the optional parameter is not specified then this command displays the VLAN information of all the available interfaces.

#### Related Commands

- shutdown vlan - Shuts down VLAN switching. The no form of the command starts and enables VLAN switching

- vlan - Configures a VLAN in the switch and is also used to enter in to the config-VLAN mode

- ports - Configures a static VLAN entry with the required member ports, untagged ports and forbidden ports

### 12.1.34 `show vlan device info`

Displays the VLAN related global status variables.

    show vlan device info [switch switch-or-context-name]

Syntax Description | switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show vlan device info Vlan device configurations -------------------------- Vlan Status : Enabled Vlan Oper status : Enabled Gvrp status : Enabled Gmrp status : Enabled Gvrp Oper status : Enabled Gmrp Oper status : Enabled Mac-Vlan Status : Disabled Subnet-Vlan Status : Disabled Protocol-Vlan Status : Enabled Bridge Mode : Customer Bridge Base-Bridge Mode : Vlan Aware Bridge Traffic Classes : Enabled Vlan Operational Learning Mode : IVL Version number : 1 Max Vlan id : 4094 Max supported vlans : 4094 Unicast mac learning limit : 16334

#### Related Commands

- vlan - Configures a VLAN in the switch and is also used to enter in to the config-VLAN mode

- ports - Configures a static VLAN entry with the required member ports, untagged ports and forbidden ports

- set gvrp - Enables or disables GVRP on a global basis

- set port gvrp - Enables or disables GVRP on the interface

- set gmrp - Enables or disables GMRP on a global basis

- set port gmrp - Enables or disables GMRP on the interface

- set vlan traffic-classes - Enables or disables traffic classes

### 12.1.35 `show vlan device capabilities`

Displays VLAN capabilities of the device.

    show vlan device capabilities [switch switch-or-context-name]

Syntax Description | switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show vlan device capabilities Vlan device capabilities -------------------------- Extended filtering services Traffic classes Static Entry Individual port IVL capable SVL capable Hybrid capable Configurable Pvid Tagging
Notes | IVL capable is the only capable mode. SVL and hybrid are not supported.

### 12.1.36 `show vlan traffic-classes`

Displays the traffic classes information of all the available interfaces.

    show vlan traffic-classes [{port interface-type interface-id | switch switch-or-context-name}]

Syntax Description | port - Interface type and identifier of the port. switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show vlan traffic-classes Traffic Class table --------------------- Port Priority Traffic Class ----- --------- ------------- Ex0/1 0 2 Ex0/1 1 0 Ex0/1 2 1 Ex0/1 3 3 Ex0/1 4 4 Ex0/1 5 5
| Ex0/1 6 6 Ex0/1 7 7 Ex0/2 0 2 Ex0/2 1 0 Ex0/2 2 1 Ex0/2 3 3 Ex0/2 4 4 Ex0/2 5 5 Ex0/2 6 6 Ex0/2 7 7
| Multiple Instance: SEFOS# show vlan traffic-classes Switch - default Traffic Class table --------------------- Port Priority Traffic Class ----- --------- ------------- Ex0/49 0 2 Ex0/49 1 0 Ex0/49 2 1
| Ex0/49 3 3 Ex0/49 4 4 Ex0/49 5 5 Ex0/49 6 6 Ex0/49 7 7
| Switch - cust1 Traffic Class table --------------------- Port Priority Traffic Class ----- --------- ------------- Ex0/1 0 2 Ex0/1 1 0 Ex0/1 2 1 Ex0/1 3 3 Ex0/1 4 4 Ex0/1 5 5 Ex0/1 6 6 Ex0/1 7 7
| Ex0/2 0 2 Ex0/2 1 0 Ex0/2 2 1 Ex0/2 3 3 Ex0/2 4 4 Ex0/2 5 5 Ex0/2 6 6 Ex0/2 7 7
Notes | If executed without the ports option, this command displays the priority mapped to all the available traffic classes on the port.

#### Related Commands

- vlan - Configures a VLAN in the switch and is used to enter into the VLAN mode

- ports - Configures a static VLAN entry with the required member ports, untagged ports and forbidden ports

- set vlan traffic-classes - Enables or disables traffic classes

### 12.1.37 `show garp timer`

Displays the GARP timer information of the available interfaces.

    show garp timer [{port interface-type interface-id | switch switch-or-context-name}]

Syntax Description | port - Interface type and identifier of the port switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | Single Instance: SEFOS# show garp timer port extreme-ethernet 0/1 Garp Port Timer Info (in milli seconds) --------------------------------------- Port Join-time Leave-time Leave-all-time ----- --------- ---------- -------------- Ex0/1 200 600 10000
| Multiple Instance: SEFOS# show garp timer Switch - default Garp Port Timer Info (in milli seconds) --------------------------------------- Port Join-time Leave-time Leave-all-time ----- --------- ---------- -------------- Ex0/49 200 600 10000 Switch - cust1 Garp Port Timer Info (in milli seconds) ---------------------------------------
| Port Join-time Leave-time Leave-all-time ----- --------- ---------- -------------- Ex0/1 200 600 10000 Ex0/2 200 600 10000 Ex0/3 200 600 10000 Ex0/4 200 600 10000 Ex0/5 200 600 10000 Ex0/6 200 600 10000
Notes | The timer information is the same for GVRP and GMRP.

#### Related Commands

- ports - Configures a static VLAN entry with the required member ports, untagged ports and forbidden ports

- show vlan device info - Displays the VLAN related global status variables

- set garp timer - Configures the GARP join time, leave time, and leaveall time in milli-seconds

### 12.1.38 `show vlan port config`

Displays the VLAN related parameters specific for ports.

    show vlan port config [{port interface-type interface-id | switch switch-or-context-name}]

Syntax Description | port - Interface type and identifier of the port. switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show vlan port config Vlan Port configuration table ------------------------------- Port Ex0/1 Port Vlan ID : 1 Port Acceptable Frame Type : Admit All Port Ingress Filtering : Enabled Port Mode : Hybrid Port Gvrp Status : Enabled Port Gmrp Status : Enabled Port Gvrp Failed Registrations : 0 Gvrp last pdu origin : 00:00:00:00:00:00 Port Restricted Vlan Registration : Disabled Port Restricted Group Registration : Disabled
| Mac Based Support : Disabled Subnet Based Support : Disabled Port-and-Protocol Based Support : Enabled Default Priority : 0 Dot1x Protocol Tunnel Status : Peer LACP Protocol Tunnel Status : Peer Spanning Tree Tunnel Status : Peer GVRP Protocol Tunnel Status : Peer GMRP Protocol Tunnel Status : Peer IGMP Protocol Tunnel Status : Peer Filtering Utility Criteria : Default Port Protected Status : Disabled ------------------------------------------------------- Port Ex0/2 Port Vlan ID : 1 Port Acceptable Frame Type : Admit All Port Ingress Filtering : Enabled Port Mode : Hybrid Port Gvrp Status : Enabled Port Gmrp Status : Enabled Port Gvrp Failed Registrations : 0
| Gvrp last pdu origin : 00:00:00:00:00:00 Port Restricted Vlan Registration : Disabled Port Restricted Group Registration : Disabled Mac Based Support : Disabled Subnet Based Support : Disabled Port-and-Protocol Based Support : Enabled Default Priority : 0 Dot1x Protocol Tunnel Status : Peer LACP Protocol Tunnel Status : Peer Spanning Tree Tunnel Status : Peer GVRP Protocol Tunnel Status : Peer GMRP Protocol Tunnel Status : Peer IGMP Protocol Tunnel Status : Peer Filtering Utility Criteria : Default Port Protected Status : Disabled -------------------------------------------------------
Notes | If executed with out the optional parameter, this command displays the port information of all the available ports.

#### Related Commands

- set port gvrp / set port gvrp enable | disable - Enables or disables GVRP on the interface

- set port gmrp - Enables or disables GMRP on the interface

- switchport pvid / switchport access vlan - Configures the PVID that would be assigned to untagged, priority-tagged frames, or VLAN tagged frames

- switchport acceptable-frame-type - Configures the acceptable frame type for the port

- switchport ingress-filter - Enables ingress filtering on the port

- vlan restricted - Enables or disables restricted VLAN registration on the port

### 12.1.39 `show vlan statistics`

Displays VLAN statistics such as the number of unicast frames forwarded broadcast packets and unknown unicast packets flooded in that VLAN.

    show vlan statistics [vlan 1-4094] [switch switch-or-context-name]

Syntax Description | vlan - VLAN range (1-4094) switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show vlan statistics Unicast/broadcast Vlan statistics vlan 1 ------------------------------------- Vlan Id : 1 Unicast frames received : 0 Mcast/Bcast frames received : 10331 Unknown Unicast frames flooded : 0 Unicast frames transmitted : 0 Broadcast frames transmitted : 0 -------------------------------------
Notes | If VLAN identifier is not specified in the command, statistics of all the VLAN existing in the system will be displayed.

#### Related Commands

clear vlan statistics - Clears the VLAN counters

### 12.1.40 `show mac-address-table`

Displays the static and dynamic unicast and multicast MAC address table.

    show mac-address-table [vlan 1-4094] [address aa:aa:aa:aa:aa:aa] [interface interface-type interface-id]

Syntax Description | vlan - VLAN range (1-4094). address - MAC address. interface - Interface type and identifier.
Mode | Privileged EXEC
Example | SEFOS# show mac-address-table vlan 2 Vlan Mac Address Type ConnectionId Ports ---- ----------- ---- ----------- ----- 2 00:01:02:03:04:21 Learnt Ex0/1 Total Mac Addresses displayed: 1 SEFOS# show mac-address-table interface extreme-ethernet 0/1
| Vlan Mac Address Type ConnectionId Ports ---- ----------- ---- ----------- ----- 2 00:01:02:03:04:21 Learnt Ex0/1 1 01:02:03:04:05:06 Static Ex0/1 Total Mac Addresses displayed: 2

#### Related Commands

- vlan - Configures a VLAN in the switch and is also used to enter in to the config-VLAN mode

- ports - Configures a static VLAN entry with the required member ports, untagged ports and forbidden ports

- mac-address-table static unicast - Configures a static unicast MAC address in the forwarding database

- mac-address-table static multicast - Configures a static multicast MAC address in the forwarding database

### 12.1.41 `show dot1d mac-address-table`

Displays the static or dynamic unicast and dynamic multicast FDB table entries, when the base bridge mode is transparent bridging.

    show dot1d mac-address-table [address aa:aa:aa:aa:aa:aa] [{interface interface-type interface-id | switch switch-or-context-name}]

Syntax Description | address - MAC address. interface - Interface type and identifier. switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show dot1d mac-address-table address 00:01:02:03:04:21 Mac Address Type Ports ----------- ---- ----- 00:01:02:03:04:21 Learnt Ex0/2 Total Mac Addresses displayed: 1
| SEFOS# show dot1d mac-address-table interface extreme-ethernet 0/2 Mac Address Type Ports ----------- ---- ----- 00:01:02:03:04:21 Learnt Ex0/2 01:02:03:04:05:06 Static Ex0/2 Total Mac Addresses displayed: 2
Notes | If executed without the optional parameters, this command displays all the static or dynamic unicast and dynamic multicast entries

### 12.1.42 `show dot1d mac-address-table static unicast`

Displays static unicast MAC address table when the base bridge mode is transparent bridging.

    show dot1d mac-address-table static unicast [address aa:aa:aa:aa:aa:aa] [interface interface-type interface-id]

Syntax Description | address - MAC address. interface - Interface type and identifier.
Mode | Privileged EXEC
Example | SEFOS# show dot1d mac-address-table static unicast address 00:01:02:03:04:21 Mac Address RecvPort Status Ports ----------- -------- ------ ----- 00:11:22:33:44:55 Permanent Ex0/2 Total Mac Addresses displayed: 1
| SEFOS# show dot1d mac-address-table static unicast address 00:11:22:33:44:55 Mac Address RecvPort Status Ports ----------- -------- ------ ----- 00:11:22:33:44:55 Permanent Ex0/2 Total Mac Addresses displayed: 1
Notes | If executed without the optional parameters this command displays all the static unicast MAC entries. This command is not applicable.

### 12.1.43 `show dot1d mac-address-table static multicast`

Displays static multicast MAC address table when the base bridge mode is transparent bridging.

    show dot1d mac-address-table static multicast [address aa:aa:aa:aa:aa:aa] [interface interface-type interface-id]

Syntax Description | address - MAC address. interface - Interface type and identifier.
Mode | Privileged EXEC
Example | SEFOS# show dot1d mac-address-table static multicast address 01:00:5E:01:02:03 Mac Address RecvPort Type Ports ----------- ---- ----- ----- 01:00:5E:01:02:03 static Ex0/2-3 Total Mac Addresses displayed: 1
| SEFOS# show dot1d mac-address-table static multicast interface extreme-ethernet 0/2 Mac Address RecvPort Type Ports ----------- ------ ---- ----- 01:00:5E:01:02:03 static Ex0/2 01:00:5E:01:02:04 static Ex0/2 Total Mac Addresses displayed: 2
Notes | If executed without the optional parameters, this command displays all the static multicast MAC entries. This command is not applicable.

### 12.1.44 `show mac-address-table count`

Displays the number of MAC addresses present on all the VLANs or on the specified VLAN.

    show mac-address-table count [vlan 1-4094] [switch switch-or-context-name]

Syntax Description | vlan - VLAN identifier (1-4094). switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show mac-address-table count Mac Entries for Vlan 1: -------------------------- Dynamic Unicast Address Count : 4 Dynamic Multicast Address Count : 0 Static Unicast Address Count : 0 Static Multicast Address Count : 0 ---------------------------------------- Mac Entries for Vlan 5: -------------------------- Dynamic Unicast Address Count : 1 Dynamic Multicast Address Count : 0 Static Unicast Address Count : 0 Static Multicast Address Count : 0 ----------------------------------------
Notes | If executed without the optional parameter, this command displays the MAC addresses present on all the VLANs.

#### Related Commands

- vlan - Configures a VLAN in the switch and is also used to enter in to the config-VLAN mode

- ports - Configures a static VLAN entry with the required member ports, untagged ports and forbidden ports

- mac-address-table static unicast - Configures a static unicast MAC address in the forwarding database

- mac-address-table static multicast - Configures a static multicast MAC address in the forwarding database

### 12.1.45 `show mac-address-table static unicast`

Displays the statically configured unicast addresses from the MAC address table.

    show mac-address-table static unicast [vlan 1-4094] [address aa:aa:aa:aa:aa:aa] [{interface interface-type interface-id | switch switch-or-context-name}]

Syntax Description | vlan - VLAN identifier. address - MAC address. interface - Interface type and identifier. switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show mac-address-table static unicast Vlan Mac Address RecvPort Status ConnectionId Ports ---- ----------- -------- ------ ------------ ----- 1 22:22:22:22:22:99 Permanent Ex0/2 Total Mac Addresses displayed: 1
Notes | If executed without the optional parameters, this command displays the MAC address table for all the available interfaces.

#### Related Commands

- vlan - Configures a VLAN in the switch and is also used to enter in to the config-VLAN mode

- ports - Configures a static VLAN entry with the required member ports, untagged ports and forbidden ports

- mac-address-table static unicast - Configures a static unicast MAC address in the forwarding database

- show mac-address-table dynamic unicast - Displays the dynamic MAC address table for the specified address or for all the addresses

### 12.1.46 `show mac-address-table static multicast`

Displays the statically configured multicast entries.

    show mac-address-table static multicast [vlan 1-4094] [address aa:aa:aa:aa:aa:aa] [{interface interface-type interface-id | switch switch-or-context-name}]

Syntax Description | vlan - VLAN identifier. address - MAC address. interface - Interface type and identifier. switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show mac-address-table static multicast Static Multicast Table ---------------------- Vlan : 1 Mac Address : 01:02:03:04:05:06 Receive Port : Member Ports : Ex0/1 Forbidden Ports : Status : Permanent ------------------------------------------------ Total Mac Addresses displayed: 1

#### Related Commands

- vlan - Configures a VLAN in the switch and is also used to enter in to the config-VLAN mode

- ports - Configures a static VLAN entry with the required member ports, untagged ports and forbidden ports

- mac-address-table static multicast / mac address-table static mcast - Configures a static multicast MAC address in the forwarding database

- show mac-address-table dynamic multicast - Displays the dynamic MAC address table for the specified address or for all the addresses

### 12.1.47 `show mac-address-table dynamic unicast`

Displays the dynamically learnt unicast entries from the MAC address table.

    show mac-address-table dynamic unicast [vlan 1-4094] [address aa:aa:aa:aa:aa:aa] [{interface interface-type interface-id | switch switch-or-context-name}]

Syntax Description | vlan - VLAN identifier. address - MAC address. interface - Interface type and identifier. switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show mac-address-table dynamic unicast vlan 2 Vlan Mac Address Type ConnectionId Ports ---- ----------- ---- ------------ ----- 2 00:01:02:03:04:21 Learnt Ex0/1 Total Mac Addresses displayed: 1
Notes | If executed without the optional parameters, this command displays the MAC address table of all the available interfaces.

#### Related Commands

- vlan - Configures a VLAN in the switch and is also used to enter in to the config-VLAN mode

- ports - Configures a static VLAN entry with the required member ports, untagged ports and forbidden ports

- mac-address-table static unicast - Configures a static unicast MAC address in the forwarding database

- show mac-address-table static unicast - Displays the statically configured unicast address from the MAC address table

### 12.1.48 `show mac-address-table dynamic multicast`

Displays the dynamically learnt multicast MAC address.

    show mac-address-table dynamic multicast [vlan 1-4094] [address aa:aa:aa:aa:aa:aa] [{interface interface-type interface-id | switch switch-or-context-name}]

Syntax Description | vlan - VLAN identifier. address - MAC address. interface - Interface type and identifier. switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show mac-address-table dynamic multicast Vlan Mac Address Type ConnectionId Ports ---- ----------- ---- ------------ ----- 2 01:03:05:07:09:04 Learnt Ex0/1 Total Mac Addresses displayed: 1
Notes | If executed without the optional parameters, this command displays the MAC address table of all the available interfaces.

#### Related Commands

- vlan - Configures a VLAN in the switch and is also used to enter into the config-VLAN mode

- ports - Configures a static VLAN entry with the required member ports, untagged ports and forbidden ports

- mac-address-table static multicast - Configures a static multicast MAC address in the forwarding database

- show mac-address-table static multicast - Displays the statically configured multicast entries

### 12.1.49 `show mac-address-table aging-time`

Displays the MAC address-table aging time.

    show mac-address-table aging-time [switch switch-or-context-name]

Syntax Description | switch - Context or switch name. This parameter is specific to multiple instance. The keyword `switch` is not supported.
Mode | Privileged EXEC
Example | SEFOS# show mac-address-table aging-time Mac Address Aging Time: 300

#### Related Commands

- show mac-address-table - Displays the static and dynamic MAC entries

- mac-address-table aging-time - Configures the MAC address table entry maximum age

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.