Sunday, January 22, 2017

The ONT Broadband Service Management of display ont-learned-mac

Function Description

This topic provides the commands related to the ONT broadband service configuration.

Function

This command is used to query the information about the MAC addresses learned on the ONT that is connected to a PON port. To query the information about the MAC addresses learned on the ONT for problem location, run this command.

Format

display ont-learned-mac frameid/slotid/portid ontid [ port-type ont-portid [ vlanid ] | wlan ]

Parameters

Parameter Description Value
frameid/slotid/portid Indicates the shelf ID/slot ID/port ID of a PON port. Character string type, a string of 5-15 characters.
ontid Indicates the ONT ID. Numeral type. Range: varies with the board type.
port-type Indicates the ONT port type. Enumerated type. Options: ETH.
ont-portid Indicates the ONT port ID. Numeral type. Range: 1-8.
vlanid Indicates the VLAN ID. Numeral type. Range: 1-4094.
wlan Indicates the WLAN query mode. -

Modes

Privilege mode, GPFD, GPBD

Level

Operator level

Usage Guidelines

When the MAC addresses learned on the ONT that is connected to a PON port are queried, the system displays a maximum of 1000 MAC addresses that are first learned.

Example

To query the MAC addresses learned on Ethernet port 2 on ONT 10 that is connected to PON port 0/3/3, do as follows:
huawei#display ont-learned-mac 
{ frameid/slotid/portid<S><Length 5-15> }:0/3/3
{ ontid<U><0,127> }:10
{ <cr>|port-type<E><eth,vdsl>|wlan<K> }:eth
{ ont-portid<U><1,8> }:2
{ <cr>|vlanid<U><1,4094> }: 
    
  Command:            
          display ont-learned-mac 0/3/3 10 eth 2
  -----------------------------------------------------------------        
  F/S/P  ONTID    ONT        ONT       MAC-ADDRESS       VLAN
                  port-type  port-ID
  -----------------------------------------------------------------        
  0/ 3/3  10    ETH       2       00e0-fc20-47b9       200
  0/ 3/3  10    ETH       2       00e0-fc20-47ba       200
  -----------------------------------------------------------------
  Total: 2 
To query the MAC addresses learned in VLAN 200 on Ethernet port 2 on ONT 10 that is connected to PON port 0/3/3, do as follows:
huawei#display ont-learned-mac                 
{ frameid/slotid/portid<S><Length 5-15> }:0/3/3
{ ontid<U><0,127> }:10
{ <cr>|port-type<E><eth,vdsl>|wlan<K> }:eth
{ ont-portid<U><1,8> }:2
{ <cr>|vlanid<U><1,4094> }:200                            
                                                                                
  Command:                                                                      
          display ont-learned-mac 0/3/3 10 eth 2 200
  
  ---------------------------------------------------------------        
  F/S/P  ONTID    ONT        ONT       MAC-ADDRESS       VLAN
                  port-type  port-ID
  ---------------------------------------------------------------        
  0/ 3/3  10    ETH       2       00e0-fc20-47b9       200
  0/ 3/3  10    ETH       2       00e0-fc20-47ba       200
  ---------------------------------------------------------------
  Total: 2 
To query the MAC addresses learned in VLAN 200 on Ethernet port 2 on ONT 10 that is connected to PON port 0/3/3, do as follows:
huawei#display ont-learned-mac                 
{ frameid/slotid/portid<S><Length 5-15> }:0/3/3
{ ontid<U><0,127> }:10
{ <cr>|port-type<E><eth,vdsl>|wlan<K> }:wlan                         
                                                                                
  Command:                                                                      
          display ont-learned-mac 0/3/3 10 wlan
  
  ---------------------------------------------------------------        
  F/S/P  ONTID    ONT        ONT       MAC-ADDRESS       VLAN
                  port-type  port-ID
  ---------------------------------------------------------------        
  0/ 3/3  10    WLAN       1       00e0-fc20-47b9       -
  0/ 3/3  10    WLAN       2       00e0-fc20-47ba       -
  ---------------------------------------------------------------
  Total: 2 
  Note: When the ONT port-type is WLAN, the ONT port-ID indicates WLAN SSID index

System Response

  • The system displays the queried result when the command runs successfully.
  • Parameter Description
    F/S/P Indicates the shelf ID/slot ID/port ID of the ONT.
    ONT ID Indicates the ONT ID.
    ONT port-type Indicates the ONT port type.
    ONT port-ID Indicates the ONT port ID.
    MAC-ADDRESS Indicates the queried MAC address.
    VLAN Indicates the VLAN ID.
    WLAN Indicates the WLAN query mode. 
More blog:

No comments:

Post a Comment