Wired Intelligent Edge

 View Only
  • 1.  CircuitID на свитчах (on switches) HP 2620-48 (J9626A)

    Posted Apr 19, 2021 02:02 PM

    Добрый день. Подскажите почему свитч HP 2620-48 (J9626A) шлет в CircuitID лишь номер порта, без Vlan??

    Google Translated:

    Good day. Tell me why the HP 2620-48 (J9626A) switch sends only the port number to the CircuitID, without Vlan ??



  • 2.  RE: CircuitID на свитчах (on switches) HP 2620-48 (J9626A)

    Posted Apr 19, 2021 08:29 PM

    Hello,

    Could you please elaborate your query in detail?

    Thanks!



  • 3.  RE: CircuitID на свитчах (on switches) HP 2620-48 (J9626A)

    Posted Apr 20, 2021 02:48 AM

    Hello

    Are you referring to DHCP Option 82 in DHCP Relay packets?

    According to the documentation this is correct: Only the port number is included and it is non-configurable

    https://techhub.hpe.com/eginfolib/networking/docs/switches/RA/16-01/5200-0142_ra_2620_mrg/content/ch03s09.html

    Circuit ID is a nonconfigurable subfield that identifies the port number of the physical port through which the routing switch received a given DHCP client request and is necessary to identify if you want to configure an Option 82 DHCP server to use the Circuit ID to select a DHCP policy to assign to clients connected to the port. This number is the identity of the inbound port. On HPE fixed-port switches, the port number used for the circuit ID is always the same as the physical port number shown on the front of the switch.

    I checked RFC 3046 but it doesnt say that the CircuitID should contain VLAN information

    3.1 Agent Circuit ID Sub-option

       This sub-option MAY be added by DHCP relay agents which terminate
       switched or permanent circuits.  It encodes an agent-local identifier
       of the circuit from which a DHCP client-to-server packet was
       received.  It is intended for use by agents in relaying DHCP
       responses back to the proper circuit.  Possible uses of this field
       include:
    
           - Router interface number
           - Switching Hub port number
           - Remote Access Server port number
           - Frame Relay DLCI
           - ATM virtual circuit number
           - Cable Data virtual circuit numbe

     

    Option 82 consists of circuitID and remote ID. The remote ID is configurable, please check if the remote-id option IP is providing what you need.

    Syntax:

    dhcp-relay option 82 <replace[validate]|drop[validate]|keep> [ip|mac|mgmt-vlan]

     
    [ip|mac|mgmt-vlan]

    Specifies the remote ID suboption that the switch uses in Option 82 fields added or appended to DHCP client packets. The type of remote ID defines DHCP policy areas in the client requests sent to the DHCP server. If a remote ID suboption is not configured, the routing switch defaults to the mac option. See Option 82 field content.

    • ip: Specifies the IP address of the VLAN on which the client DHCP packet enters the switch.

    • mac: Specifies the routing switch's MAC address. (The MAC address used is the same MAC address that is assigned to all VLANs configured on the routing switch.) This is the default setting.

    • mgmt-vlan:Specifies the IP address of the (optional) management VLAN configured on the routing switch. Requires that a management VLAN is already configured on the switch. If the management VLAN is multinetted, the primary IP address configured for the management VLAN is used for the remote ID.

    If you enter the dhcp-relay option 82 command without specifying either ip or mac, the MAC address of the switch on which the packet was received from the client is configured as the remote ID. For information about the remote ID values used in the Option 82 field appended to client requests, see Option 82 field content.