web页ä¸æ¯ä¸è¡çå½ä»¤è¡æ
<S2126-1.10>
%Apr 2 00:03:53:099 2000 S2126-1.10 SHELL/5/LOGIN:- 1 - admin(192.168.5.2) in unit1 login
<S2126-1.10>
<S2126-1.10>sys è¿å
¥ç³»ç»è§å¾
System View: return to User View with Ctrl+Z.
[S2126-1.10]dis mac-address æ¥çæ¬æºmacå°å
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
0001-6cdf-4ca4 1 Config static Ethernet1/0/21
--- 1 mac address(es) found ---
[S2126-1.10]int e1/0/20 è¿å
¥è¦ç»å®ç端å£
[S2126-1.10-Ethernet1/0/20]mac-add static 0001-6cd1-3322 v 1 å°macå°åç»å®å°æ¤ç«¯å£ä¸
[S2126-1.10-Ethernet1/0/20]mac-add max-mac-count 0 设置æ¤ç«¯å£ç¦æ¢èªå¨å¦ä¹ macå°å
[S2126-1.10-Ethernet1/0/20]dis th æ¥çæ¤ç«¯å£ä¸çé
ç½®
#
interface Ethernet1/0/20
mac-address max-mac-count 0 æ¥çæ¤é
ç½®æ¯å¦åå¨ï¼ç¡®å®é
ç½®æ¯å¦æ£ç¡®ã
loopback-detection enable
mac-address static 0001-6cd1-3322 vlan 1
#
return
[S2126-1.10-Ethernet1/0/20]quit éåå°ä¸çº§è§å¾
[S2126-1.10]dis mac-address æ¥çmacå°å
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
0001-6cd1-3322 1 Config static Ethernet1/0/20 NOAGED
/////config static-æ¤åè¯è¡¨ç¤ºæ¤macå°ååºå®ç»å®å¨E1/0/20端å£ä¸///
0001-6cdf-4ca4 1 Config static Ethernet1/0/21 NOAGED
--- 2 mac address(es) found ---
[S2126-1.10]quit éåå°ä¸çº§è§å¾
<S2126-1.10>save ä¿åé
ç½®
The configuration will be written to the device.
Are you sure?[Y/N]y éæ©y
Please input the file name(*.cfg)(To leave the existing filename
unchanged press the enter key): ç´æ¥å车
Now saving current configuration to the device.
Saving configuration. Please wait...
常ç¨å½ä»¤
dis cu æ¥ç交æ¢æºæ以é
ç½®
dis mac-address æ¥çmacå°å表
dis ver æ¥ç设å¤ä¿¡æ¯
save ä¿åé
ç½®
undo å¨åå½ä»¤åå undo为å é¤åé
ç½®
åèèµæï¼H3Céç代çåå·¥ç¨å¸-ä¸ºä½ è§£å³ï¼