cisco_bridge_common

package
v0.0.0-...-50def94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

This module contains a collection of Cisco specific YANG type definitions for Layer 2 Bridging.

Terms and Acronyms

BD : Bridge Domain

DAI : Dynamic ARP Inspection

DHCP : Dynamic Host Configuration Protocol

IGMP :  Internet Group Management Protocol

IPSG : IP Source Guard

MLD : Multicast Listener Discovery

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthTrafficClass

type EthTrafficClass string

EthTrafficClass represents Traffic class for layer 2 ethernet transport

const (
	// Ethernet frames with destination mac-address
	// eqaul to FFFF.FFFF.FFFF
	EthTrafficClass_broadcast EthTrafficClass = "broadcast"

	// Ethernet frame with destination MAC address not equal
	// to the broadcast address, but with the multicast bit set
	// to 1.
	EthTrafficClass_multicast EthTrafficClass = "multicast"

	// Ethernet frames with with a packet destination MAC
	// address not yet learned.
	EthTrafficClass_unknown_unicast EthTrafficClass = "unknown-unicast"
)

type MacAgingType

type MacAgingType string

MacAgingType represents MAC aging mechanism.

const (
	// Dynamically learnt MAC entries are aged out after
	// configured aging time only if no data traffic is
	// detected during aging period.
	MacAgingType_inactivity MacAgingType = "inactivity"

	// Dynamically learnt MAC entries are aged out after
	// configured aging time.
	MacAgingType_absolute MacAgingType = "absolute"
)

type MacLimitAction

type MacLimitAction string

MacLimitAction represents Actions to be taken once mac limit threshold is exceeded.

const (
	// No action
	MacLimitAction_none MacLimitAction = "none"

	// Stop mac learning and flood unknown unicast traffic.
	MacLimitAction_flood MacLimitAction = "flood"

	// Stop mac learning and drop unknown unicast traffic.
	MacLimitAction_drop MacLimitAction = "drop"

	// Bring down operational status of the interface.
	MacLimitAction_shutdown MacLimitAction = "shutdown"
)

type MacLimitNotificationType

type MacLimitNotificationType struct {
}

func (MacLimitNotificationType) String

func (id MacLimitNotificationType) String() string

type MacSecureAction

type MacSecureAction string

MacSecureAction represents Actions to be taken upon mac secure violation.

const (
	// Forward the violating packet and allow the MAC to be
	// relearned.
	MacSecureAction_none MacSecureAction = "none"

	// Drop violating packet.
	MacSecureAction_restrict MacSecureAction = "restrict"

	// Force shutdown the violating bridge port.
	MacSecureAction_shutdown MacSecureAction = "shutdown"
)

type NotifNone

type NotifNone struct {
}

func (NotifNone) String

func (id NotifNone) String() string

type NotifSnmpTrap

type NotifSnmpTrap struct {
}

func (NotifSnmpTrap) String

func (id NotifSnmpTrap) String() string

type NotifSyslog

type NotifSyslog struct {
}

func (NotifSyslog) String

func (id NotifSyslog) String() string

type NotifSyslogAndSnmpTrap

type NotifSyslogAndSnmpTrap struct {
}

func (NotifSyslogAndSnmpTrap) String

func (id NotifSyslogAndSnmpTrap) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL