The display ip address-set command displays address objects or address groups.
The display ip address-set verbose command displays detailed information about specified address objects or address groups.
The display ip address-set address command displays information about the address object or address group that contains a specified IPv4 address, IPv6 address, or MAC address.
display ip address-set { all | type { object | group } } [ vpn-instance vpn-instance-name | public ]
display ip address-set verbose address-set-name { item | reference } [ type { object | group } ] [ vpn-instance vpn-instance-name | public ]
display ip address-set address { ipv4-address | ipv6-address | mac-address }
| Parameter | Description | Value |
|---|---|---|
all |
Displays information about all address sets. |
- |
type |
Displays information about address sets based on types. |
- |
object |
Displays information about the address sets whose types are object. |
- |
group |
Displays information about the address sets whose types are group. |
- |
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance. If this parameter is specified, rename the address set of the specified VPN instance. |
It is the name of an existing VPN instance. |
public |
Displays information about the address sets that belong to the public VPN instance. |
- |
address-set-name |
Specifies the name of an address set whose detailed information is to be displayed. |
It is the name of an existing address object or address group. |
item |
Displays information about items in the address set. |
- |
reference |
Displays information about the address set being referred to by other features. |
- |
address ipv4-address |
Displays information about the address object or address group that contains a specified IPv4 address. |
The value is in dotted decimal notation. |
address ipv6-address |
Displays information about the address object or address group that contains a specified IPv6 address. |
The value is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
address mac-address |
Displays information about the address object or address group that contains a specified MAC address.
All models except USG6680E and USG6712E/6716E support this parameter. |
The MAC address can be in one of the following formats:
|
# Display information about all addresses and address sets.
<sysname> display ip address-set all
Object address-set maximum number(s): 30000
Group address-set maximum number(s): 1024
Address-set total number(s): 4
Address-set item total number(s): 10
Address-set reference total number(s): 2
Address-set: addr_group_0001
Type: group
Item number(s): 2
Reference number(s): 0
Address-set: addr_group_0002
Type: group
Item number(s): 0
Reference number(s): 1
Address-set: addr_0001
Type: object
Item number(s): 5
Reference number(s): 0
Address-set: addr_0002
Type: object
Item number(s): 3
Reference number(s): 1
# Display detailed information about items in address set addset.
<sysname> display ip address-set verbose addset item Address-set: addset Type: group Item number(s): 1 Reference number(s): 0 Item(s): address 0 range 10.1.1.1 10.1.1.10
# Display detailed information about address set abc being referenced.
<sysname> display ip address-set verbose abc reference Address-set: abc Type: group Item number(s): 0 Reference number(s): 1 Reference(s) by acl: Reference(s) by address-set: Reference(s) by policy: POLICY NAME CONDITION TYPE RULE NAME ------------------------------------------------------------------------------- sec-policy source-address 1 -------------------------------------------------------------------------------
Item |
Description |
|---|---|
Object address-set maximum number(s) |
Maximum number of address objects |
Group address-set maximum number(s) |
Maximum number of address groups |
Address-set total number(s) |
Total number of address objects and address groups. |
Address-set item total number(s) |
Total number of members in address objects and address groups. |
Address-set reference total number(s) |
Total number of references of address objects and address groups. |
Address-set |
Name of an address object or address group |
Type |
Type:
|
Item number(s) |
Number of items in the address object or address group |
Reference number(s) |
Number of the address object or address group being referenced |
Item(s) |
Detailed information about items in the address object or address group |
# Display information about the address object or address group that contains IP address 2.2.2.2.
<sysname> display ip address-set address 2.2.2.2 NAME TYPE ITEM REF VPN-INSTANCE ------------------------------------------------------------------------------------------ g2 group 1 0 bin object 2 0 ------------------------------------------------------------------------------------------
Item |
Description |
|---|---|
NAME |
Name of an address object or address group |
TYPE |
Type:
|
ITEM |
Number of items in the address object or address group |
REF |
Number of the address object or address group being referenced |
VPN-INSTANCE |
VPN instance to which an address object or address group belongs |