Chapter 6 Interfaces

 

 

Table 13 interface General Commands: Basic Properties and IP Address Assignment (continued)

COMMAND

DESCRIPTION

[no] mss <536..1460>

Specifies the maximum segment size (MSS) the

 

interface is to use. MSS is the largest amount of

 

data, specified in bytes, that the interface can

 

handle in a single, unfragmented piece. The no

 

command has the interface use its default MSS.

[no] mtu <576..1500>

Specifies the Maximum Transmission Unit, which is

 

the maximum number of bytes in each packet

 

moving through this interface. The NXC divides

 

larger packets into smaller fragments. The no

 

command resets the MTU to 1500.

[no] shutdown

Deactivates the specified interface. The no

 

command activates it.

traffic-prioritize {tcp-ackdns} bandwidth

Applies traffic priority when the interface sends

<0..1048576> priority <1..7> [maximize-

TCP-ACK traffic, or traffic for resolving domain

bandwidth-usage];

names. It also sets how much bandwidth the traffic

 

can use and can turn on maximize bandwidth

 

usage.

 

 

traffic-prioritize {tcp-ackdns}

Turns off traffic priority settings for when the

deactivate

interface sends the specified type of traffic.

[no] upstream <0..1048576>

Specifies the upstream bandwidth for the specified

 

interface. The no command sets the upstream

 

bandwidth to 1048576.

interface send statistics interval <15..3600>

Sets how often the NXC sends interface statistics

 

to external servers. For example, a syslog server.

show interface-name

Displays all Ethernet interface system name and

 

user-defined name mappings.

interface-nameethernet_interface

Specifies a name for an Ethernet interface. It can

user_defined_name

use alphanumeric characters, hyphens, and

 

underscores, and it can be up to 11 characters

 

long.

 

ethernet_interface: This must be the system

 

name of an Ethernet interface. Use the show

 

interface-namecommand to see the system

 

name of interfaces.

 

user_defined_name:

 

• This name cannot be one of the follows:

 

"ethernet", "ppp", "vlan", "bridge", "virtual",

 

"wlan", "cellular", "aux", "tunnel", "status",

 

"summary", "all"

 

• This name cannot begin with one of the follows

 

either: "ge", "ppp", "vlan", "wlan-", "br",

 

"cellular", "aux", "tunnel".

 

 

6.2.1.1 Basic Interface Properties Command Examples

The following commands make Ethernet interface ge1 a DHCP client.

Router# configure terminal

Router(config)# interface ge1

Router(config-if)# ip address dhcp

Router(config-if)# exit

 

51

NXC CLI Reference Guide