Configuring basic settings – H3C Technologies H3C SR6600 User Manual

Page 65

Advertising
background image

55

Configuring basic settings

Step Command

Remarks

1.

Set the current time and date. clock datetime time date

Optional.
Available in user view.

2.

Enter system view.

system-view

Required.
Available in user view.

3.

Enter Ethernet interface view.

interface interface-type
interface-number

N/A

4.

Specify an IP address for the

interface.

ip address ip-address { mask-length
| mask } [ sub ]

By default, no IP address is
assigned to any interface.

5.

Return to system view.

quit

Available in any view.

6.

Specify a static route.

ip route-static dest-address { mask |
mask-length } { next-hop-address |
interface-type interface-number

[ next-hop-address ] | vpn-instance

d-vpn-instance-name
next-hop-address
} track

track-entry-number [ preference

preference-value ] [ tag tag-value ]
[ description description-text ]

Required.
By default, the preference of a
static route is 60, tag is 0, and no

description is configured.
Do not specify the permanent
keyword together with the bfd or

track keyword.

7.

Save the current configuration

to the startup configuration file
in the root directory of the

storage media.

save [ safely ] [ backup | main ]
[ force ]

Available in any view.

8.

Verify the running
configuration.

display current-configuration

Available in any view.

Advertising