2014年2月18日星期二
Configure the multicast service on MA5616
Create MA5683T VLANs.
huawei(config)#vlan
4002-4003 smart
Add
the uplink port and the subtending port to the VLANs.
huawei(config)#port
vlan 4002-4003 0/0 1
huawei(config)#port
vlan 4002-4003 0/0 0
Configure
multicast VLANs and the IGMP mode.
NOTE:
The
IGMP mode can be configured to IGMP proxy or IGMP snooping according to the
requirements. In this example, the IGMP mode is IGMP proxy. If the planned IGMP
mode is IGMP snooping, you can configure the IGMP snooping mode by running the
igmp mode snooping command in multicast VLAN mode.
If
configuring the IGMP mode fails, check whether the IGMP function is disabled.
That is, the IGMP mode can be switched only when the IGMP function is disabled.
huawei(config)#multicast-vlan
4002
huawei(config-mvlan4002)#igmp
mode proxy
Are you sure to change IGMP mode?(y/n)[n]:y
huawei(config-mvlan4002)#multicast-vlan
4003
huawei(config-mvlan4003)#igmp
mode proxy
Are you sure to change IGMP mode?(y/n)[n]:y
Configure
the multicast uplink port.
huawei(config-mvlan4003)#igmp
uplink-port 0/0/1
huawei(config-mvlan4003)#multicast-vlan
4002
huawei(config-mvlan4002)#igmp
uplink-port 0/0/1
Configure
multicast programs.
NOTE:
A
multicast program can be configured statically or generated dynamically. In
this example, the multicast program is configured statically.
In
static configuration mode, you can run the igmp program add command to add
multicast programs in batches. You cannot name a program, instead the system
automatically names a program PROGRAM-M, in which M is the index of the added
program.
huawei(config-mvlan4002)#igmp
program add name program1 ip 224.1.1.1 sourceip 10.10.10.10
huawei(config-mvlan4002)#multicast-vlan
4003
huawei(config-mvlan4003)#igmp
program add name program2 ip 224.1.1.2 sourceip 10.10.10.11
huawei(config-mvlan4003)#quit
Configure
the multicast subtending port.
huawei(config)#btv
huawei(config-btv)#igmp
cascade-port 0/0/0
Save
the data.
huawei(config-btv)#quit
huawei(config MA5600 )#save
2014年2月16日星期日
Configuring a BGP Peer
Devices
can exchange routing ME60 information only after they have successfully set up a BGP
peer relationship.
Run:
system-view
The
system view is displayed.
Run:
bgp
{ as-number-plain | as-number-dot }
BGP
is enabled, the local AS number is set, and the BGP view is displayed.
(Optional)
Run:
router-id
ipv4-address
The ID of a BGP router is set.
Run:
peer
{ ipv4-address | group-name } as-number { as-number-plain | as-number-dot }
The
IP address and AS number of a remote peer are specified.
(Optional)
Run:
peer
{ ipv4-address | group-name } connect-interface interface-type interface-number
[ ipv4-source-address ]
The
local interface and the source address used to set up a BGP connection are
specified.
Run:
peer
{ ipv4-address | group-name } ebgp-max-hop [ hop-count ]
The maximum number of hops of an EBGP connection is set.
For
details of BGP peers, refer to the HUAWEI NetEngine80E/40E Router Configuration
Guide ME60-X3 - IP Routing.
2014年2月13日星期四
Configuring a Signal Sending Delay on an Interface
When
an interface on the ME60 is dual-homed to non-Huawei devices, configure a
signal sending delay on the interface to avoid data loss due to asynchronous
link switchover or incomplete configuration restoration.
When
the ME60 configured with VRRP or E-APS services is dual-homed to non-Huawei
devices, the ME60 cannot control traffic switchover between interfaces on the
non-Huawei devices. In this case, link switchover on the ME60 is probably
asynchronous with that on the non-Huawei devices. If the interface on the ME60
sends a signal immediately after being initialized, certain data is probably
lost.
If
an interface on the ME60 is directly connected to a non-Huawei device, when the
ME60 is restarted, the interface sends a signal to the peer immediately after
being initialized, which probably causes data loss before configurations of the
ME60 are restored.
To prevent the problem, configure a signal sending delay on the ME60.
Run:
system-view
The
system view is displayed.
Run:
interface
interface-type interface-number
The
interface view is displayed.
Run:
port-tx-enabling-delay
port-tx-delay-time
The
signal sending delay function is ME60-X3 enabled and a signal sending delay is
configured.
2013年12月13日星期五
VLAN assignment in different usage scenarios
On the S5306,
LS-S5352C-EI EI, S5310EI, S5300HI, and S6300, if both the subnet VLAN and the MAC VLAN
with a mask are configured, the MAC VLAN with a mask is first matched
regardless of whether the vlan precedence command is used.
Access
Accepts an untagged
frame and adds a tag with the default VLAN ID to the frame.
Accepts the tagged
frame if the frame's VLAN ID matches the default VLAN ID.
Discards the tagged
frame if the frame's VLAN ID differs from the default VLAN ID.
After the PVID tag
is stripped, the frame is transmitted.
An access port can
belong to only one VLAN. The access interface is directly connected to a
computer.
Trunk
Adds a tag with the default
VLAN ID to the untagged frame and then transmits it if the default VLAN ID is
permitted by the port
Adds a tag with the
default VLAN ID to the untagged frame and then discards it if the default VLAN
ID is denied by the port.
Accepts the tagged
frame if the frame's VLAN ID is permitted by the port.
Discards the tagged
frame if the frame's VLAN ID is denied by the port.
If the frame's VLAN
ID matches the default VLAN ID and the VLAN ID is permitted by the port, the
device removes the tag and transmits the frame.
If the frame's VLAN
ID differs from the default VLAN ID, but the VLAN ID is still permitted by the
port, the switch will directly transmit the frame.
A trunk port allows
packets of multiple VLANs to pass through. It usually connects network devices.
Hybrid
If the frame's VLAN
ID is permitted by the port, the frame is transmitted. The port can be
configured whether to transmit frames with tags.
A hybrid port allows
packets of multiple VLANs to pass through. It can be used to connect network
devices or network devices and user devices.
QinQ
QinQ ports are
enabled with the IEEE 802.1QinQ protocol. A QinQ port can add double VLAN tags
to a data frame, that is, a QinQ port can add a tag to a single-tagged frame.
Therefore, a QinQ port supports a maximum of 4094 x 4094 VLAN tags, which meets
the requirement on the number of VLANs. For details, see QinQ Overview.
he S5328C-SI and S5300LI
do not support VLAN aggregation.
2013年12月10日星期二
Configuring a Voice VLAN in Auto Mode on Huawei S2300
Create VLANs and
configure the LS-S2309TP-SI-AC interface on the Switch.
# Create VLAN 2 and
VLAN 6.
<Quidway>
system-view
[Quidway] vlan batch
2 6
# Configure the link
type and default VLAN of the interface.
[Quidway] interface
ethernet 0/0/1
[Quidway-Ethernet0/0/1]
port hybrid pvid vlan 6
[Quidway-Ethernet0/0/1]
port hybrid untagged vlan 6
[Quidway-Ethernet0/0/1]
quit
Step 2 Configure the
voice VLAN on the Switch.
# Configure the
voice VLAN on the interface.
[Quidway] interface
ethernet 0/0/1
[Quidway-Ethernet0/0/1]
voice-vlan 2 enable
# Set the voice VLAN
mode to auto so that the interface can be automatically added to or deleted
from the voice VLAN.
[Quidway-Ethernet0/0/1]
voice-vlan mode auto
[Quidway-Ethernet0/0/1]
quit
# Set the OUI of the
voice VLAN.
[Quidway] voice-vlan
mac-address 0011-2200-0000 mask ffff-ff00-0000
# Set the aging time
of the voice VLAN.
[Quidway] voice-vlan
aging-time 100
# Set the working
mode of the voice VLAN.
[Quidway-Ethernet0/0/1]
voice-vlan security enable
Step 3 Verify the configuration.
Run the display
voice-vlan oui command to check the OUI of the voice VLAN.
<Quidway>
display voice-vlan oui
---------------------------------------------------
OuiAddress Mask
Description
---------------------------------------------------
0011-2200-0000
ffff-ff00-0000
Run the display
voice-vlan 2 status command to check the voice VLAN mode, voice VLAN
security mode, and
voice VLAN aging time.
<Quidway>
display voice-vlan 2 status
Voice VLAN
Configurations:
S2300 Series
Ethernet Switches
Typical
Configuration Examples 1 Configuration Guide - Ethernet
Issue 02 (2012-10-27 )
Huawei Proprietary and Confidential
Copyright © Huawei
Technologies Co., Ltd.
22
---------------------------------------------------
Voice VLAN ID : 2
Voice VLAN status :
Enable
Voice VLAN aging
time : 100 (minutes)
Voice VLAN 8021p
remark : 6
Voice VLAN dscp
remark : 46
----------------------------------------------------------
Port Information:
-----------------------------------------------------------
Port Add-Mode
Security-Mode Legacy
-----------------------------------------------------------
Ethernet0/0/1 Auto
Security LS-S2318TP-EI-DC Disable
2013年12月9日星期一
Configuring an FTP Huawei S3300
Configure SwitchB LS-S3328TP-EI-24S-AC .
# Configure an IP address for
SwitchB.
<Quidway> system-view
[Quidway] sysname SwitchB
[SwitchB] vlan 100
[SwitchB-vlan100] quit
[SwitchB] interface ethernet 0/0/1
[SwitchB-Ethernet0/0/1] port hybrid
pvid vlan 100
[SwitchB-Ethernet0/0/1] port hybrid
untagged vlan 100
[SwitchB-Ethernet0/0/1] quit
[SwitchB] interface Vlanif 100
[SwitchB-Vlanif100] ip address 10.1.1 .2
24
[SwitchB-Vlanif100] quit
# Configure SwitchB as the FTP
server.
[SwitchB] ftp server enable
[SwitchB] aaa
[SwitchB-aaa] local-user user1
password cipher hello123
[SwitchB-aaa] local-user user1
privilege level 15
[SwitchB-aaa] local-user user1
service-type ftp
[SwitchB-aaa] local-user user1
ftp-directory flash:/
[SwitchB-aaa] quit
Step 2 Configure SwitchA.
# Configure an IP address for
SwitchA.
<Quidway> system-view
[Quidway] sysname SwitchA
[SwitchA] vlan 100
[SwitchA] interface ethernet 0/0/1
[SwitchA-Ethernet0/0/1] port hybrid
pvid vlan 100
[SwitchA-Ethernet0/0/1] port hybrid
untagged vlan 100
[SwitchA-Ethernet0/0/1] quit
[SwitchA] interface Vlanif 100
[SwitchA-Vlanif100] ip address 10.1.1 .1
24
[SwitchA-Vlanif100] quit
# Create an NQA FTP test on SwitchA
and create a file of 10 KB for uploading.
[SwitchA] nqa test-instance admin
ftp
[SwitchA-nqa-admin-ftp] test-type
ftp
[SwitchA-nqa-admin-ftp] destination-address
ipv4 10.1.1 .2
[SwitchA-nqa-admin-ftp]
source-address ipv4 10.1.1 .1
[SwitchA-nqa-admin-ftp]
ftp-operation put
[SwitchA-nqa-admin-ftp] ftp-username
user1
[SwitchA-nqa-admin-ftp] ftp-password
hello123
[SwitchA-nqa-admin-ftp] ftp-filesize
10
Step 3 Start the test instance.
[SwitchA-nqa-admin-ftp] start now
Check the configuration.
# Check NQA test results on SwitchA.
[SwitchA-nqa-admin-ftp] display nqa
results test-instance admin ftp
NQA entry(admin, ftp) :testflag is
inactive ,testtype is ftp
1 . Test 1 result The test is
finished
SendProbe:1 ResponseProbe:1
Completion :success RTD
OverThresholds number: 0
MessageBodyOctetsSum: 10240 Stats
errors number: 0
Operation timeout number: 0 System
busy operation number:0
Drop operation number:0 Disconnect
operation number: 0
CtrlConnTime Min/Max/Average:
657/657/657
DataConnTime Min/Max/Average:
500/500/500
SumTime Min/Max/Average:
1157/1157/1157
Average RTT:656
Lost packet ratio:0 %
# On SwitchB, you can view that a
file named nqa-ftp-test.txt is added. Part of the file on the
SwitchB is displayed.
<SwitchB LS-S3352P-EI-AC > dir
Directory of flash:/
0 -rw- 331 Jul 06 2007 18:34:34
private-data.txt
1 -rw- 10,240 Jul 06 2007 18:37:06
nqa-ftp-test.txt
2,540 KB total (1,536 KB free)
2013年11月28日星期四
configuration S5300 file, and patch files
ftp>
binary
200
Type set to I.
ftp>
get S5328C-SI -V200R002C00SPC100.cc
200
Port command okay.
150
Opening BINARY mode data connection for file transfer.
226
Transfer complete.
ftp:
12472284 bytes received in 80.33Seconds 1350.65Kbytes/sec.
The
preceding output indicates the configuration file has been transferred and you
can find it in D:\>.
ftp>
get vrpcfg.zip
200
Port command okay.
150
Opening BINARY mode data connection for file transfer.
226
Transfer complete.
ftp:
589 bytes received in 0.01Seconds 60Kbytes/sec.
The
preceding output indicates the configuration file has been transferred and you
can find it in D:\>.
ftp>
get S5324TP-SI sph001.pat
200
Port command okay.
150
Opening BINARY mode data connection for file transfer.
226
Transfer complete.
ftp:
333436 bytes received in 0.33Seconds 1350.65Kbytes/sec.
The
preceding output indicates the configuration file has been transferred and you
can find it in D:\>.
订阅:
博文 (Atom)