Skip to content

Instantly share code, notes, and snippets.

@hirofumihida
Last active August 31, 2018 16:04
Show Gist options
  • Save hirofumihida/8e55e9483967e57e2baab4f963733665 to your computer and use it in GitHub Desktop.
Save hirofumihida/8e55e9483967e57e2baab4f963733665 to your computer and use it in GitHub Desktop.
command memo for CentreCOM GS924M

reference

create vlan

Manager > create vlan=storage1 vid=200

 Operation successful.

Manager > show vlan=200

VLAN Information (VLAN mode: 802.1Q)
--------------------------------------------------
 Name ................ storage1
 Identifier .......... 200
 Status .............. Static
 Untagged Ports ...... None
 Tagged Ports ........ None
 Trunk Ports ......... None
 IP Interface ........ None
--------------------------------------------------

set port 24 tagged

Manager > delete vlan=default port=24

 Switch port 24 ACCEPTABLE parameter set to Admit Only VLAN-Tagged Frames.

 Operation successful.
 
Manager > add vlan=default port=24 frame=tagged

 Operation successful.

Manager > add vlan=wan1 port=24 frame=tagged

 Operation successful.

Manager > add vlan=storage1 port=24 frame=tagged

 Operation successful.

add port 24 to trunk

Manager > add switch trunk=uplink port=24

 Trunk port attribute of ComboPort can't use combo AUTO mode.

Manager > set switch port=24 combo=copper

 Operation successful.
 
Manager > add switch trunk=uplink port=24

 Operation successful.
 It will not be activated before saving the setting and rebooting the system.

Info: PORT24 Copper link-down

Info: PORT24 Copper link-up

Manager > show switch port=24

Switch Port Information
---------------------------------------------------------------------------
 Port .......................... 24
   Description ................... -
   Status ........................ Enabled
   Link State .................... Up
   UpTime ........................ 00:06:54
   Port Media Type ............... Ethernet CSMA/CD
   Port Type (Combo Actual)....... 10/100/1000Base-T
   Configured speed/duplex ....... Autonegotiate
   Actual speed/duplex ........... 1000 Mbps, full duplex
   MDI Configuration (Polarity) .. Not applicable
   Acceptable Frame Types ........ Admit Only Vlan-tagged Frames
   Broadcast rate limit .......... -
   Multicast rate limit .......... -
   DLF rate limit ................ -
   Security Mode ................. Automatic
   Mirroring ..................... None
   Is this port mirror port ...... No
   Enabled flow control(s) ....... Pause
   Combo port  ................... Fix Copper
   Send tagged pkts for VLAN(s)... 1,2,200
   Port-based VLAN ............... -
   Ingress Filtering ............. Off
   Trunk Group ................... uplink
   Port Priority ................. 0
---------------------------------------------------------------------------

save config

Manager > show config
Manager > create config=sw3-hoge.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment