Configuring Loopback
DETAILED STEPS
| Command or Action | Purpose | |
|
|
|
|
Step 1 | enable |
| Enables privileged EXEC mode. |
|
|
| • Enter your password if prompted. |
| Example: |
|
|
| Router> enable |
| |
|
|
| |
Step 2 | configure terminal | Enters global configuration mode. | |
| Example: |
|
|
| Router# configure terminal |
| |
Step 3 | interface type slot/subslot/port number | Enters the configuration mode for | |
|
|
| Ethernet transport on the EHWIC |
| Example: |
| interface on the router. |
|
|
| |
| Router(config)# interface ethernet |
| |
| 0/3/0 |
|
|
|
|
| |
Step 4 | ip address | Sets the IP address and subnet mask for | |
|
|
| the interface. |
| Example: |
|
|
|
| ||
| 192.168.12.2 | 255.255.255.0 |
|
|
|
|
|
Step 5 | shutdown |
| Disables the interface, changing its state |
|
|
| from administratively up to |
| Example: |
| administratively down. |
|
|
| |
|
| ||
|
|
|
|
Step 6 | no shutdown |
| Enables the interface, changing its state |
|
|
| from administratively down to |
| Example: |
| administratively up. |
|
|
| |
|
| ||
|
|
|
|
Step 7 | exit |
| Exits configuration mode and returns to |
|
|
| global configuration mode. |
| Example: |
|
|
|
| ||
| Router(config)# |
| |
|
|
|
|
Configuring Loopback
Use the loopback command in interface configuration mode to configure loopback. The
EHWIC 1
Configuring Gigabit Ethernet Enhanced
| 5 |
| |
|
|