API Guide

Table Of Contents
Define the Interface Range
The following example shows how to define an interface-range macro named “test” to select 10–GigabitEthernet interfaces 5/1 through
5/4.
Dell(config)# define interface-range test tengigabitethernet 5/1 - 4
Choosing an Interface-Range Macro
To use an interface-range macro, use the following command.
Selects the interfaces range to be configured using the values saved in a named interface-range macro.
CONFIGURATION mode
interface range macro name
The following example shows how to change to the interface-range configuration mode using the interface-range macro named “test.”
Dell(config)# interface range macro test
Dell(config-if)#
Monitoring and Maintaining Interfaces
Monitor interface statistics with the monitor interface command. This command displays an ongoing list of the interface status
(up/down), number of packets, traffic statistics, and so on.
To view the interface’s statistics, use the following command.
View the interface’s statistics.
EXEC Privilege mode
Enter the type of interface and slot/port information:
For the Management interface, enter the keyword ManagementEthernet then the slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port information.
For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/port information.
For a port extender (PE) Gigabit Ethernet interface, enter the keyword peGigE then the pe-id/pe-stack—unit-id/port-number
information.
For a port extender 10-Gigabit Ethernet interface, enter the keyword peTenGigE then the pe-id/stack-unit/port-id information.
The information displays in a continuous run, refreshing every 2 seconds by default. To manage the output, use the following keys.
m — Change mode
l — Page up
T — Increase refresh interval (by 1 second)
t — Decrease refresh interval (by 1 second)
c — Clear screen
a — Page down
q — Quit
Dell#monitor interface te 3/1
FTOS uptime is 1 day(s), 4 hour(s), 31 minute(s)
Monitor time: 00:00:00 Refresh Intvl.: 2s
Interface: Te 3/1, Disabled, Link is Down, Linespeed is 1000 Mbit
Traffic statistics: Current Rate Delta
Input bytes: 0 0 Bps 0
Output bytes: 0 0 Bps 0
Input packets: 0 0 pps 0
Output packets: 0 0 pps 0
64B packets: 0 0 pps 0
Over 64B packets: 0 0 pps 0
Over 127B packets: 0 0 pps 0
414
Interfaces