5. Interface Commands

Table of Contents

get interface and set interface commands
This chapter describes commands that can be used to view and set network interface settings.

5.1 get interface

Summary of get interface commands:

Command Description
All, brvlan1, lo, wlan0, wlan0vap1, wlan0vap2, wlan0vap3, wlan0vap4, wlan0vap5, wlan0vap6, wlan0vap7, wlan0vap8, wlan0vap9, wlan0vap10, wlan0vap11, wlan0vap12, wlan0vap13, wlan0vap14, wlan0vap15, wlan1, wlan1vap1, wlan1vap2, wlan1vap3, wlan1vap4, wlan1vap5, wlan1vap6, wlan1vap7, wlan1vap8, wlan1vap9, wlan1vap10, wlan1vap11, wlan1vap12, wlan1vap13, wlan1vap14, wlan1vap15
[Enter] * Get common properties *
bss Display the Basic Service Set
description Display the description
detail * Get all properties *
ip Display the IP address
ipv6 Display the IPV6 address
ipv6-prefix-length Display the IPV6 prefix length
mac Display the MAC address
mask Display the netmask
name Display the name of the instance only
operational-status Display the Operational Status
port-isolation Identifies wireless ports are isolated from each other
priority Display the bridge priority
radio Display the Radio to run WDS over
remote-mac Display the MAC address of the far end of the WDS link
rx-bytes Display the Received bytes
rx-drop-bytes Display the Received bytes that were dropped
rx-drop-packets Display the Received packets that were dropped
rx-errors Display the Received packets with errors
rx-packets Display the Received packets
security Display the Security mode
ssid Display the Service Set IDentifier (a.k.a., Network Name)
static-ip Display the IP address to use when DHCP is disabled
static-ipv6 Display the IPV6 address to use when DHCP is disabled
static-ipv6-prefix-length Display the Prefix-length to use when DHCP is disabled
static-mask Display the Netmask to use when DHCP is disabled
ts-vi-rx-bytes Display the Received video TS bytes
ts-vi-rx-packets Display the Received video TS packets
ts-vi-tx-bytes Display the Transmitted video TS bytes
ts-vi-tx-packets Display the Transmitted video TS packets
ts-vo-rx-bytes Display the Received voice TS bytes
ts-vo-rx-packets Display the Received voice TS packets
ts-vo-tx-bytes Display the Transmitted voice TS bytes
ts-vo-tx-packets Display the Transmitted voice TS packets
tx-bytes Display the Transmitted bytes
tx-drop-bytes Display the Transmitted bytes that were dropped
tx-drop-packets Display the Transmitted packets that were dropped
tx-errors Display the Transmitted packets with errors
tx-packets Display the Transmitted packets
type Display the Type
vlan-id Display the ID to use in the tags
vlan-interface Display the Interface to send and receive tagged packets on
wapi-preshared-key Display the WAPI preshared key
wapi-psk-ascii Display the whether the WAPI preshared keys are in ASCII (or hex)
wapi-psk-length Display the WAPI PSK length
wapi-psk-method Display the WAPI PSK is cipher or pass-phrase
wds-security-policy Display the security policy of the WDS link
wds-ssid Display the SSID of the wds link
wds-wpa-psk-key Display the WPA psk key for the wds link
wep-default-key Display the WEP key to use for transmission
wep-key Display the WEP key for WDS link – blank for no WEP
wep-key-ascii Display the Whether the WEP keys are in ASCII (or hex)
wep-key-length Display the WEP key length
wep-key-mapping-length Display the WEP key mapping length

5.1.1 get interface [enter]

Function: Display interface information.
Command: get interface
Example:

ARC2000MAP# get interface wlan0
Property            Value
-------------------------------------
type                service-set
status              up
mac                 F8:F7:D3:00:26:10
ip
mask
ipv6
ipv6-prefix-length

5.1.2 get interface bss

Function: Display the Basic Service Set.
Command: get interface bss
Example:

ARC2000MAP# get interface wlan0 bss
wlan0bssvap0

5.1.3 get interface description

Function: Display the description.
Command: get interface description
Example:

ARC2000MAP# get interface wlan0 description
Wireless - Virtual Access Point 0

5.1.4 get interface detail

Function: Display all properties.
Command: get interface detail
Example:

ARC2000MAP# get interface wlan0 detail
Property                   Value
------------------------------------------------------------
type                       service-set
status                     up
description                Wireless - Virtual Access Point 0
mac                        F8:F7:D3:00:26:10
ip
static-ip
static-mask
ipv6
static-ipv6
static-ipv6-prefix-length
rx-bytes                   1298409
rx-packets                 18138
rx-errors                  0
tx-bytes                   39592302
tx-packets                 219493
tx-errors                  0
tx-drop-bytes              1087260949
rx-drop-bytes              0
tx-drop-packets            792307
rx-drop-packets            0
ts-vo-rx-packets           0
ts-vo-tx-packets           0
ts-vo-rx-bytes             0
ts-vo-tx-bytes             0
ts-vi-rx-packets           0
ts-vi-tx-packets           0
ts-vi-rx-bytes             0
ts-vi-tx-bytes             0
ssid                       VAP-2G
bss                        wlan0bssvap0
security                   plain-text
wep-key-ascii              no
wep-key-length             104
wep-default-key            1
wep-key-mapping-length     400
vlan-interface
vlan-id
radio
wep-key
operational-status

5.1.5 get interface ip

Function: Display the IP address.
Command: get interface ip
Example:

ARC2000MAP# get interface brvlan1 ip
192.168.1.22

5.1.6 get interface ipv6

Function: Display the IPV6 address.
Command: get interface ipv6
Example:

ARC2000MAP# get interface wlan0 ipv6

5.1.7 get interface ipv6-prefix-length

Function: Display the prefix-length.
Command: get interface ipv6-prefix-length
Example:

ARC2000MAP# get interface brvlan1 ipv6-prefix-length
0

5.1.8 get interface mac

Function: Display the MAC address.
Command: get interface mac
Example:

ARC2000MAP# get interface wlan0 mac
F8:F7:D3:00:03:80

5.1.9 get interface mask

Function: Display the netmask.
Command: get interface mask
Example:

ARC2000MAP# get interface brvlan1 mask
255.255.255.0

5.1.10 get interface name

Function: Display the name of the instance only.
Command: get interface name
Example:

ARC2000MAP# get interface wlan0 name
wlan0

5.1.11 get interface operational-status

Function: Display the operational status.
Command: get interface operational-status
Example:

ARC2000MAP# get interface wlan0 operational-status

5.1.12 get interface port-isolation

Function: Identifies wireless ports are isolated from each other.
Command: get interface port-isolation
Example:

ARC2000MAP# get interface brvlan1 port-isolation
off

5.1.13 get interface priority

Function: Display the bridge priority.
Command: get interface priority
Example:

ARC2000MAP# get interface wlan0 priority
128

5.1.14 get interface radio

Function: Display the radio to run WDS over.
Command: get interface radio
Example:

ARC2000MAP# get interface wlan0 radio

5.1.15 get interface remote-mac

Function: Display the MAC address of the far end of the WDS link.
Command: get interface remote-mac
Example:

ARC2000MAP# get interface wlan0 remote-mac

5.1.16 get interface rx-bytes

Function: Display the received bytes.
Command: get interface rx-bytes
Example:

ARC2000MAP# get interface wlan0 rx-bytes
2685

5.1.17 get interface rx-drop-bytes

Function: Display the received bytes that were dropped.
Command: get interface rx-drop-bytes
Example:

ARC2000MAP# get interface wlan0 rx-drop-bytes
3689

5.1.18. get interface rx-drop-packets

Function: Display the received packets that were dropped.
Command: get interface rx-drop-packets
Example:

ARC2000MAP# get interface wlan0 rx-drop-packets
9654

5.1.19 get interface rx-errors

Function: Display the received packets with errors.
Command: get interface rx-errors
Example:

ARC2000MAP# get interface wlan0 rx-errors
562

5.1.20 get interface rx-packets

Function: Display the received packets.
Command: get interface rx-packets
Example:

ARC2000MAP# get interface wlan0 rx-packets
69854

5.1.21 get interface security

Function: Display the security mode.
Command: get interface security
Example:

ARC2000MAP# get interface wlan0 security
plain-text

5.1.22 get interface ssid

Function: Display the Service Set Identifier. (a.k.a., Network Name).
Command: get interface ssid
Example:

ARC2000MAP# get interface wlan0 ssid
VAP-2G

5.1.23 get interface static-ip

Function: Display the IP address to use when DHCP is disabled.
Command: get interface static-ip
Example:

ARC2000MAP# get interface wlan0 static-ip
10.1.145.85

5.1.24 get interface static-ipv6

Function: Display the IPV6 address to use when DHCP is disabled.
Command: get interface static-ipv6
Example:

ARC2000MAP# get interface wlan0 static-ipv6
2011::100

5.1.25 get interface static-ipv6-prefix-length

Function: Display the prefix-length to use when DHCP is disabled.
Command: get interface static-ipv6-prefix-length
Example:

ARC2000MAP# get interface wlan0 static-ipv6-prefix-length
64

5.1.26 get interface static-mask

Function: Display the netmask to use when DHCP is disabled.
Command: get interface static-mask
Example:

ARC2000MAP# get interface brvlan1 static-mask
255.255.255.0

5.1.27 get interface ts-vi-rx-bytes

Function: Display the received video TS bytes.
Command: get interface ts-vi-rx-bytes
Example:

ARC2000MAP# get interface wlan0 ts-vi-rx-bytes
5489

5.1.28 get interface ts-vi-rx-packets

Function: Display the received video TS packets.
Command: get interface ts-vi-rx-packets
Example:

ARC2000MAP# get interface wlan0 ts-vi-rx-packets
6258

5.1.29 get interface ts-vi-tx-bytes

Function: Display the transmitted video TS bytes.
Command: get interface ts-vi-tx-bytes
Example:

ARC2000MAP# get interface wlan0 ts-vi-tx-bytes
7456

5.1.30 get interface ts-vi-tx-packets

Function: Display the transmitted video TS packets.
Command: get interface ts-vi-tx-packets
Example:

ARC2000MAP# get interface wlan0 ts-vi-tx-packets
9658

5.1.31 get interface ts-vo-rx-bytes

Function: Display the received voice TS bytes.
Command: get interface ts-vo-rx-bytes
Example:

ARC2000MAP# get interface wlan0 ts-vo-rx-bytes
6587

5.1.32 get interface ts-vo-rx-packets

Function: Display the received voice TS packets.
Command: get interface ts-vo-rx-packets
Example:

ARC2000MAP# get interface wlan0 ts-vo-rx-packets
9856

5.1.33 get interface ts-vo-tx-bytes

Function: Display the transmitted voice TS bytes.
Command: get interface ts-vo-tx-bytes
Example:

ARC2000MAP# get interface wlan0 ts-vo-tx-bytes
4589

5.1.34 get interface ts-vo-tx-packets

Function: Display the transmitted voice TS packets.
Command: get interface ts-vo-tx-packets
Example:

ARC2000MAP# get interface wlan0 ts-vo-tx-packets
6358

5.1.35 get interface tx-bytes

Function: Display the transmitted bytes.
Command: get interface tx-bytes
Example:

ARC2000MAP# get interface wlan0 tx-bytes
568952

5.1.36 get interface tx-drop-bytes

Function: Display the transmitted bytes that were dropped.
Command: get interface tx-drop-bytes
Example:

ARC2000MAP# get interface wlan0 tx-drop-bytes
31628

5.1.37 get interface tx-drop-packets

Function: Display the transmitted packets that were dropped.
Command: get interface tx-drop-packets
Example:

ARC2000MAP# get interface wlan0 tx-drop-packets
752

5.1.38 get interface tx-errors

Function: Display the transmitted packets with errors.
Command: get interface tx-errors
Example:

ARC2000MAP# get interface wlan0 tx-errors
562

5.1.39 get interface tx-packets

Function: Display the transmitted packets.
Command: get interface tx-packets
Example:

ARC2000MAP# get interface wlan0 tx-packets
69854

5.1.40 get interface type

Function: Display the type.
Command: get interface type
Example:

ARC2000MAP# get interface wlan0 type
service-set

5.1.41 get interface vlan-id

Function: Display the ID to use in the tags.
Command: get interface vlan-id
Example:

ARC2000MAP# get interface wlan0 vlan-id
1

5.1.42 get interface vlan-interface

Function: Display the interface to send and receive tagged packets.
Command: get interface vlan-interface
Example:

ARC2000MAP# get interface wlan0 vlan-interface

5.1.43 get interface wapi-preshared-key

Function: Display the WAPI preshared key.
Command: get interface wapi-preshared-key
Example:

ARC2000MAP# get interface wlan0 wapi-preshared-key

5.1.44 get interface wapi-psk-ascii

Function: Display the whether the WAPI preshared keys are in ASCII (or hex).
Command: get interface wapi-psk-ascii
Example:

ARC2000MAP# get interface wlan0 wapi-psk-ascii

5.1.45 get interface wapi-psk-length

Function: Display the WAPI PSK length.
Command: get interface wapi-psk-length
Example:

ARC2000MAP# get interface wlan0 wapi-psk-length

5.1.46 get interface wapi-psk-method

Function: Display the WAPI PSK is cipher or pass-phrase.
Command: get interface wapi-psk-method
Example:

ARC2000MAP# get interface wlan0 wapi-psk-method

5.1.47 get interface wds-security-policy

Function: Display the security policy of the WDS link.
Command: get interface wds-security-policy
Example:

ARC2000MAP# get interface wlan0 wds-security-policy

5.1.48 get interface wds-ssid

Function: Display the SSID of the wds link.
Command: get interface wds-ssid
Example:

ARC2000MAP# get interface wlan0 wds-ssid

5.1.49 get interface wds-wpa-psk-key

Function: Display the WPA psk key for the wds link.
Command: get interface wds-wpa-psk-key
Example:

ARC2000MAP# get interface wlan0 wds-wpa-psk-key

5.1.50 get interface wep-default-key

Function: Display the WEP key to use for transmission.
Command: get interface wep-default-key
Example:

ARC2000MAP# get interface wlan0 wep-default-key
1

5.1.51 get interface wep-key

Function: Display the WEP key for WDS link – blank for no WEP.
Command: get interface wep-key
Example:

ARC2000MAP# get interface wlan0 wep-key

5.1.52 get interface wep-key-ascii

Function: Display the whether the WEP keys are in ASCII (or hex).
Command: get interface wep-key-ascii
Example:

ARC2000MAP# get interface wlan0 wep-key-ascii
no

5.1.53 get interface wep-key-length

Function: Display the WEP key length.
Command: get interface wep-key-length
Example:

ARC2000MAP# get interface wlan0 wep-key-length
104

5.1.54 get interface wep-key-mapping-length

Function: Display the WEP key mapping length.
Command: get interface wep-key-mapping-length
Example:

ARC2000MAP# get interface wlan0 wep-key-mapping-length
400

 


5.2 set interface

Summary of set interface commands:

Command Description
All, brvlan1, lo, wlan0, wlan0vap1, wlan0vap2, wlan0vap3, wlan0vap4, wlan0vap5, wlan0vap6, wlan0vap7, wlan0vap8, wlan0vap9, wlan0vap10, wlan0vap11, wlan0vap12, wlan0vap13, wlan0vap14, wlan0vap15, wlan1, wlan1vap1, wlan1vap2, wlan1vap3, wlan1vap4, wlan1vap5, wlan1vap6, wlan1vap7, wlan1vap8, wlan1vap9, wlan1vap10, wlan1vap11, wlan1vap12, wlan1vap13, wlan1vap14, wlan1vap15
description Set the description as an ASCII string
port-isolation Set whether wireless ports are isolated from each other
priority Set the bridge priority
radio Set the Radio to run WDS over
security Set the Security mode
ssid Set the Service Set IDentifier (a.k.a., Network Name)
static-ip Set the IP address to use when DHCP is disabled
static-ipv6 Set the IPV6 address to use when DHCP is disabled
static-ipv6-prefix-length Set the Prefix-length to use when DHCP is disabled
static-mask Set the Netmask to use when DHCP is disabled
wapi-preshared-key Set the wapi-preshared-key
wapi-psk-ascii Set whether the WAPI pre-shared keys are in ASCII (or hex)
wapi-psk-length Set the wapi-psk-length
wapi-psk-method Set the WAPI PSK is cipher or pass-phrase
wds-security-policy Set the security policy of the WDS link
wds-ssid Set the SSID of the wds link
wds-wpa-psk-key Set the WPA psk key for the wds link
wep-default-key Set the WEP key to use for transmission
wep-key Set the WEP key for WDS link – blank for no WEP
wep-key-ascii Set whether the WEP keys are in ASCII (or hex)
wep-key-length Set the WEP key length
wpa-personal-key Set the WPA Personal key (shared secret)

5.2.1 set interface description

Function: Set the description as an ASCII string.
Command: set interface description
Example:

ARC2000MAP# set interface wlan0 description "Wireless - Virtual Access Point 0"

5.2.2 set interface port-isolation

Function: Set whether wireless ports are isolated from each other.
Command: set interface port-isolation
Example:

ARC2000MAP# set interface brvlan1 port-isolation off

5.2.3 set interface priority

Function: Set the bridge priority.
Command: set interface priority
Example:

ARC2000MAP# set interface wlan0 priority 128

5.2.4 set interface radio

Function: Set the radio to run WDS over. The valid value is the name of an existing radio instance.
Command: set interface radio
Example:

ARC2000MAP# set interface wlan0 radio

5.2.5 set interface security

Function: Set the security mode. The valid values are: ?plain-text?,?static-wep?,?dot1x?,?wpa-personal?,?wpa-enterprise?,?wapi-psk?,?wapi-cert?.
Command: set interface security
Example:

ARC2000MAP# set interface wlan0 security plain-text

5.2.6 set interface ssid

Function: Set the Service Set IDentifier (a.k.a., Network Name). The valid value is any string between 1 and 32 characters, need to verify that is unique among the ssids in the bss.
Command: set interface ssid
Example:

ARC2000MAP# set interface wlan0 ssid ICC-VAP-2G

5.2.7 set interface static-ip

Function: Set the IP address to use when DHCP is disabled. The valid value is the IP address or blank.
Command: set interface static-ip
Example:

ARC2000MAP# set interface wlan0 static-ip 10.1.145.85

5.2.8 set interface static-ipv6

Function: Set the IPV6 address to use when DHCP is disabled. The valid value is the IPv6 address.
Command: set interface static-ipv6
Example:

ARC2000MAP# set interface wlan0 static-ipv6 2011::100

5.2.9 set interface static-ipv6-prefix-length

Function: Set the prefix-length to use when DHCP is disabled. The valid value is IPv6 address prefix length,range:[0,128].
Command: set interface static-ipv6-prefix-length
Example:

ARC2000MAP# set interface wlan0 static-ipv6-prefix-length 64

5.2.10 set interface static-mask

Function: Set the netmask to use when DHCP is disabled. The valid value is the netmask in dotted-decimal notation or blank.
Command: set interface static-mask
Example:

ARC2000MAP# set interface brvlan1 static-mask 255.255.255.0

5.2.11 set interface wapi-preshared-key

Function: Set the WAPI pre-shared key.
Command: set interface wapi-preshared-key
Example:

ARC2000MAP# set interface wlan0 wapi-preshared-key

5.2.12 set interface wapi-psk-ascii

Function: Set whether the WAPI pre-shared keys are in ASCII (or hex).
Command: set interface wapi-psk-ascii
Example:

ARC2000MAP# set interface wlan0 wapi-psk-ascii yes

5.2.13 set interface wapi-psk-length

Function: Set the WAPI PSK length.
Command: set interface wapi-psk-length
Example:

ARC2000MAP# set interface wlan0 wapi-psk-length 8

5.2.14 set interface wapi-psk-method

Function: Set the WAPI PSK is cipher or pass-phrase.
Command: set interface wapi-psk-method
Example:

ARC2000MAP# set interface wlan0 wapi-psk-method pass-phrase

5.2.15 set interface wds-security-policy

Function: Set the security policy of the WDS link.
Command: set interface wds-security-policy
Example:

ARC2000MAP# set interface wlan0 wds-security-policy

5.2.16 set interface wds-ssid

Function: Set the SSID of the wds link.
Command: set interface wds-ssid
Example:

ARC2000MAP# set interface wlan0 wds-ssid

5.2.17 set interface wds-wpa-psk-key

Function: Set the WPA psk key for the wds link.
Command: set interface wds-wpa-psk-key
Example:

ARC2000MAP# set interface wlan0 wds-wpa-psk-key

5.2.18 set interface wep-default-key

Function: Set the WEP key to use for transmission. The valid
Value is [1,4].
Command: set interface wep-default-key
Example:

ARC2000MAP# set interface wlan0 wep-default-key 1

5.2.19 set interface wep-key

Function: Set the WEP key for WDS link – blank for no WEP. The valid value is the format dictated by wep-key-ascii and the length is dictated by that and the wep-key-length.
Command: set interface wep-key
Example:

ARC2000MAP# set interface wlan0 wep-key

5.2.20 set interface wep-key-ascii

Function: Set whether the WEP keys are in ASCII (or hex). The valid value is ?yes? or ?no?.
Command: set interface wep-key-ascii
Example:

ARC2000MAP# set interface wlan0 wep-key-ascii no

5.2.21 set interface wep-key-length

Function: Set the WEP key length. The valid value is: ?40?,?104?
Command: set interface wep-key-length
Example:

ARC2000MAP# set interface wlan0 wep-key-length 104

5.2.22 set interface wpa-personal-key

Function: Set the WPA Personal key (shared secret). The valid value is an ASCII string between 8 and 63 characters.
Command: set interface wpa-personal-key
Example:

ARC2000MAP# set interface wpa-personal-key wep-key-1 test

 


Return to AP Wireless CLI Table of Contents