Cisco Commands

Reset Router Using Router Commands

  1. reload the factory-default configuration on the router: 
    router> enable
    router# write erase
    Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] <Press Enter key>
    router# reload
    Proceed with reload? [confirm] <Press Enter key>
    -OR-
    Would you like to enter the initial configuration dialog? [yes|no] no <Press Enter key>
    OR
    Do you want to save the configuration of the AP? [yes|no] no <Press Enter key>
  2. Wait until the reload or erase finishes and a CLI prompt or completion message appears.


Configure an IP address on a switch


config terminal
interface vlan 1
ip address 192.168.2.2 255.255.255.0
ip default-gateway 192.168.2.1

Configure DHCP on a switch

ip dhcp pool Internet_BMT
network 192.168.2.0 255.255.255.0
dns-server 1.1.1.1  8.8.8.8
default-router 192.168.2.1
ip dhcp excluded-address 192.168.2.1  192.168.2.20
end
do Write


Set  all port for VLAN1

vlan 1
name Internet_BMT
exit


#interface range ga0/1 - 24
#switchport mode access
#switchport access vlan 1





Đăng nhận xét

Mới hơn Cũ hơn

Biểu mẫu liên hệ