index











zhaoyatao.com

go to bottom

h3c switch commands


























# 1

// Directory of flash:/
dir



// enter system mode
system-view



// exit
quit



// help
?



// Display current system information
dispaly this












# 2
// check all vlan
display vlan all
// NOT THIS:
vlan all


// if you need to delete some vlans(41-4094):
undo vlan 41 to 4094

// done












# 3
// Status and configuration information 
display interface



// show table
display interface brief














# 4
// how to change a switch 7 port's vlan from 10 to 30
display interface brief




// [] system-view execut this:
interface G1/0/7





display this
/*
#
interface GigabitEthernet1/0/7
 port access vlan 10
 stp edged-port enable
#
*/






port access vlan 30
display this
/*
#
interface GigabitEthernet1/0/7
 port access vlan 30
 stp edged-port enable
#
*/


quit


save force

// done















# 5

// dis
display cpu-usage
display cpu-usage history
display environment
display power

display alarm 
display transceiver alarm 
display device 
display clock
display transceiver alarm interface

display fan

display version
display current-configuration





















back to top