1.2. Interface Operations¶
1.2.1. Configurations¶
1.2.1.1. Enter and Exit Interface Config Mode¶
Enter config mode (see Enter and Exit Configuration Mode).
# config FastEthernet 0/1
device(config)# interface FastEthernet 0/1 # or "int fa0/1"
device(config-if)# # see "(config-if)"
device(config-if)# exit
device(config)#
# config FastEthernet 0/1, 0/2, ..., 0/10
device(config)# interface range FastEthernet 0/1-10
device(config-if-range)
1.2.1.2. Change Interface Speed¶
Enter config-if mode (see Enter and Exit Interface Config Mode).
device(config-if)# speed 10 # 10Mbps
device(config-if)# speed 100 # FastEthernet
device(config-if)# speed 1000 # GigabitEthernet
device(config-if)# speed auto # auto mode (default)
1.2.1.3. Change Duplex Mode¶
Enter config-if mode (see Enter and Exit Interface Config Mode).
device(config-if)# duplex half # half duplex
device(config-if)# duplex full # full duplex
device(config-if)# duplex auto # auto mode (default)
1.2.1.4. Activate and Deactivate Port¶
Enter config-if mode (see Enter and Exit Interface Config Mode).
device(config-if)# no shutdown # activate
device(config-if)# shutdown # deactivate