Quick Reference Guide

System Configuration Commands | 95
interface loopback
Configure a loopback interface, and access Interface Loopback Config mode (the prompt is (Interface
loopback 0)#).
Syntax
interface loopback 0
Use no interface loopback 0 to remove the interface.
Modes
Global Config
Command
History
Usage
A loopback interface is a virtual interface in which the software emulates an interface. Basically, the
loopback interface is a handle controlling access to the CPU interface.
The prompt provides access to IP commands — ip access-group, ip address, and ip ospf — along with
port enable/disable (shutdown) and SNMP commands. This command in combination with an ACL
rule, often called a management VTY ACL, protects access to switch management. For more, see
“Applying an ACL to Loopback” in the QoS chapter of the SFTOS Configuration Guide.
monitor session
This command adds a mirrored port (source port) or probe port (destination port) to a session identified
with the session ID of 1. In all released versions of SFTOS, the session is always 1.
Syntax
[no] monitor session 1 {destination interface unit/slot/port | source interface unit/slot/port
| mode}
Related
Commands
interface
Accesses the Interface Config mode for a designated logical or physical interface.
ip address (VLAN) Assigns an IP address and subnet mask to the selected VLAN to support Layer 3
routing.
interface vlan Creates a new VLAN and accesses the Interface VLAN mode for it, or selects an
existing VLAN and accesses the Interface VLAN mode for it.
tagged Adds ports or port channels to the selected VLAN as tagged interfaces.
Version 2.5.1 Introduced
Related
Commands
access-list Creates an IP access control list
ip access-group (Interface) Attaches a specified access control list to an interface
ip address (routed) Configures an IP address on a routed interface
ip ospf Enables OSPF on a router interface
show interface loopback Displays the configured loopback interface.
snmp trap link-status
(interface)
Enables link status traps by interface