Вы находитесь на странице: 1из 3

Huawei S5700 Basic Configuration Command

Huawei S5700 basic configuration command, below are the following:

The name # set for GSH-FZ-Front


<Quidway> System-View
[Quidway] sysname Quidway

# set check equipment time zone, the time


<Quidway> clock timezone BJ add 8
<Quidway> clock datetime 18:20:30 2013-12-18
<Quidway> display clock

Remote login #telnet


<Quidway> System-View [Quidway] AAA
//////[Quidway-aaa] local-user ccssoft password cipher p@ssw0rd privilege level 15
[Quidway-aaa] local-user ccssoft ccssoft password simple
[Quidway-aaa] local-user ccssoft making service-type making telnet
[Quidway-aaa] local-user ccssoft privilege level 15
[Quidway-aaa] quit
[Quidway]user-interface vty 0 4 making / / 5 virtual terminal, that is to say you can have a
maximum of 5 terminal simultaneously connected
[Quidway-vty0-4]authentication-mode aaa
[Quidway -ui-vty0-4]quit

# add VLAN
<Quidway> System-View
[Quidway] VLAN 10
[Quidway-vlan10] quit

# set port mode


<Quidway> System-View
[Quidway] int gigabitethernet 0/0/1
[Quidway-GigabitEthernet0/0/1] port link-type access
[Quidway-GigabitEthernet0/0/1]quit # will join Vlan port
<Quidway> System-View
[Quidway] VLAN 131
[Quidway-vlan131] port gigabitethernet 0/0/21 to 0/0/22
[Quidway-Vlan131] quit

# set Trunk
<Quidway> System-View
[Quidway] interface GigabitEthernet 0/0/23
1
[Quidway-GigabitEthernet0/0/23] port link-type trunk
[Quidway-GigabitEthernet0/0/23] port trunk allow-pass VLAN 128 131

# set VLAN IP (management IP)


<Quidway> System-View
[Quidway] interface vlanif 131
[Quidway-Vlanif131] IP address 192.168.0.253 255.255.255.0
[Quidway-Vlanif131] shutdown
[Quidway-Vlanif131] undo shutdown

# setting default route


<Quidway> System-View
[Quidway] IP route-static 0.0.0.0 0.0.0.0 192.168.0.254

# set NTP
<Quidway> System-View
[Quidway] ntp-service unicast-peer 192.168.0.254

# close WEB Server, DHCP


<Quidway> System-View
[Quidway] undo HTTP server enable
[Quidway] undo DHCP enable

# save configuration
<Quidway> save

# related command
[Quidway] display version VRP display version number
[Quidway] display current-configuration display system configuration information
[Quidway] display saved-configuration display configuration information preservation
[Quidway] display interfaces brief display interface configuration information
[Quidway]display IP routing-table displays the routing table
Systname [Quidway]display making command to display the name of the router

# remove VLAN, remove the 3 layer, and then remove the 2 layer VLAN
[Quidway] undo interface Vlanif 20
[Quidway] undo VLAN 20 making

# add / remove static routing


[Quidway]ip route-static 0.0.0.0 0.0.0.0 192.168.0.254 commands are used to configure static
routes,
[Quidway]undo IP route-static making 0.0.0.0 0.0.0.0 192.168.0.254 command to delete a static
route
2
More related:
Huawei Ping Command
Summary of Switch Configurations
More Huawei products and Reviews you can visit: http://www.huanetwork.com/blog

Huanetwork.com is a world leading Huawei networking products distributor, we wholesale


original new Huawei networking equipments, including Huawei switches, Huawei routers,
Huaweisymantec security products, Huawei IAD, Huawei SFP and other Huawei networking
products. Our customers include telecom operators, Huawei resellers, ISP and system integrators.
Right now most of our sales are contributed by regular customers

Our website: http://www.huanetwork.com


Telephone: +852-30501940
Email: sales@huanetwork.com
Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong

Вам также может понравиться