display access-user auto-save user-info

Function

The display access-user auto-save user-info command displays DHCPv4 user information saved in the high-end memory.

This command is supported only on the NetEngine 8000 F1A.

Format

display access-user auto-save user-info { online | wait-recover | mac-address mac-address [ interface { iftype ifnum | ifname } [ pevlan pevlanid cevlan cevlanid ] ] }

Parameters

Parameter Description Value
online

Displays information about online DHCPv4 users saved in the high-end memory.

-

wait-recover

Displays information about DHCPv4 users that wait to go online saved in the high-end memory.

-

mac-address mac-address

Specifies the MAC address of a DHCPv4 user whose information is saved in the high-end memory.

The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. The MAC address cannot be FFFF-FFFF-FFFF.

interface iftype

Specifies the type of an interface.

-

ifnum

Specifies the number of an interface.

-

pevlan pevlanid

Specifies a PE-VLAN ID.

The value is an integer ranging from 0 to 4094. The value 0 indicates that packets do not carry a PE-VLAN ID.

cevlan cevlanid

Specifies a CE-VLAN ID.

The value is an integer ranging from 0 to 4094. The value 0 indicates that packets do not carry a CE-VLAN ID.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bras-control read

Usage Guidelines

Usage Scenario

To view DHCPv4 user information saved in the high-end memory of the main control board after automatic backup is enabled, run the display access-user auto-save user-info command. The collected information helps locate faults.

If you have run both the access-user dhcp auto-save and ipoe-server multi-sessions per-mac enable commands, the display access-user auto-save user-info command uniquely displays information about a user based on the MAC address, interface, and VLAN.

Prerequisites

  • The access-user dhcp auto-save command has been run to enable automatic backup of DHCPv4 user information globally and configure the maximum number of the DHCPv4 users.
  • The access-user dhcp auto-save enable (AAA domain view) command has been run to enable automatic backup of DHCPv4 user information in a domain.
  • The access-user dhcp auto-recover enable command has been run to enable automatic DHCPv4 user login.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the DHCPv4 user with MAC address 00e0-fc12-3451, interface GigabitEthernet 0/1/1.88, PE-VLAN 88, and CE-VLAN 0 saved in the high-end memory of the main control board.
<HUAWEI> display access-user auto-save user-info mac-address 00e0-fc12-3451 interface GigabitEthernet 0/1/1.88 pevlan 88 cevlan 0
------------------------------------------------------                        
              Auto Backup User Information                                       
  ------------------------------------------------------                        
  Index           : 0          
  Valid           : 1      
  MAC             : 00e0-fc12-3451       
  IP Address      : 192.168.1.2      
  VPN             : -            
  PeVlan/CeVlan   : 88/0        
  DHCP Server     : 192.168.1.1        
  Lease end time  : 2016/10/29 18:11:03              
  Access Interface: GigabitEthernet0/1/1.88           
  Domain          : zzz        
  DHCP Proxy      : 1         
  From Master     : 0     
  Pool Flag       : 0      
  VE              : 0        
  OuterQ/InnerQ   : 7/7        
  Agent-Circuit-Id: 0101-0088-GE      
  Agent-Remote-Id : R04-0101-0088-GE      
  Option 82 (Hex) :            
  01                
  0c30 3130   312d 3030   3838 2d47   4502 1052   3034 2d30   3130 312d 
  3030 3838   2d47 45     
  Option 60       : -         
  Option 61       : 00e0-fc12-3451     
  Status          : Online     
  Checksum        : 64417    
  ------------------------------------------------------
# Display information about the DHCPv4 user with MAC address 00e0-fc12-3456 saved in the high-end memory of the main control board.
<HUAWEI> display access-user auto-save user-info mac-address 00e0-fc12-3456
------------------------------------------------------                    
              Auto Backup User Information                                        
  ------------------------------------------------------                          
  Index           : 1        
  Valid           : 1
  MAC             : 00e0-fc12-3456                                                
  IP address      : 192.168.255.254                                               
  VPN             : -                                                             
  PeVlan/CeVlan   : 200/100                                                       
  DHCP Server     : 192.168.0.1                                                   
  Lease end time  : 2011/12/24 15:31:22                                           
  Access interface: GigabitEthernet0/1/0.3                                        
  Domain          : dom1                                                          
  Agent-Circuit-Id: circuitId_2/1/1 //2/3                                         
  Agent-Remote-Id : remoteId_2/1/1 //2/3-0-29217                                  
  Option 82       : -                                                             
  Option 60       : -                                                             
  Option 61       : 00e0-fc12-3456                                                
  ------------------------------------------------------
# Display information about online DHCPv4 users saved in the high-end memory of the main control board.
<HUAWEI> display access-user auto-save user-info online
--------------------------------------------------------------------------------
   Index    MAC              IP address        Access interface     Vlan(PVC)
--------------------------------------------------------------------------------
   0        00e0-fca7-11cc   192.168.210.218   GE0/1/0.3            200/100
   1        00e0-fca7-11cd   192.168.210.217   GE0/1/0.3            200/100
   2        00e0-fca7-11ce   192.168.210.216   GE0/1/0.3            200/100
   3        00e0-fca7-11cf   192.168.210.215   GE0/1/0.3            200/100
   4        00e0-fca7-11d0   192.168.210.214   GE0/1/0.3            200/100
   5        00e0-fca7-11d1   192.168.210.213   GE0/1/0.3            200/100
   6        00e0-fca7-11d2   192.168.210.212   GE0/1/0.3            200/100
   7        00e0-fca7-11d3   192.168.210.211   GE0/1/0.3            200/100
   8        00e0-fca7-11d4   192.168.210.210   GE0/1/0.3            200/100
   9        00e0-fca7-11d5   192.168.210.209   GE0/1/0.3            200/100
   10       00e0-fca7-11d6   192.168.210.208   GE0/1/0.3            200/100
   11       00e0-fca7-11d7   192.168.210.207   GE0/1/0.3            200/100
   12       00e0-fca7-11d8   192.168.210.206   GE0/1/0.3            200/100
   13       00e0-fca7-11d9   192.168.210.205   GE0/1/0.3            200/100
# Display information about the DHCPv4 user with MAC address 00e0-fc12-3451saved in the high-end memory of the main control board when the one-to-many mapping between one MAC address and many sessions is enabled.
<HUAWEI> display access-user auto-save user-info mac-address 00e0-fc12-3451
------------------------------------------------------
              Auto Backup User Information                   
  ------------------------------------------------------            
  Index           : 0                 
  Valid           : 1               
  MAC             : 00e0-fc12-3451     
  IP Address      : 10.1.1.2           
  VPN             : -            
  PeVlan/CeVlan   : 88/0      
  DHCP Server     : 10.1.1.1          
  Lease end time  : 2016/10/29 18:11:03      
  Access Interface: GigabitEthernet0/1/1.88    
  Domain          : zzz              
  DHCP Proxy      : 1      
  From Master     : 0      
  Pool Flag       : 0     
  VE              : 0         
  OuterQ/InnerQ   : 7/7        
  Agent-Circuit-Id: 0101-0088-GE         
  Agent-Remote-Id : R04-0101-0088-GE    
  Option 82 (Hex) :            
  01           
  0c30 3130   312d 3030   3838 2d47   4502 1052   3034 2d30   3130 312d     
  3030 3838   2d47 45       
  Option 60       : -     
  Option 61       : 00e0-fc12-3451     
  Status          : Online    
  Checksum        : 64417        
  ------------------------------------------------------
  Index           : 1            
  Valid           : 1             
  MAC             : 00e0-fc12-3451      
  IP Address      : 10.1.1.2       
  VPN             : -                 
  PeVlan/CeVlan   : 87/0            
  DHCP Server     : 10.1.1.1         
  Lease end time  : 2016/10/29 18:11:03      
  Access Interface: GigabitEthernet0/1/1.87     
  Domain          : zzz          
  DHCP Proxy      : 1         
  From Master     : 0        
  Pool Flag       : 0                              
  VE              : 0                               
  OuterQ/InnerQ   : 7/7                           
  PVC EncapType   : 0                     
  VCD             : 0               
  Agent-Circuit-Id: 0101-0088-GE                 
  Agent-Remote-Id : R04-0101-0088-GE            
  Option 82 (Hex) :                                
  01     
  0c30 3130   312d 3030   3838 2d47   4502 1052   3034 2d30   3130 312d        
  3030 3838   2d47 45                
  Option 60       : -                  
  Option 61       : 00e0-fc12-3451           
  Status          : Online      
  Checksum        : 64417    
  ------------------------------------------------------
Table 1 Description of the display access-user auto-save user-info command output
Item Description
Index

Index number of the backup user information entry. Each user has a unique index number.

Valid

Whether the backup user information entry is valid.

  • 0: invalid.
  • 1: valid.
MAC

MAC address of the DHCPv4 user.

IP address

IP address of the DHCPv4 user.

VPN

Name of the VPN instance to which the DHCPv4 user belongs.

PeVlan/CeVlan

Outer VLAN ID/inner VLAN ID of a DHCPv4 user.

DHCP Server

IP address of the DHCPv4 server.

DHCP Proxy

Whether DHCP proxy is enabled.

Lease end time

Time when the DHCPv4 user's lease expires.

Access interface

Interface through which the DHCPv4 user goes online.

Domain

Name of the domain to which the DHCPv4 user belongs.

From Master

Whether the item is from the main control board.

Pool Flag

Address pool reservation flag.

VE

VE value.

OuterQ/InnerQ

802.1p packet priority.

Agent-Remote-Id

Remote agent ID.

Option 82

Option 82 information of the DHCPv4 user.

Option 60

Option 60 information of the DHCPv4 user.

Option 61

Option 61 information of the DHCPv4 user.

Status

User status.

Checksum

Entry checksum.

Vlan(PVC)

Outer VLAN ID/inner VLAN ID of a DHCPv4 user if the interface is an Ethernet interface.

PVC EncapType

PVC EncapType.

VCD

PVC ID.

Agent-Circuit-Id

Agent circuit ID.

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