Monday, January 2, 2017

The Port Bind Configuration of display bind(distributing-mode)

Function

This command is used to query the binding between the IP address and the traffic stream. When a user cannot go online, and the IP address is bound, run this command to check whether the IP address of the user is bound to the traffic stream.

Format

display bind { adsl | shdsl } frameid/slotid/portid { vpi vpi vci vci [ single-service | user-encap user-encap | user-vlan { untagged | user-vlanid } | user-8021p user-8021p [ user-vlan user-vlanid ] ] | autosense }
display bind atm frameid/slotid/portid [ vpi vpi vci vci single-service ]
display bind eth frameid/slotid/portid { stream | user-encap user-encap | user-vlan { untagged | user-vlanid } | user-8021p user-8021p [ user-vlan user-vlanid ] }
display bind { adsl | shdsl | eth } frameid/slotid/portid
display bind vdsl frameid/slotid/portid { stream | user-encap user-encap | user-vlan { untagged | user-vlanid } | user-8021p user-8021p [ user-vlan user-vlanid ] | autosense }
display bind vdsl frameid/slotid/portid [ vpi vpi vci vci [ single-service | user-encap user-encap | user-vlan { untagged | user-vlanid } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] ] ]
display bind vdsl frameid/slotid/portid autosense
display bind gpon frameid/slotid/portid [ gemport gemportid [ { user-vlan { untagged | user-vlanid } | user-8021p user-8021p [ user-vlan user-vlanid ] } ] ]
display bind service-port index
display bind all

Parameters

Parameter Description Value
adsl Indicates the IP address bound to the ADSL traffic stream. To access the network in the ADSL mode, use this parameter. -
shdsl Indicates the IP address bound to the SHDSL traffic stream. To access the network in the SHDSL mode, use this parameter. -
atm Indicates the IP address bound to the ATM traffic stream. To access the network in the ATM mode, use this parameter. -
eth Indicates the IP address bound to the ETH traffic stream. To access the network in the ETH mode, use this parameter. -
vdsl Indicates the IP address bound to the VDSL traffic stream. To access the network in the VDSL mode, use this parameter. -
gpon Indicates the IP address bound to the GPON traffic stream. To access the network in the GPON mode, use this parameter. -
frameid/slotid/portid Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack, slot, and port IDs. To specify a traffic stream by its physical position, use this parameter. Please see Differences Between Shelves.
vpi vpi Indicates the VPI of the traffic stream. It is used with the VCI to identify a virtual path.
Numeral type. Range:
  • xDSL board. Range: 0-255.
  • Other boards. Range: 0-4095.
vci vci Indicates the VCI of the traffic stream. It is used with the VPI to identify a virtual path.
  • Numeral type. xDSL board. Range: 32-255.
  • Numeral type. Other boards. Range: 32-65535.
single-service When the port type is single port for single traffic stream, use this parameter. -
autosense Indicates an auto-sense traffic stream. When the traffic stream learns the user VPI/VCI automatically, use this parameter. -
stream To query the IP address bound to the port in the case of single port for single service, in the ETH access or the PTM access of VDSL, use this parameter. Numeral type. Range: 0-255.
user-vlan user-vlanid Indicates the VLAN ID on the user side. To query the IP address bound to the physical port with the VLAN on the user side, use this parameter. Numeral type. Range: 1-4095.
user-8021p user-8021p Indicates the user priority. To query the IP address bound to the physical port with the user priority, use this parameter. Numeral type. Range: 0-7.
user-encap user-encap
Indicates the user-side encapsulation type. To differentiate users by the user-side encapsulation type, use this parameter.
  • When the IPv4oE or IPv6oE traffic stream exists on the port, the IPoE traffic stream cannot be created.
  • When the IPoE traffic stream exists on the port, the IPv4oE or IPv6oE traffic stream cannot be created.
Enumerated type. Options: ipoe and pppoe, where:
  • When the user-side packets are non-PPPoE packets, such as IPoE packets, ARP packets, and RARP packets, use ipoe.
  • When the user-side packets are PPPoE packets, use pppoe.
untagged Indicates that when the traffic stream carries multiple services classified by user VLAN, you can specify the packet as untagged.
The untagged packet does not contain the VLAN information.
-
all Queries the binding between all traffic streams and the IP address. -
service-port index Indicates the traffic stream ID. It uniquely identifies a traffic stream.
Numeral type,Range:
  • SCUK/SCUL/SCUN:0-32767.
  • SCUB/SCUF:0-16383.
  • SCUH/SCUV:0-131071.
  • MCUD/MCUD1/MCUE:0-20479.
gemport gemportid Indicates the GEM port ID. GEM ports of each PON port are numbered in a centralized way. GEM ports 0-127 are reserved for the private use of OMCI and GEM ports 4000-4095 serve as channels for special use. Numeral type. Range: 128-3999.

Modes

Privilege mode

Level

Operator level

Usage Guidelines

None

Example

To query the binding between the IP address and the traffic stream of GEM port 128 on GPON port 0/3/0, do as follows:
huawei#display bind gpon 0/3/0 gemport 128   
  -------------------------                                                     
  No.     IP address                                                            
  -------------------------                                                     
  0       10.10.10.2                                                            
  1       2001:0DB8:0:CD30::/64                                                                     
  2       -                                                                     
  3       -                                                                     
  4       -                                                                     
  5       -                                                                     
  6       -                                                                     
  7       -                                                                     
  -------------------------     
To query the binding between all traffic streams and the IP address, do as follows:
huawei#display bind all   
  --------------------------------------------------------------------          
  SRV-P   TYPE  F /S /P    VLAN ID VPI  VCI   FLOWTYPE FLOWPARA  IP-NUM          
  INDEX                                                                         
  --------------------------------------------------------------------          
      5   adsl  0 /3 /0          10 0    35    vlan     100           1         
      2   adsl  0 /3 /0          10 0    37    -        -             8               
  --------------------------------------------------------------------          
  Total: 2                                                                      
  Note: F--Frame, S--Slot, P--Port,
        VPI indicates GEM Port ID for GPON,
        v/e--vlan/encap, pri-tag--priority-tagged,
        ppp--pppoe, ip--ipoe, ip4--ipv4oe, ip6--ipv6oe
To query the binding between traffic stream 0 and the IP address, do as follows:
huawei#display bind service-port 0   
  -----------------------------------------------
  No.     IP address
  -----------------------------------------------
  0       2001:DB8:0:CD30::/64
  1       10.10.1.100
  2       -
  3       -
  4       -
  5       -
  6       -
  7       -
  -----------------------------------------------

System Response

  • The system displays the queried result when the command runs successfully.
  • The following table describes the parameters in response to the display bind gpon 0/3/0 gemport 128 command.
    Parameter Description
    No. Indicates the number of the IP addresses bound to the traffic stream. Each traffic stream can be bound to a maximum of eight IP addresses.
    IP address Indicates the IP address bound to the traffic stream. "-" indicates that the IP address is not bound.
  • The following table describes the parameters in response to the display bind all command.
    Parameter Description
    SRV-P INDEX Indicates the traffic stream ID.
    Type Indicates the traffic stream type. The options are ADSL, SHDSL, VDSL, ATM, GPON, and ETH access modes.
    F /S /P Indicates the subrack ID, slot ID, and port ID.
    VLAN ID Indicates the upstream VLAN ID of the traffic stream.
    VPI In the case of an xDSL port, it is the virtual path identification. In the case of a GPON port or a EPON port, it is the ONT ID.
    VCI In the case of an xDSL port, it is the virtual channel identification. In the case of a GPON port, it is the GEM port ID. In the case of an EPON port, it is meaningless.
    FLOWTYPE Indicates the traffic type. The displayed traffic type is the same as that configured by the service-port(profile mode) command.
    FLOWPARA Indicates the flow parameter. The flow parameter differentiates by the flow type. The flow parameters displayed are consistent with that configured by the service-port(profile mode) command.
    IP-NUM Indicates the number of the IP addresses bound to the traffic stream.
    Total Indicates the number of the traffic streams bound to the IP address.

More blog:

No comments:

Post a Comment