The most common settings on an Ethernet interface are:
example:
port speed;
duplex;
IP address.
These can be set by the following commands:
Router>
! go to enable mode
Router>enable
Router#
!
! go to global configuration mode
Router#config t
Go to configuration of interface FasteEthernet 0/0 (module 0 / interface 0)
Router(config)# interface FastEthernet 0/0
! set IP address and subnet mask
Router(config-if)#ip address 192.168.0.1 255.255.255.0
! set port speed fixed to 100Mb/s
Router(config-if)#speed 100
! set duplex fixed to full-duplex
Router(config-if)#duplex full
! enable interface
Router(config-if)#no shutdown
! exit configuration mode
Router(config-if)#ctrl-Z
! write configuration to NVRAM
Router#wr
|