< Home

display mac-group

Function

The display mac-group command displays information about a MAC address group or about MAC addresses in a MAC address group.

Format

display mac-group [ group-name ]

Parameters

Parameter Description Value
group-name Specifies the name of a MAC address group.

If group-name is specified, this command displays information about all MAC addresses in a MAC address group. If group-name is not specified, this command displays information about all MAC address groups of a virtual gateway.

The value must be the name of an existing MAC address group.

Views

Virtual gateway security view

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display information about all MAC address groups of virtual gateway gateway.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] security
[sysname-gateway-security]display mac-group
Mac Group List                                                                                              
---------------------------------------------------------------------------
Total Num = 2                                                              
---------------------------------------------------------------------------                                                                                                
                                                                                                                                    
          No     Group Name                                                                                                         
---------------------------------------------------------------------------                                                       
          1       group1                                                                                                               
          2       group2                                                                                                                
---------------------------------------------------------------------------        
Table 1 Description of the display mac-group command output

Item

Description

Total Num

Total number of MAC address groups

No

MAC address group No.

Group Name

MAC address group name

# Display information about all MAC addresses in MAC address group group1.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] security
[sysname-gateway-security]display mac-group group1
Mac address list                                                                                              
---------------------------------------------------------------------------
Total Num = 2                                                              
---------------------------------------------------------------------------                                                                                                
                                                                                                                                    
          No          Address                                                                                                         
---------------------------------------------------------------------------                                                       
          1       286e-d448-03ee                                                                                                               
          2       286e-d448-03ef                                                                                                                
---------------------------------------------------------------------------        
Table 2 Description of the display mac-group group1 command output

Item

Description

Total Num

Total number of MAC addresses

No

MAC address No.

Address

MAC address information

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >