Attributes for VPN (Layer 2) lists some key attributes for VPN in an L2VPN network.

Table 1. Attributes for VPN (Layer 2)

Attribute

Description

Allowed values

DiscoveryType

Identifies the discovery source of this VPN.

String

HasOneMember

True indicates that this VPN has one and only one member.

False indicates that this VPN has two or more members.

Boolean: true or false

Topology

Type of Topology:

  • For an LDP-signaled VPWS or VPLS, this attribute is set to FullMesh.

  • For a BGP-signaled VPWS or VPLS, this attribute is set to FullMesh.

Enum:

  • HubAndSpoke

  • FullMesh

  • SpokeAndSpoke

  • Other

VPNType

Type of VPN:

  • For an LDP-signaled VPWS, this attribute is set to L2_CIRCUIT.

  • For an LDP-signaled VPLS, this attribute is set to LDP_VPLS.

  • For a BGP-signaled VPWS, this attribute is set to BGP_L2_VPN.

  • For a BGP-signaled VPLS, this attribute is set to BGP_VPLS.

Enum:

  • RFC_2547

  • L2VPN

  • OTHER

  • BGP_IP_VPN

  • BGP_VPLS

  • L2_CIRCUIT

  • LDP_VPLS

  • OPTICAL_VPN

  • VP_OXC

  • CCC

  • BGP_L2_VPN

  • BGP_ATM_VPN

  • UNKNOWN