เปิดปิด port cisco

 

Simple examples of brining up and down the interfaces on CISCO devices with shutdown and no shutdown commands.

Enable an Interface on a CISCO Device
Type the following commands to enable an interface on a CISCO switch or router :

# enable
# configure terminal
(config)# interface FastEthernet 0/1
(config-subif)# no shutdown
(config-subif)# end
# write

To display a status of an interface, use the 'show interfaces status' command :

# show interfaces FastEthernet 0/1 status
Port Name Status Vlan Duplex Speed Type
Fa0/1 connected 15 full 100 10/100BaseTX

Disable an Interface on a CISCO Device

Type the following commands to disable an interface on a CISCO switch or router :

# enable
# configure terminal
(config)# interface FastEthernet 0/1
(config-subif)# shutdown
(config-subif)# end
# write

To display a status of an interface, use the 'show interfaces status' command :

# show interfaces FastEthernet 0/1 status
Port Name Status Vlan Duplex Speed Type
Fa0/1 disabled 15 full 100 10/100BaseTX

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

คู่มือฉบับสมบูรณ์ (All-in-One) ที่รวมวิธีการเข้าใช้งานทั้งบน Windows, iPhone และ Android

นี่คือ คู่มือฉบับสมบูรณ์ (All-in-One) ที่รวมวิธีการเข้าใช้งานทั้งบน Windows, iPhone และ Android...

สอนการเปิดการใช้งาน SSL ฟรี Let’s Encrypt

เปิดใช้งาน https กับ Let’s Encrypt ให้เว็บไซต์โดยใช้ DirectAdmin ก่อนอื่นมาทำความรู้จักกับ...

How to enable root user ssh login in Ubuntu 16.04, 17.04, 18.04, 19.04

How to enable root user ssh login in Ubuntu 16.04, 17.04, 18.04 , 19.04 Remote login with root...

(Vmware) How to install VMware Tools on Debian, Ubuntu and CentOS

How to install VMware Tools on Debian, Ubuntu and CentOS go to VM > Guest >...

อัพเกรด Windows Server 2012 Trail To Full

How to upgrade Windows Server 2012 R2 evaluation version to full version 8 Replies On a...

Powered by WHMCompleteSolution