Cisco/сеанс цисководства

Материал из Urbanculture
Перейти к: навигация, поиск

Типичный сеанс цисководства[править]

Router>enable
Router#show interfaces summary 

 *: interface is up
 IHQ: pkts in input hold queue     IQD: pkts dropped from input queue
 OHQ: pkts in output hold queue    OQD: pkts dropped from output queue
 RXBS: rx rate (bits/sec)          RXPS: rx rate (pkts/sec)
 TXBS: tx rate (bits/sec)          TXPS: tx rate (pkts/sec)
 TRTL: throttle count

  Interface               IHQ   IQD  OHQ   OQD  RXBS RXPS  TXBS TXPS TRTL
-------------------------------------------------------------------------
  FastEthernet0/0          0     0    0     0     0    0     0    0    0
NOTE:No separate counters are maintained for subinterfaces
     Hence Details of subinterface are not shown

Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname r1
r1(config)#int
r1(config)#interface fa0/0
r1(config-if)#ip addr 192.0.2.1 255.255.255.0
r1(config-if)#no sh
00:06:09: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up  

r1(config-if)#do sh run | section interface
interface FastEthernet0/0
 ip address 192.0.2.1 255.255.255.0
 duplex half
r1(config-if)#