Interface

interface <id>

Enter interface config mode for one port. Names: Gi0/0, Fa0/1, Se0/0/0, Vlan10, Gi0/0.10, Loopback0.

Works on: Router, SwitchMode: config

Example

R1(config)# int gi0/0
Run this command live

Don't just read it — type interface <id> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "interface <id>" command do?

Enter interface config mode for one port. Names: Gi0/0, Fa0/1, Se0/0/0, Vlan10, Gi0/0.10, Loopback0.

Example of "interface <id>"

R1(config)# int gi0/0

More Interface commands

← Back to the full command reference

interface <id> — network CLI command reference · NetForge-AI