跳转到内容
Ask AI

vlan

此内容尚不支持你的语言。

AsterNOS Model for Virtual LAN

module: asternos-vlan
+--rw vlans
+--rw vlan* [vlanid]
+--rw vlanid cmn:vlan-id
+--ro name? string
+--rw mac-limit? uint32
+--rw mac-learning? boolean
+--rw description? string
+--rw unknown-unicast-action? vlan-bum-action
+--rw unknown-multicast-action? vlan-bum-action
+--rw broadcast-action? vlan-bum-action
+--rw stp-ignored? boolean
+--rw flapping-detect? boolean
+--rw flapping-action? identityref
+--rw flapping-aging? uint16
+--rw flapping-level? uint16
augment /if:interfaces/if:interface:
+--rw vlan-config
+--rw vlan* [vlan-id]
+--rw vlan-id cmn:vlan-id
+--rw tagging-mode? enumeration
rpcs:
+---x config-vlan-group
| +---w input
| +---w vlan-ranges? vlan-range
| +---w mac-limit? uint32
| +---w mac-learning? boolean
| +---w description? string
| +---w unknown-unicast-action? vlan-bum-action
| +---w unknown-multicast-action? vlan-bum-action
| +---w broadcast-action? vlan-bum-action
| +---w stp-ignored? boolean
| +---w flapping-detect? boolean
| +---w flapping-action? identityref
| +---w flapping-aging? uint16
| +---w flapping-level? uint16
| +---w igmp-mld-snooping
| | +---w igmp-snooping
| | | +---w snooping
| | | | +---w enable? boolean
| | | | +---w fast-leave? boolean
| | | | +---w proxy-enable? boolean
| | | | +---w querier-enable? boolean
| | | | +---w querier-ip? inet:ip-address
| | | | +---w version? enumeration
| | | | +---w query-interval? uint16
| | | | +---w query-max-response-time? uint16
| | | | +---w robustness? uint8
| | | | +---w last-member-query-interval? uint16
| | | +---w mrouter
| | | | +---w mrouter-aging? uint16
| | | | +---w mrouter-interfaces
| | | | +---w mrouter-interface* [interface]
| | | | +---w interface union
| | | | +---w type? enumeration
| | | +---w mvlan
| | | +---w user-vlans* cmn:vlan-id
| | +---w mld-snooping
| | | +---w snooping
| | | | +---w enable? boolean
| | | | +---w fast-leave? boolean
| | | | +---w proxy-enable? boolean
| | | | +---w querier-enable? boolean
| | | | +---w querier-ip? inet:ip-address
| | | | +---w version? enumeration
| | | | +---w query-interval? uint16
| | | | +---w query-max-response-time? uint16
| | | | +---w robustness? uint8
| | | | +---w last-member-query-interval? uint16
| | | +---w mrouter
| | | | +---w mrouter-aging? uint16
| | | | +---w mrouter-interfaces
| | | | +---w mrouter-interface* [interface]
| | | | +---w interface union
| | | | +---w type? enumeration
| | | +---w mvlan
| | | +---w user-vlans* cmn:vlan-id
| | +---w group-limits
| | +---w group-limit* [interface]
| | +---w interface union
| | +---w max-group? uint16
| +---w interfaces
| | +---w interface* [name]
| | +---w name union
| | +---w status? enumeration
| +---w router-advertisement
| | +---w managed-flag? boolean
| | +---w other-config-flag? boolean
| | +---w link-mtu? cmn:mtu-type
| | +---w on-link-flag? boolean
| | +---w autonomous-flag? boolean
| | +---w prefixes* [prefix]
| | | +---w prefix inet:ipv6-prefix
| | +---w rdnsses* [rdnss]
| | | +---w rdnss inet:ipv6-address-no-zone
| | +---w routes* [route]
| | +---w route inet:ipv6-prefix
| | +---w preferred? enumeration
| +---w switchports* union
+---x delete-vlan-group
| +---w input
| +---w vlan-ranges? vlan-range
+---x delete-vlan-group-switchports
| +---w input
| +---w vlan-ranges? vlan-range
| +---w switchports* union
+---x show-vlan-summary
| +--ro output
| +--ro data? <anydata>
+---x show-vlan-detail
| +---w input
| | +---w vlan-id? union
| +--ro output
| +--ro data? <anydata>
+---x show-mac-flapping-config
| +---w input
| | +---w vlan-id? union
| +--ro output
| +--ro data
| +--ro mac-flapping-config* [vlan-id]
| +--ro vlan-id cmn:vlan-id
| +--ro flapping-detect? boolean
| +--ro flapping-action? identityref
| +--ro flapping-aging? uint16
| +--ro flapping-level? uint16
+---x show-mac-flapping-status
| +---w input
| | +---w vlan-id? union
| +--ro output
| +--ro data
| +--ro mac-flapping-status* [vlan-id]
| +--ro vlan-id cmn:vlan-id
| +--ro mac-address? string
| +--ro flapping-times? uint16
| +--ro last-update? string
| +--ro interface-status? string
+---x clear-mac-flapping-status
+---w input
| +---w vlan-id? union
+--ro output
+--ro result? string
PathAccess
/vlansRead-Write
/vlans/vlanRead-Write
/vlans/vlan/vlanidRead-Write
/vlans/vlan/nameRead-Only
/vlans/vlan/mac-limitRead-Write
/vlans/vlan/mac-learningRead-Write
/vlans/vlan/descriptionRead-Write
/vlans/vlan/unknown-unicast-actionRead-Write
/vlans/vlan/unknown-multicast-actionRead-Write
/vlans/vlan/broadcast-actionRead-Write
/vlans/vlan/stp-ignoredRead-Write
/vlans/vlan/flapping-detectRead-Write
/vlans/vlan/flapping-actionRead-Write
/vlans/vlan/flapping-agingRead-Write
/vlans/vlan/flapping-levelRead-Write
/?/interfaces/interface/vlan-configRead-Write
/?/interfaces/interface/vlan-config/vlanRead-Write
/?/interfaces/interface/vlan-config/vlan/vlan-idRead-Write
/?/interfaces/interface/vlan-config/vlan/tagging-modeRead-Write

Path

/vlans

Node Type

container

Access

Read-Write

Path

/vlans/vlan

Node Type

list

Access

Read-Write

Path

/vlans/vlan/vlanid

Node Type

leaf

Description

VLAN identity

Access

Read-Write

Data Type

Constraints

Valid range: 1 to 4094

Path

/vlans/vlan/name

Node Type

leaf

Access

Read-Only

Data Type

Path

/vlans/vlan/mac-limit

Node Type

leaf

Description

Limit the number of dynamic MAC addresses to be learned: when the mac number reaches the threshold, dynamic MAC addresses are no longer learned. 0 means no limit.

Access

Read-Write

Data Type

Constraints

Valid range: 0 to 32000

Path

/vlans/vlan/mac-learning

Node Type

leaf

Description

Set mac-learning mode for vlan, if disable, vlan will not learn mac

Access

Read-Write

Data Type

Constraints

Valid in [true, false]

Path

/vlans/vlan/description

Node Type

leaf

Description

Set textual description of the vlan

Access

Read-Write

Data Type

Constraints

String with length: 1 to 127

Path

/vlans/vlan/unknown-unicast-action

Node Type

leaf

Description

Set the unknown unicast packets forwarding action

Access

Read-Write

Data Type

Constraints

Enumeration with options:

  • flood
  • drop

Path

/vlans/vlan/unknown-multicast-action

Node Type

leaf

Description

Set the unknown multicast packets forwarding action

Access

Read-Write

Data Type

Constraints

Enumeration with options:

  • flood
  • drop

Path

/vlans/vlan/broadcast-action

Node Type

leaf

Description

Set the broadcast packets forwarding action

Access

Read-Write

Data Type

Constraints

Enumeration with options:

  • flood
  • drop

Path

/vlans/vlan/stp-ignored

Node Type

leaf

Description

Ignore STP BPDU. If enabled, the VLAN will not participate in the processing of the STP state machine.

Access

Read-Write

Data Type

Constraints

Valid in [true, false]

Path

/vlans/vlan/flapping-detect

Node Type

leaf

Description

Set mac flapping detection enable

Access

Read-Write

Data Type

Constraints

Valid in [true, false]

Path

/vlans/vlan/flapping-action

Node Type

leaf

Description

Set interface shutdown when mac-flapping is detected

Access

Read-Write

Data Type

Constraints

IdentityRef with options:

  • none
  • error-down

Path

/vlans/vlan/flapping-aging

Node Type

leaf

Description

Set mac-flapping detection time window in seconds

Access

Read-Write

Data Type

Constraints

Valid range: 10 to 7200

Path

/vlans/vlan/flapping-level

Node Type

leaf

Description

Set mac-flapping detection times

Access

Read-Write

Data Type

Constraints

Valid range: 5 to 500

Path

/?/interfaces/interface/vlan-config

Node Type

container

Description

VLAN related configuration that is part of the physical

Ethernet interface.

Access

Read-Write

Path

/?/interfaces/interface/vlan-config/vlan

Node Type

list

Access

Read-Write

/?/interfaces/interface/vlan-config/vlan/vlan-id

Section titled “/?/interfaces/interface/vlan-config/vlan/vlan-id”

Path

/?/interfaces/interface/vlan-config/vlan/vlan-id

Node Type

leaf

Description

VLAN identity

Access

Read-Write

Data Type

Constraints

Valid range: 1 to 4094

/?/interfaces/interface/vlan-config/vlan/tagging-mode

Section titled “/?/interfaces/interface/vlan-config/vlan/tagging-mode”

Path

/?/interfaces/interface/vlan-config/vlan/tagging-mode

Node Type

leaf

Description

Specifies the type of interface as a vlan member

Access

Read-Write

Data Type

Constraints

Enumeration with options:

  • tagged
  • untagged