Switch Configuration
Switch Configuration
Switch Configuration
system operation
Port technologies VLAN Q-in-Q DHCP STP Secure Multi-cast
Command mode
Raisecom> Raisecom# Raisecom(config)# Raisecom(config-port)# Raisecom(config-range)# Raisecom(config-ip)# Raisecom(config-vlan)#
Raisecom#
User management
Default userraisecompasswordraisecom Add a new user user name USERNAME password PASSWORD
Show user information: show user Set password for enable mode Raisecom#enable password Please input password:PASSWORD Please input again:PASSWORD
Upgrade software
ISCOM2826 port24 FTP SERVER
IP: 10.0.0.2
IP: 10.0.0.1
Raisecom(config-ip)#end
Raisecom#download system-boot ftp Please input server IP Address:10.0.0.1 Please input FTP User name:test
system operation
Ethernet Port technology VLAN Q-in-Q DHCP STP Secure Multi-cast
Port Technologies
Auto Negotiation MDI/MDIX
Flow Control
Backpressure 802.3x
Trunk
Port Mirror Storm Control
Flow Control
IEEE802.3X
PAUSE Frame
flowcontrol {receive|send}{ on | off } send receive on off The flow control function is disabled in default
Example: Raisecom#config Raisecom(config)# interface port 10 Raisecom(config-port)#flowcontrol receive on Raisecom(config-port)#exit
Trunk
ISCOM2826-1
Example
port 3 PC-1
port24 port23
port24 port23
ISCOM2826-2
port 5 PC-2
192.168.1.5
192.168.1.6
Port Mirror
ISCOM2826
3 4 8
port24
Monitor
PC-1
PC-2
PC-3
iscom2826#config
iscom2826(config)#mirror enable
iscom2826(config)#mirror monitor-port 24 iscom2826(config)#mirror source-port-list ingress 3,8 egress 4,8
Storm-control
system operation
Port technologies VLAN Q-in-Q DHCP STP Secure Multi-cast
VLAN
DA SA Type Data CRC
DA
SA
tag
Type
Data TCI
CRC
TPID
Receiving Packet
Access
tag tag
Trunk
tag tag
Hybrid
tag
yes
tag untag tag
no
untag
yes
tag
no
untag
Packet sending
Access
tag
Trunk
tag tag
Hybrid
tag
VLAN=PVID
untag untag
VLANPVID
tag untag
VLAN=PVID
untag
VLANPV ID
tag
Shared Vlan
192.168.1.7
VLAN10
PC-3
Port24
ISCOM2826
Port1 Port 2
Shared VLAN
ISCOM2826#config
192.168.1. 7 PC-3
PC-2 192.168.1. 6
VLAN 100
Port isolated
ISCOM2826-1#config
ISCOM2826-1(config-port)#exit
ISCOM2826-1(config)#int port 24 ISCOM2826-1(config-port)#switchport mode trunk ISCOM2826-1(config-port)#switchport trunk allowed vlan 100
ISCOM2826-1(config-port)#exit
Trunk mode
ISCOM2826-1
Port24 Trunk
Port24 Trunk
ISCOM2826-2
Port1
Port 2
Port 1
PC-3 192.168.1.7 VLAN20
Port 2
PC-2
192.168.1.6 VLAN30
PC-4
192.168.1.8 VLAN30
Hybrid port
ISCOM2826-1
Port24
Port24
ISCOM2826-2
ISCOM2826-2 is same
system operation
Q-in-Q
MAC DA MAC SA
P-ETHER TYPE
P-Vlan Cos
P-CFI=0
P-Vlan ID
Q-in-Q
C-Mac DA C-Mac SA C-Vlan Tag (C-Vlan ID 60 61 62) C-Ether Type C-Data C-CRC C-Mac DA C-Mac SA P-Vlan Tag (P-Vlan ID 100) C-Vlan Tag C-Ether Type C-Data C-CRC
C-Vlan ID 60 C-Vlan ID 61 C-Vlan ID 62
UNI
P-Vlan ID 100
Standard Q-in-Q
ISP
switchA
Port1 Port27
ISP 1
Port28 Port28
ISP 2
Port27 Port1
switchB
Port2
Port3
Port2
Port3
Standard Q-in-Q
SwitchA(config)#create vlan 10,20 active SwitchA(config)# interface port 1 SwitchA(config-port)#switchport mode trunk SwitchA(config-port)#switchport trunk allowed vlan all SwitchA(config)# interface port 2 SwitchA(config-port)# switchport access vlan 10 SwitchA(config)# interface port 3 SwitchA(config-port)# switchport access vlan 20
Standard Q-in-Q
ISP1(config)# create vlan 100 active ISP1(config)# interface port 27 ISP1(config-port)# switchport mode dot1q-tunnel ISP1(config-port)# switchport access vlan 100 ISP1(config)# interface port 28 ISP1(config-port)# switchport mode trunk doubletagging ISP1(config-port)#switchport trunk allowed vlan all
system operation
Port technologies VLAN Q-in-Q DHCP STP Secure Multi-cast
system operation
Port technologies VLAN Q-in-Q DHCP STP Secure Multi-cast
Why STP
Server X
router Y
system operation
Port technologies VLAN Q-in-Q DHCP STP Secure Multi-cast
Loopback detection
Port 1
iscom2826(config)#loopback-detection hello-time 3
ACL
Mac:1234.1234.1234
Mac5678.5678.5678
raisecom(config)# IP-access-list 0 permit ip any any raisecom(config)# IP-access-list 1 deny ip 192.168.1.4 255.255.255.255 192.168.1.5 255.255.255.255
PC-1 192.168.1. 3
PC-2 192.168.1.4
PC-3 192.168.1. 5
port1
port2
port3
PC-1
PC-2
192.168.1.3
VLAN 10
192.168.1.4 192.168.1. 5
PC-2 192.168.1.4
system operation
Port technologies VLAN Q-in-Q DHCP STP Secure Multi-cast
IGMP Snooping
MVR
IGMP Snooping
default
IGMP Snooping is disabled