interface management¶
Management interface
management Specification¶
Type
Configuration Resource
Element Name
management
Element URI
/axapi/v3/interface/management
Element Attributes
management_attributes
Statistics Data URI
/axapi/v3/interface/management/stats
Operational Data URI
/axapi/v3/interface/management/oper
Schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/interface/management | ||
Get Object | GET | /axapi/v3/interface/management | ||
Modify Object | POST | /axapi/v3/interface/management | ||
Replace Object | PUT | /axapi/v3/interface/management |
management attributes¶
access-list
Description: access-list is a JSON Block. Please see below for access-list
Type: Object
action
Description ‘enable’: Enable Management Port; ‘disable’: Disable Management Port;
Type: string
Supported Values: enable, disable
broadcast-rate-limit
Description: broadcast-rate-limit is a JSON Block. Please see below for broadcast-rate-limit
Type: Object
duplexity
Description ‘Full’: Full; ‘Half’: Half; ‘auto’: Auto;
Type: string
Supported Values: Full, Half, auto
Default: auto
flow-control
Description Enable 802.3x flow control on full duplex port
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ip
Description: ip is a JSON Block. Please see below for ip
Type: Object
ipv6
Type: List
lldp
Description: lldp is a JSON Block. Please see below for lldp
Type: Object
Refernce Object: /axapi/v3/interface/management/lldp
secondary-ip
Description: secondary-ip is a JSON Block. Please see below for secondary-ip
Type: Object
speed
Description ‘10’: 10 Mbs/sec; ‘100’: 100 Mbs/sec; ‘1000’: 1 Gb/sec; ‘auto’: Auto Negotiate Speed; (Interface Speed)
Type: string
Supported Values: 10, 100, 1000, auto
Default: auto
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
lldp¶
Specification
Type
object
enable-cfg
Description: enable-cfg is a JSON Block. Please see below for lldp_enable-cfg
Type: Object
notification-cfg
Description: notification-cfg is a JSON Block. Please see below for lldp_notification-cfg
Type: Object
tx-dot1-cfg
Description: tx-dot1-cfg is a JSON Block. Please see below for lldp_tx-dot1-cfg
Type: Object
tx-tlvs-cfg
Description: tx-tlvs-cfg is a JSON Block. Please see below for lldp_tx-tlvs-cfg
Type: Object
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
lldp_tx-dot1-cfg¶
Specification
Type
object
link-aggregation
Description Interface link aggregation information
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
tx-dot1-tlvs
Description Interface lldp tx IEEE 802.1 Organizationally specific TLVs configuration
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
vlan
Description Interface vlan information
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
lldp_notification-cfg¶
Specification
Type
object
notif-enable
Description Interface lldp notification enable
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
notification
Description Interface lldp notification configuration
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
lldp_tx-tlvs-cfg¶
Specification
Type
object
exclude
Description Configure which TLVs excluded. All basic TLVs will be included by default
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
management-address
Description Interface lldp management address
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
port-description
Description Interface lldp port description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
system-capabilities
Description Interface lldp system capabilities
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
system-description
Description Interface lldp system description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
system-name
Description Interface lldp system name
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
tx-tlvs
Description Interface lldp tx TLVs configuration
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
lldp_enable-cfg¶
Specification
Type
object
rt-enable
Description Interface lldp enable/disable
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx
Description Enable lldp rx
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
tx
Description Enable lldp tx
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
broadcast-rate-limit¶
Specification
Type
object
bcast-rate-limit-enable
Description Rate limit the l2 broadcast packet on mgmt port
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rate
Description packets per second. Default is 500. (packets per second. Please specify an even number. Default is 500)
Type: number
Range: 50-5000
Default: 500
ipv6¶
Specification
Type
list
Block object keys
address-type
Description ‘link-local’: Configure an IPv6 link local address;
Type: string
Supported Values: link-local
default-ipv6-gateway
Description Set default gateway (Default gateway address)
Type: string
Format: ipv6-address
inbound
Description ACL applied on incoming packets to this interface
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ipv6-addr
Description Set the IPv6 address of an interface
Type: string
Format: ipv6-address-plen
v6-acl-name
Description Apply ACL rules to incoming packets on this interface (Named Access List)
Type: string
Maximum Length: 16 characters
Maximum Length: 1 characters
Refernce Object: /axapi/v3/ipv6/access-list
secondary-ip¶
Specification
Type
object
control-apps-use-mgmt-port
Description Control applications use management port
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
default-gateway
Description Set default gateway (Default gateway address)
Type: string
Format: ipv4-address
dhcp
Description Use DHCP to configure IP address
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: dhcp and ipv4-address are mutually exclusive
ipv4-address
Description IP address
Type: string
Format: ipv4-address
Mutual Exclusion: ipv4-address and dhcp are mutually exclusive
ipv4-netmask
Description IP subnet mask
Type: string
Format: ipv4-netmask
secondary-ip
Description Global IP configuration subcommands
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ip¶
Specification
Type
object
control-apps-use-mgmt-port
Description Control applications use management port
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
default-gateway
Description Set default gateway (Default gateway address)
Type: string
Format: ipv4-address
dhcp
Description Use DHCP to configure IP address
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: dhcp and ipv4-address are mutually exclusive
ipv4-address
Description IP address
Type: string
Format: ipv4-address
Mutual Exclusion: ipv4-address and dhcp are mutually exclusive
ipv4-netmask
Description IP subnet mask
Type: string
Format: ipv4-netmask
access-list¶
Specification
Type
object
acl-id
acl-name
Description Apply an access list (Named Access List)
Type: string
Maximum Length: 16 characters
Maximum Length: 1 characters
Refernce Object: /axapi/v3/ip/access-list
stats data¶
Counter |
Size |
Description |
|
---|---|---|---|
transmitted_multicasts |
8 |
Transmitted multicasts |
|
received_broadcasts |
8 |
Received broadcasts |
|
input_err_short |
8 |
Runts |
|
received_multicasts |
8 |
Received multicasts |
|
packets_input |
8 |
Input packets |
|
transmitted_unicasts |
8 |
Transmitted unicasts |
|
input_err_long |
8 |
Giants |
|
crc |
8 |
CRC |
|
packets_output |
8 |
Output packets |
|
received_unicasts |
8 |
Received unicasts |
|
bytes_output |
8 |
Output bytes |
|
collisions |
8 |
Collisions |
|
input_errors |
8 |
Input errors |
|
bytes_input |
8 |
Input bytes |
|
transmitted_broadcasts |
8 |
Transmitted broadcasts |
|
frame |
8 |
Frames |
|
output_errors |
8 |
Output errors |
operational data¶
Counter |
Size |
Description |
|
---|---|---|---|
ipv4_acl |
string |
ipv4_acl |
|
ipv6-prefix |
string |
ipv6-prefix |
|
line_protocol |
string |
line_protocol |
|
duplexity |
string |
duplexity |
|
ipv6-link-local |
ipv6-address |
ipv6-link-local |
|
ipv4-addr |
ipv4-address |
IP address |
|
ipv6-addr |
ipv6-address |
ipv6-addr |
|
mac |
mac-address |
mac |
|
mtu |
number |
mtu |
|
ipv6_acl |
string |
ipv6_acl |
|
state |
number |
state |
|
flow_control |
number |
flow_control |
|
interface |
string |
interface |
|
ipv4-default-gateway |
string |
IP gateway address |
|
ipv6-default-gateway |
string |
ipv6-default-gateway |
|
dhcp_enabled |
number |
dhcp_enabled |
|
speed |
string |
speed |
|
ipv6-link-local-prefix |
string |
ipv6-link-local-prefix |
|
link_type |
enum |
Output contains one of the following values: - GigabitEthernet, 10Gig, 40Gig |
|
ipv4-mask |
ipv4-netmask |
IP subnet mask |