在S6506路由器中增加/刪除埠應用

guyuanli發表於2010-08-26

S6506路由器
開啟或清除埠

1.telnet到路由器確定埠在哪個VLAN下
#telnet 10.248.2.2
display current-configuration
埠的配置資訊大概是這樣的:

[@more@]

interface GigabitEthernet6/0/12
port access vlan 10
#
interface GigabitEthernet6/0/13
port access vlan 10
#
interface GigabitEthernet6/0/14
port access vlan 10
注意:下面有port一行的說明埠已經開啟

2.進入系統模式,進入VLAN
system-view
System View: return to User View with Ctrl+Z.
[CP_S6506_1]vlan 10
[CP_S6506_1-vlan10]
3.執行命令開啟或清除埠
[CP_S6506_1-vlan10]port GigabitEthernet 6/0/13 --開啟
[CP_S6506_1-vlan10]undo port GigabitEthernet 6/0/13 --清除
4.儲存
[CP_S6506_1-vlan10]quit
[CP_S6506_1]quit
save
The configuration will be written to the device.
Are you sure?[Y/N]y
Now saving current configuration to the device.
Saving configuration flash:/vrpcfg.cfg. Please wait...
........
Configuration is saved to flash memory successfully.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7490392/viewspace-1037423/,如需轉載,請註明出處,否則將追究法律責任。

相關文章