display ipoe session-id mac-address interface

Function

The display ipoe session-id mac-address interface command displays the session ID allocated to the user with a specified MAC address, VLAN ID, and interface name.

This command is supported only on the NetEngine 8000 F1A.

Format

display ipoe session-id mac-address mac-address interface { interface-name | interface-type interface-number } [ pe-vlan pevlan [ ce-vlan cevlan ] ]

Parameters

Parameter Description Value
mac-address mac-address

Specifies a user MAC address.

The value is in the format of H-H-H. Each H is a 4-digit hexadecimal number.

interface-type interface-number

Specifies the type and number of an interface.

-

pe-vlan pevlan

Specifies a user PE-VLAN ID.

The value is an integer ranging from 1 to 4094.

ce-vlan cevlan

Specifies a user CE-VLAN ID.

The value is an integer ranging from 1 to 4094.

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
bras-control read

Usage Guidelines

Usage Scenario

When one-to-many mapping between one MAC address and many sessions is enabled, to check the session ID allocated to the user with a specified MAC address, VLAN ID, and interface name, run the display ipoe session-id mac-address interface command.

Precautions

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

To display session information on a sub-interface, configurethe specified sub-interface and VLAN parameters

Example

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

# Display the session ID information of the user with MAC address 00e0-fc12-3456 and main interface GigabitEthernet 0/1/16.
<HUAWEI> display ipoe session-id mac-address 00e0-fc12-3456 interface GigabitEthernet 0/1/16
Mac + Vlan + Interface hash table:
-----------------------------------------------------------
SessionID MAC PeVlan CeVlan Remains
Interface Module
-----------------------------------------------------------

2147483648 00e0-fc12-3456 0 0 -
GigabitEthernet0/1/16 dhcpacc
-------------------------------
# Display the session ID of the user with MAC address 00e0-fc12-3456, interface GigabitEthernet 0/1/21.4, and PE-VLAN ID 1003.
<HUAWEI> display ipoe session-id mac-address 00e0-fc12-3456 interface GigabitEthernet0/1/21.4 pe-vlan 1003
Mac + Vlan + Interface hash table:
-----------------------------------------------------------
SessionID     MAC               PeVlan    CeVlan
Interface                      
-----------------------------------------------------------

2147484259    00e0-fc12-3456    1003      0       
GigabitEthernet0/1/21.4          

-----------------------------------------------------------
Table 1 Description of the display ipoe session-id mac-address interface command output
Item Description
Interface

Access interface name.

SessionID

User session ID allocated by the device.

MAC

User MAC address.

PeVlan

User PE-VLAN ID.

CeVlan

User CE-VLAN ID.

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