37
#
sysname H3C
#
domain default enable system
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
group-attribute allow-guest
#
interface NULL0
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
interface M-GigabitEthernet0/0/0
#
load xml-configuration
#
user-interface con 0
user-interface aux 0
user-interface vty 0 4
#
Configuring basic settings
To configure basic settings for the router:
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
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