Networking, Security & Cloud Knowledge

Monday, March 26, 2012

[030] H3C Switch configuaration example

Switch used:      H3C S5100-24P


Commands:
To see currnet configuaration
display current-configuration

To see hardware details
display version

H3C Comware Platform Software
Comware Software, Version 3.10, Release 2201
Copyright (c) 2004-2008 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
H3C S5100-24P-SI uptime is 0 week, 0 day, 0 hour, 11 minutes
H3C S5100-24P-SI with 1 Processor
64M bytes DRAM
16M bytes Flash Memory
Config Register points to FLASH
Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 619

[SubSlot 0] 24 GE ( 4 COMBO ) Hardware Version is REV.B


To enter privilege mode
system-view
System View: return to User View with Ctrl+Z.
[H3C]

To assign the port in vlan
[H3C] vlan 1000
[H3C-vlan 1000] port GigabitEthernet 1/0/2
[H3C-vlan 1000] port GigabitEthernet 1/0/2 to GigabitEthernet 1/0/24
[H3C-vlan 1000] quit

To add default gateway / static route
[H3C]ip route-static 0.0.0.0 0.0.0.0 next-hop-address

To reboot the switch
reboot 


To save the configuaration
save

To set the ip addres on interface
[H3C] intervace vlan 1

[H3C-Vlan-interface1] ip address 10.10.10.10 24


To remove / delete old command
delete / undo


To enable telnet:
[H3C]user-interface vty 0
[H3C-ui-vty0-4]user privilege level 3

[H3C-ui-vty0-4]set authentication password simple PASSWORD
[H3C-ui-vty0-4]

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.