Cisco Interface Konfiguration: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Interface Status= *c3750#show interfaces status <pre> Port Name Status Vlan Duplex Speed Type Fa1/0/1 no…“)
 
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 13: Zeile 13:
 
Gi1/0/4                      notconnect  1            auto  auto Not Present
 
Gi1/0/4                      notconnect  1            auto  auto Not Present
 
</pre>
 
</pre>
 +
=Speed ändern=
 +
*c3750#configure terminal
 +
*c3750(config)#interface fa1/0/3     
 +
*c3750(config-if)#speed 10
 +
Jan 28 13:07:46.067: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to down
 +
*c3750(config-if)#
 +
Jan 28 13:07:48.072: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to up
 +
*c3750(config-if)#do show interface status
 +
<pre>
 +
Port      Name              Status      Vlan      Duplex  Speed Type
 +
Fa1/0/1                      notconnect  1            auto  auto 10/100BaseTX
 +
Fa1/0/2                      notconnect  1            auto  auto 10/100BaseTX
 +
Fa1/0/3                      connected    1          a-full    10 10/100BaseTX
 +
</pre>
 +
=Duplex ändern=
 +
*c3750(config-if)#duplex ?
 +
  auto  Enable AUTO duplex configuration
 +
  full  Force full duplex operation
 +
  half  Force half-duplex operation
 +
*c3750(config-if)#duplex half
 +
Jan 28 13:09:40.101: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to down
 +
Jan 28 13:09:41.100: %LINK-3-UPDOWN: Interface FastEthernet1/0/3, changed state to down
 +
*c3750(config-if)#do show interface status
 +
<pre>
 +
Port      Name              Status      Vlan      Duplex  Speed Type
 +
Fa1/0/1                      notconnect  1            auto  auto 10/100BaseTX
 +
Fa1/0/2                      notconnect  1            auto  auto 10/100BaseTX
 +
Fa1/0/3                      connected    1            half    10 10/100BaseTX
 +
</pre>
 +
=Wieder zurück=
 +
*c3750(config-if)#duplex auto
 +
*c3750(config-if)#speed 100
 +
=Interface Range=
 +
*c3750(config)#interface range Fa1/0/5-10
 +
*c3750(config-if-range)#speed 10
 +
*c3750(config-if-range)#do show interface status
 +
<pre>
 +
Port      Name              Status      Vlan      Duplex  Speed Type
 +
Fa1/0/1                      notconnect  1            auto  auto 10/100BaseTX
 +
Fa1/0/2                      notconnect  1            auto  auto 10/100BaseTX
 +
Fa1/0/3                      connected    1          a-full    100 10/100BaseTX
 +
Fa1/0/4                      notconnect  1            auto  auto 10/100BaseTX
 +
Fa1/0/5                      notconnect  1            auto    10 10/100BaseTX
 +
Fa1/0/6                      notconnect  1            auto    10 10/100BaseTX
 +
Fa1/0/7                      notconnect  1            auto    10 10/100BaseTX
 +
Fa1/0/8                      notconnect  1            auto    10 10/100BaseTX
 +
Fa1/0/9                      notconnect  1            auto    10 10/100BaseTX
 +
Fa1/0/10                    notconnect  1            auto    10 10/100BaseTX
 +
Fa1/0/11                    connected    1          a-full  a-100 10/100BaseTX
 +
Fa1/0/12                    notconnect  1            auto  auto 10/100BaseTX
 +
</pre>
 +
=Interfaces deaktivieren=
 +
*c3750#configure terminal
 +
*c3750(config)#interface range Fa1/0/10-48
 +
*c3750(config-if-range)#shutdown
 +
=Interface aktivieren=
 +
*c3750#configure terminal
 +
*c3750(config)#interface fa1/0/10
 +
*c3750(config-if)#no shutdown

Aktuelle Version vom 28. Januar 2016, 13:20 Uhr

Interface Status

  • c3750#show interfaces status
Port      Name               Status       Vlan       Duplex  Speed Type
Fa1/0/1                      notconnect   1            auto   auto 10/100BaseTX
Fa1/0/2                      notconnect   1            auto   auto 10/100BaseTX
Fa1/0/3                      connected    1          a-full  a-100 10/100BaseTX
Fa1/0/4                      notconnect   1            auto   auto 10/100BaseTX
...
Gi1/0/1                      notconnect   1            auto   auto Not Present
Gi1/0/2                      notconnect   1            auto   auto Not Present
Gi1/0/3                      notconnect   1            auto   auto Not Present
Gi1/0/4                      notconnect   1            auto   auto Not Present

Speed ändern

  • c3750#configure terminal
  • c3750(config)#interface fa1/0/3
  • c3750(config-if)#speed 10
Jan 28 13:07:46.067: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to down
  • c3750(config-if)#
Jan 28 13:07:48.072: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to up
  • c3750(config-if)#do show interface status
Port      Name               Status       Vlan       Duplex  Speed Type
Fa1/0/1                      notconnect   1            auto   auto 10/100BaseTX
Fa1/0/2                      notconnect   1            auto   auto 10/100BaseTX
Fa1/0/3                      connected    1          a-full     10 10/100BaseTX

Duplex ändern

  • c3750(config-if)#duplex ?
 auto  Enable AUTO duplex configuration
 full  Force full duplex operation
 half  Force half-duplex operation
  • c3750(config-if)#duplex half
Jan 28 13:09:40.101: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to down
Jan 28 13:09:41.100: %LINK-3-UPDOWN: Interface FastEthernet1/0/3, changed state to down
  • c3750(config-if)#do show interface status
Port      Name               Status       Vlan       Duplex  Speed Type
Fa1/0/1                      notconnect   1            auto   auto 10/100BaseTX
Fa1/0/2                      notconnect   1            auto   auto 10/100BaseTX
Fa1/0/3                      connected    1            half     10 10/100BaseTX

Wieder zurück

  • c3750(config-if)#duplex auto
  • c3750(config-if)#speed 100

Interface Range

  • c3750(config)#interface range Fa1/0/5-10
  • c3750(config-if-range)#speed 10
  • c3750(config-if-range)#do show interface status
Port      Name               Status       Vlan       Duplex  Speed Type
Fa1/0/1                      notconnect   1            auto   auto 10/100BaseTX
Fa1/0/2                      notconnect   1            auto   auto 10/100BaseTX
Fa1/0/3                      connected    1          a-full    100 10/100BaseTX
Fa1/0/4                      notconnect   1            auto   auto 10/100BaseTX
Fa1/0/5                      notconnect   1            auto     10 10/100BaseTX
Fa1/0/6                      notconnect   1            auto     10 10/100BaseTX
Fa1/0/7                      notconnect   1            auto     10 10/100BaseTX
Fa1/0/8                      notconnect   1            auto     10 10/100BaseTX
Fa1/0/9                      notconnect   1            auto     10 10/100BaseTX
Fa1/0/10                     notconnect   1            auto     10 10/100BaseTX
Fa1/0/11                     connected    1          a-full  a-100 10/100BaseTX
Fa1/0/12                     notconnect   1            auto   auto 10/100BaseTX

Interfaces deaktivieren

  • c3750#configure terminal
  • c3750(config)#interface range Fa1/0/10-48
  • c3750(config-if-range)#shutdown

Interface aktivieren

  • c3750#configure terminal
  • c3750(config)#interface fa1/0/10
  • c3750(config-if)#no shutdown