background image

 

Configuring loopback, null, and 
inloopback interfaces 

This chapter describes how to configure a loopback interface, a null interface, and an inloopback 
interface. 

About loopback, null, and inloopback interfaces 

About loopback interfaces 

A loopback interface is a virtual interface. The physical layer state of a loopback interface is always 
up unless the loopback interface is manually shut down. Because of this benefit, loopback 
interfaces are widely used.   

Typically you can configure a loopback interface address as the source address of the IP packets 
that the device generates.  Because loopback interface addresses are stable unicast addresses, 
they are usually used as device identifications. When you configure a rule on an authentication or 
security server, you can configure it to permit or deny packets carrying the loopback interface 
address  of a device.  This simplifies your configuration and achieves the effect of permitting  or 
denying  packets that the  device generates.  To  use a loopback interface address as the source 
address of IP packets, make sure the loopback interface is reachable from the peer by performing 
routing configuration. All data packets sent to the loopback interface are considered packets sent to 
the device itself, so the device does not forward these packets. 

About null interfaces 

A null interface is a virtual interface and is always up, but you cannot use it to forward data packets 
or configure it with an IP address or link layer protocol. The null interface provides a simpler way to 
filter packets than ACL. You can filter undesired traffic by transmitting it to a null interface instead of 
applying an ACL. For example, if you specify a null interface as the next hop of a static route to a 
network segment, any packets routed to the network segment are dropped. 

About inloopback interfaces 

An inloopback interface is a virtual interface created by the system, which cannot be configured or 
deleted. The physical layer and link layer protocol states of an inloopback interface are always up. 
All IP packets sent to an inloopback interface are considered packets sent to the device itself and 
are not forwarded. 

Configuring a loopback interface 

1. 

Enter system view. 

system-view

   

2. 

Create a loopback interface and enter loopback interface view. 

interface loopback

 

interface-number

   

3. 

Configure the interface description. 

description text

   

The default setting is 

interface name

 

Interface

 (for example, 

LoopBack0 Interface

). 

Summary of Contents for WX6600 Series

Page 1: ...guration Guide New H3C Technologies Co Ltd http www h3c com Software version WX6600 CMW710 E2442 WX6600 series WA6300 CMW710 R2442 WA6300 series WA6300 CMW710 R2442 WAP922 series WA6300 CMW710 R2442 W...

Page 2: ...H3C Technologies Co Ltd any trademarks that may be mentioned in this document are the property of their respective owners Notice The information in this document is subject to change without notice A...

Page 3: ...guments that you replace with actual values Square brackets enclose syntax choices keywords or arguments that are optional x y Braces enclose a set of required syntax choices separated by vertical bar...

Page 4: ...generic network device such as a router switch or firewall Represents a routing capable device such as a router or Layer 3 switch Represents a generic switch such as a Layer 2 or Layer 3 switch or a...

Page 5: ...ardware model configuration or software version It is normal that the port numbers sample output screenshots and other information in the examples differ from what you have on your device Documentatio...

Page 6: ...back interfaces 1 About loopback interfaces 1 About null interfaces 1 About inloopback interfaces 1 Configuring a loopback interface 1 Configuring a null interface 2 Restoring the default settings for...

Page 7: ...g routing configuration All data packets sent to the loopback interface are considered packets sent to the device itself so the device does not forward these packets About null interfaces A null inter...

Page 8: ...ace Restoring the default settings for an interface Restrictions and guidelines CAUTION This feature might interrupt ongoing network services Make sure you are fully aware of the impact of this featur...

Page 9: ...brief description down Display information about the specified or all loopback interfaces display interface loopback interface number brief description down Display information about the null interfa...

Page 10: ...1 Configuring basic settings of an Ethernet interface 1 Configuring jumbo frame support 2 Configuring dampening on an Ethernet interface 2 Setting the statistics polling interval 4 Enabling loopback t...

Page 11: ...terface or enable it to automatically negotiate a speed with its peer Restrictions and guidelines The shutdown and loopback commands are mutually exclusive Procedure 1 Enter system view system view 2...

Page 12: ...e interface flapping events from adversely affecting routing protocols and routing tables in the network Suppressing interface state change events protects the system resources If an interface is not...

Page 13: ...the start time and end time of the suppression respectively The period from t0 to t2 indicates the suppression period t0 to t1 indicates the max suppress time and t1 to t2 indicates the complete deca...

Page 14: ...ternal loopback testing Tests the device where the Ethernet interface resides The Ethernet interface sends outgoing packets back to the local device If the device fails to receive the packets the devi...

Page 15: ...nance commands Execute display commands in any view and reset commands in user view Task Command Display interface traffic statistics display counters inbound outbound interface interface type interfa...

Page 16: ...ts Bulk configuring interfaces 1 About interface bulk configuration 1 Restrictions and guidelines Bulk interface configuration 1 Procedure 2 Display and maintenance commands for bulk interface configu...

Page 17: ...command Do not assign both an aggregate interface and any of its member interfaces to an interface range Some commands after being executed on both an aggregate interface and its member interfaces can...

Page 18: ...pe interface number 1 24 3 Optional Display commands available for the first interface in the interface range Enter a question mark at the interface range prompt 4 Use available commands to configure...

Reviews: