Rock Firewall CLI creates VLAN
1. Create a new VLAN
HS-E2860-A (config) # vlan
HS-E2860-A (config-vlan) # show vlan
Create VLAN:
0001,0201,0202,0203,0204,0205,0206,0207,0208,0209,0210,0211,0212,0213,0215
0216,0217,0218,0219,0220
Active VLAN:
0001,0201,0202,0203,0204,0205,0206,0207,0208,0209,0210,0211,0212,0213,0215
0216,0217,0218,0219
HS-E2860-A (config-vlan) # exit
2. Add the Ethernet interface to the VLAN220
HS-E2860-A (config) # interface ethernet0/2
HS-E2860-A (config-if-eth0/2) # switchmode trunk vlan
HS-E2860-A (config-if-eth0/2) # exit
HS-E2860-A (config) # show vlan
Create VLAN:
0001,0201,0202,0203,0204,0205,0206,0207,0208,0209,0210,0211,0212,0213,0215
0216,0217,0218,0219,0220
Active VLAN:
0001,0201,0202,0203,0204,0205,0206,0207,0208,0209,0210,0211,0212,0213,0215
0216,0217,0218,0219220
3. Configure vlan220 IP segment
HS-E2860-A (config) # interface vlan220
HS-E2860-A (config-if-vla220) # ip address 10.122.190.254 Universe 27
Error: please bind the domain before configuring the IP address of the interface
HS-E2860-A (config-if-vla220) # zone Business Hall / / bind the domain before configuring IP
HS-E2860-A (config-if-vla220) # ip address 10.122.190.254 Universe 27
4. Change the configuration to VLAN220 Management Service (manager server)
HS-E2860-A (config-if-vla220) # manage ssh
HS-E2860-A (config-if-vla220) # manage ping
HS-E2860-A (config-if-vla220) # manage telnet
HS-E2860-A (config-if-vla220) # save / / Save configuration
5. Check the vlan220 configuration
HS-E2860-A (config-if-vla220) # show interface vlan220
Interface vlan220
Description: Shihu Mountain Canteen
Physical up Admin up
Link up Protocol up
Interface ID:41
IP address:10.122.190.254
IP address mask:255.255.255.224
MAC address:001c.54a4.a537
IP MTU:1500
ARP learn:enable
ARP disable-dynamic-entry:disable
ARP timeout:1200
QoS input profile: 1st-level--
2nd-level--
QoS output profile: 1st-level--
2nd-level--
Downstream bandwidth is 1000000000
Upstream bandwidth is 1000000000
Bind to zone business hall
Belong to vsys root
Auth-arp disable
Dns proxy disable
Proximity detect off
Proximity route disable
Manage service:SSH;TELNET;PING
Secondary IP address0: 0.0.0.0 mask:0.0.0.0
Secondary IP address1: 0.0.0.0 mask:0.0.0.0
Secondary IP address2: 0.0.0.0 mask:0.0.0.0
Secondary IP address3: 0.0.0.0 mask:0.0.0.0
Secondary IP address4: 0.0.0.0 mask:0.0.0.0
Secondary IP address5: 0.0.0.0 mask:0.0.0.0