# Switch Interfaces

routers are configured shutdown in default

switches are configured no shutdown in default which is they are up and running

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FwBXgJyUlbtIKt0xSkWk2%2Fimage.png?alt=media&#x26;token=ac02445b-ec98-492a-bd8a-8d9f8933e3bf" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2Fzs8JATbjaa1fy2tcJC6r%2Fimage.png?alt=media&#x26;token=9ba359d9-fa99-4abd-b4af-937cb482ab0a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FqCxVQDrr38yxKMezhuNg%2Fimage.png?alt=media&#x26;token=0b6f9c97-08a0-46fe-a94b-c21ea9f66211" alt=""><figcaption></figcaption></figure>

full duplex if the device is capable of receiving data and sending data at the same time

or half duplex which is not



a means auto&#x20;

```
show interface status
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FtWqo104Yn2Dbl02i2lHr%2Fimage.png?alt=media&#x26;token=50425de3-f291-4bf0-83da-5226c654cf4e" alt=""><figcaption></figcaption></figure>

```
con f 
speed ?
speed 100
duplex ?
duplex full
desc
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FBUYHgPlc4WL7jdFqE4UL%2Fimage.png?alt=media&#x26;token=c50ede45-938f-4211-bba9-122e04138b61" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2F5IdbNOe4T45riYkFAuYD%2Fimage.png?alt=media&#x26;token=ac6aa896-1096-4f41-8dab-8b237ef54d39" alt=""><figcaption></figcaption></figure>

```
interface range f0/5 - 12
desc ## not in use ##
shutdown

interface range f0/5 - 6, f0/9 - 12
no shutdown / no shut
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FLLo8P3HvjhuKdJ7TuPgd%2Fimage.png?alt=media&#x26;token=c147fb93-6f86-4c08-9fc0-ab3ad6ad1f86" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FVCM2DTLkNwsvfGFJ2QhZ%2Fimage.png?alt=media&#x26;token=0a0a9373-1dbb-4203-abfe-d7cfe8c7c99e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FIHmQE5O8u5BEsSu2H4lK%2Fimage.png?alt=media&#x26;token=03b01f89-5fd0-4a55-9626-463741e9aabf" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2Fy2oLZnUaXMr2Z2YbHiMX%2Fimage.png?alt=media&#x26;token=edec6770-1274-4bc6-8288-80e62e413941" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2F31rydRxMU0A8ZDIaaAqn%2Fimage.png?alt=media&#x26;token=9bc85f47-9907-4576-a523-fee6588efa34" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FQbj1jTfiuyduChDVaiDk%2Fimage.png?alt=media&#x26;token=f7513980-875d-454b-a0ca-e91d94cb6352" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FO4TW3gqkG7AQRYTLTw5H%2Fimage.png?alt=media&#x26;token=6e291ef6-69c7-4025-9e1f-066c656249bb" alt=""><figcaption></figcaption></figure>

This is autonegatiation enabled

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FBhXZstEhWX1wQ9Ml3hyB%2Fimage.png?alt=media&#x26;token=542825dc-c5a1-44d6-a770-d256d72f8c31" alt=""><figcaption></figcaption></figure>

This is autonegatiation disabled

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FOzsYR12jy3XbIBtvaSEW%2Fimage.png?alt=media&#x26;token=c2e4bce5-c434-46f4-ba49-7a2a15afef5a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FxNUFF8TTg0El4BS32z57%2Fimage.png?alt=media&#x26;token=0c7cf12c-b3ec-4999-bb6d-4b70a5b26ca4" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FBB1HfQzCvQW2sP1Ai6FN%2Fimage.png?alt=media&#x26;token=fbc4f636-58d4-49d0-a10c-bd01c8dd1e5e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FOAZNsQvJzq0I0la1fdha%2Fimage.png?alt=media&#x26;token=9a10a1b1-5fcc-45a2-a658-9777abe84076" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FN9TDHGRDcWnkkX8IIPZN%2Fimage.png?alt=media&#x26;token=5c9fa5f9-1ae9-45b1-9020-f3564744407c" alt=""><figcaption></figcaption></figure>



<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FIwCOoD8eXGg4KobhHrM2%2Fimage.png?alt=media&#x26;token=5eee407a-7ddf-4be1-820a-3d35f6cb1ead" alt=""><figcaption></figcaption></figure>



<pre><code>en
conf t
int g0/0
ip add 172.16.255.254 255.255.0.0

<strong># 1000 since its a gigabit
</strong>speed 1000 
duplex full
no shut
</code></pre>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2F99cY0SRzolxNM2uIAHhf%2Fimage.png?alt=media&#x26;token=e64a1894-6870-4764-847d-11d196ec4ee1" alt=""><figcaption></figcaption></figure>

```
int range g0/1 - 2 
desc ## not in use ##
```

<figure><img src="broken-reference" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FFaN9hQWXOZ4gJR1IwUl4%2Fimage.png?alt=media&#x26;token=8ca6156b-0a45-4158-83b6-8fd0e9c5f550" alt=""><figcaption></figcaption></figure>

```
copy running-config startup-config
```

<figure><img src="broken-reference" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FROFDcOa8Me1Nh4c42OAM%2Fimage.png?alt=media&#x26;token=e0c08115-c715-4f46-9010-3c268746c92e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2F0LhAu4bItxxevKwGSnyT%2Fimage.png?alt=media&#x26;token=ceba71ee-9fb1-457b-b278-6c96c7702ca9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FWmsRTOanjhdeecFKEtk8%2Fimage.png?alt=media&#x26;token=8ea28997-4ec4-41b4-9ee7-13820b0dedf1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FX5VGa9oXhnmPcPRGHcv5%2Fimage.png?alt=media&#x26;token=7ccb1902-d08b-411f-a4d4-3b8b71517e2c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2F05mM2M4h0zepihBl8ijL%2Fimage.png?alt=media&#x26;token=0ceabcda-ba70-460e-932c-77f3efa5dda3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FpKu3Quddfrfw7UkLyH11%2Fimage.png?alt=media&#x26;token=67c6f715-c16b-49a6-88b7-3db2fc816ed1" alt=""><figcaption></figcaption></figure>

```
en
conf t
hostname SW1
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FFMhzGqUOzXo8we9LQEVN%2Fimage.png?alt=media&#x26;token=793e631e-7753-4285-9adf-89d682f23162" alt=""><figcaption></figcaption></figure>

This just works in switches not in routers

```
do show interface status
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FySyoLPogutaEzKScM4M9%2Fimage.png?alt=media&#x26;token=39c00f5c-adec-4991-9a02-a9d77adaba86" alt=""><figcaption></figcaption></figure>

SW1 - interface g0/1

```
int g0/1
speed 1000
duplex 1000
desc ## to R1 ##
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2Fzwc5GuxOEYmM69vZiwMi%2Fimage.png?alt=media&#x26;token=3cfacf1a-e8c1-4686-9ccd-83345978135f" alt=""><figcaption></figcaption></figure>

SW1 - interface g0/2

```
int g0/2 
speed 1000
duplex full
desc ## to SW2 ##
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FZ3ytNe8WF6PkYHD53n91%2Fimage.png?alt=media&#x26;token=829dbafc-44d3-44c5-9dc1-daea4c629f2e" alt=""><figcaption></figcaption></figure>

SW1 - interface f0/3 - 24

```
int range f0/3 - 24
desc ## not in use ##
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FKJt0PHrzIu9WWN4UsMCv%2Fimage.png?alt=media&#x26;token=a73fa82f-f782-46d9-9205-e9749883ae31" alt=""><figcaption></figcaption></figure>

```
do show interface status
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FfYiCCmBj55lIIu0lsvLD%2Fimage.png?alt=media&#x26;token=3df0333a-7e96-4faf-949d-3583d42046d5" alt=""><figcaption></figcaption></figure>

Just shutdown the interfaces that is not in use

```
int range f0/3 - 24
shutdown
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FfsAFQEslcCbZgZ95t7u3%2Fimage.png?alt=media&#x26;token=7c1e3d09-c294-4e51-800f-a65b99440b8e" alt=""><figcaption></figcaption></figure>

```
do show interface status
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FwV15XgNPhDQLq12zihkZ%2Fimage.png?alt=media&#x26;token=24f0ca6e-3075-41c3-aab7-91ce82d479b0" alt=""><figcaption></figcaption></figure>

Add description to interface f0/1 - 2

```
int range f0/1 - 2
desc ## to end hosts ##
do show interface status
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FNn1JkPlvMIY2GtQWIH1z%2Fimage.png?alt=media&#x26;token=ae19c613-c95b-4f14-bc62-d22002e4cc10" alt=""><figcaption></figcaption></figure>

SAVE THE CHANGES

```
copy running-config startup-config
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FyYs9cD6eRz9C7JYtXraU%2Fimage.png?alt=media&#x26;token=a754cdb0-ef3a-4a23-bf17-065e227f4275" alt=""><figcaption></figcaption></figure>

SWITCH 22222222222222222222222

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FU92vQneyL0jzKC4vph06%2Fimage.png?alt=media&#x26;token=8c6dad58-e090-4684-a011-53ce84128003" alt=""><figcaption></figcaption></figure>

SW 2 - interface g0/1

```
int g0/1
speed 1000
duplex full
desc ## to SW1 ##
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FCRJX4BIaCVwBWsMKa2cB%2Fimage.png?alt=media&#x26;token=5a15dced-a76a-4779-b7cb-f7b8b2d6031f" alt=""><figcaption></figcaption></figure>

checking the status

```
do show interface status
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2F8HBF69VGOcwLudsandJj%2Fimage.png?alt=media&#x26;token=a40af4e3-7696-449d-9767-a4e9cf0f2d39" alt=""><figcaption></figcaption></figure>

SW 2 - interface g0/2

THE G0/2 interface is connected to nothing

```
int g0/2
speed 1000
duplex full
desc ## to nothing ##
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FR8OXebsKaIlvhWdR1D1X%2Fimage.png?alt=media&#x26;token=a97d8ff0-59a6-4924-86b8-035d67716c64" alt=""><figcaption></figcaption></figure>

```
int range f0/1 - 2
desc ## to end host ##
do show interface status
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FcIzk2aIFHNTL4IteG6Ob%2Fimage.png?alt=media&#x26;token=771d0bb2-ee23-4d3a-9e73-0c289fd57c3c" alt=""><figcaption></figcaption></figure>

Shut down the other interfaces

```
int range f0/3 - 24
shutdown
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FyMEvOs5m4mtiKpMKxMTl%2Fimage.png?alt=media&#x26;token=02d5ecd5-9f44-47d6-a9ae-faf058ce7ea0" alt=""><figcaption></figcaption></figure>

See the changes

```
do show interface status
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FnwDfT33oyB299WzxK1hW%2Fimage.png?alt=media&#x26;token=404eeb65-c5e4-4c9d-9722-c1d0a7ead76d" alt=""><figcaption></figcaption></figure>

Save the changes

```
copy running-config startup-config
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FV7pwJXulrSBiGKQyoKjp%2Fimage.png?alt=media&#x26;token=cb8ecd47-2970-4043-b04d-da619048c8c3" alt=""><figcaption></figcaption></figure>
