0% found this document useful (0 votes)
123 views8 pages

Conf 2

The document shows configuration of VLAN termination ports on a Huawei router. It configures IP addresses and enables ARP broadcast on ports GigabitEthernet 0/0/1.2 and GigabitEthernet 0/0/1.3 after setting the VLAN termination IDs.

Uploaded by

Mohamed Shabana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
123 views8 pages

Conf 2

The document shows configuration of VLAN termination ports on a Huawei router. It configures IP addresses and enables ARP broadcast on ports GigabitEthernet 0/0/1.2 and GigabitEthernet 0/0/1.3 after setting the VLAN termination IDs.

Uploaded by

Mohamed Shabana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

The device is running!

<Huawei>
<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]
[Huawei]sy
[Huawei]sysname R2
[R2]
[R2]
[R2]int
[R2]interface gi
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]
[R2-GigabitEthernet0/0/1]dis
[R2-GigabitEthernet0/0/1]disp
[R2-GigabitEthernet0/0/1]display th
[V200R003C00]
#
interface GigabitEthernet0/0/1
#
return
[R2-GigabitEthernet0/0/1]
[R2-GigabitEthernet0/0/1]
[R2-GigabitEthernet0/0/1]interface GigabitEthernet 0/0/1.2
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]term
[R2-GigabitEthernet0/0/1.2]mod
[R2-GigabitEthernet0/0/1.2]dot
[R2-GigabitEthernet0/0/1.2]dot1q term
[R2-GigabitEthernet0/0/1.2]dot1q termination ?
vid Configure PE VLAN ID
[R2-GigabitEthernet0/0/1.2]dot1q termination 2
^
Error: Unrecognized command found at '^' position.
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]?
GigabitEthernet0/0/1.2 interface view commands:
arp <Group> arp command group
arp-limit Limit the number of learnt ARP
arp-ping ARP-ping
arp-proxy ARP(Address Resolve Protocol) proxy configuration
command
backup Backup information
bandwidth Specify mib-referenced bandwidth of the interface
bridge Bridge
clear <Group> clear command group
ddns DDNS
description Specify interface description
dhcp <Group> dhcp command group
dialer Dialer
direct-route Direct route
discard Discard packets
display Display information
dlsw Specify DLSW(Data Link Switching) configure
information
dot1q IEEE 802.1Q encapsulation
enable Enable function
energy-efficient-ethernet Energy-efficient-ethernet
eth-trunk Add the interface into eth-trunk
icmp <Group> icmp command group

[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]port li
[R2-GigabitEthernet0/0/1.2]port lin
[R2-GigabitEthernet0/0/1.2]p
[R2-GigabitEthernet0/0/1.2]po
[R2-GigabitEthernet0/0/1.2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]
[R2-GigabitEthernet0/0/1]po
[R2-GigabitEthernet0/0/1]port ?
ip IP information
priority Specify current port's priority
[R2-GigabitEthernet0/0/1]port ip
[R2-GigabitEthernet0/0/1]port ip ?
netstream IP netstream feature
[R2-GigabitEthernet0/0/1]interface GigabitEthernet 0/0/1.2
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]dis th
[V200R003C00]
#
interface GigabitEthernet0/0/1.2
#
return
[R2-GigabitEthernet0/0/1.2]?
GigabitEthernet0/0/1.2 interface view commands:
arp <Group> arp command group
arp-limit Limit the number of learnt ARP
arp-ping ARP-ping
arp-proxy ARP(Address Resolve Protocol) proxy configuration
command
backup Backup information
bandwidth Specify mib-referenced bandwidth of the interface
bridge Bridge
clear <Group> clear command group
ddns DDNS
description Specify interface description
dhcp <Group> dhcp command group
dialer Dialer
direct-route Direct route
discard Discard packets
display Display information
dlsw Specify DLSW(Data Link Switching) configure
information
dot1q IEEE 802.1Q encapsulation
enable Enable function
energy-efficient-ethernet Energy-efficient-ethernet
eth-trunk Add the interface into eth-trunk
icmp <Group> icmp command group
igmp Specify parameters for IGMP
ip <Group> ip command group
ipsec Specify IPSec(IP Security) configuration
information
ipv6 <Group> ipv6 command group
isis Configure interface parameters for ISIS
llc2 Specify LLC2(Logical Link Control Class 2)
configure information
log-threshold Set log threshold
mpls <Group> mpls command group
mtrace Trace route to multicast source
mtu Specify Maximum Transmission Unit(MTU) of the
interface
multicast Multicast information
nat Specify NAT(Network Address Translation)
configuration information
ntp-service Specify NTP(Network Time Protocol) configuration
information
ospf <Group> ospf command group
ospfv3 <Group> ospfv3 command group
pim Specify interface parameters for PIM
ping <Group> ping command group
port <Group> port command group
port-down Port down
portal Portal authentication
pppoe-client PPPoE Client Settings
pppoe-server Specify PPPoE(PPP over Ethernet) server
configuration information
qinq 802.1Q in 802.1Q
qos <Group> qos command group
quit Exit from current mode and enter prior mode
reset <Group> reset command group
restart Restart the specified interface
return Enter the privileged mode
rip <Group> rip command group
ripng RIPng (Routing Information Protocol next
generation)
set <Group> set command group
shutdown Shutdown the specified interface
standby Specify interface standby configuration information

static-route IPv4 static routes


statistic Specify statistics configuration information
tcp Transmission Control Protocol
test-aaa Accounts test
tracert <Group> tracert command group
traffic-filter Filter packets based on acl
traffic-policy Apply specific traffic policy
trap-threshold <Group> trap-threshold command group
trust Specify trust parameters
udp-helper UDP Helper
undo Negate a command or set its defaults
urpf Unicast reverse path forward function
vrrp Specify configuration information about VRRP
vrrp6 Specify configuration information about VRRP6
web-auth-server Bind portal server name
zone Specify a security zone name
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]undo shu
[R2-GigabitEthernet0/0/1.2]undo shutdown
Info: Interface GigabitEthernet0/0/1.2 is not shutdown.
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]dot1q termination 2
^
Error: Unrecognized command found at '^' position.
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]ip add
[R2-GigabitEthernet0/0/1.2]ip address 10.0.4.254 255.255.255.0
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]dis th
[V200R003C00]
#
interface GigabitEthernet0/0/1.2
ip address 10.0.4.254 255.255.255.0
#
return
[R2-GigabitEthernet0/0/1.2]dot1q termination 2
^
Error: Unrecognized command found at '^' position.
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]dot1q termination 2 ?
^
Error: Unrecognized command found at '^' position.
[R2-GigabitEthernet0/0/1.2]dot1q termination ?
vid Configure PE VLAN ID
[R2-GigabitEthernet0/0/1.2]dot1q termination vi
[R2-GigabitEthernet0/0/1.2]dot1q termination vid 2 ?
<cr> Please press ENTER to execute command
[R2-GigabitEthernet0/0/1.2]dot1q termination vid 2
[R2-GigabitEthernet0/0/1.2]
Jan 28 2021 18:12:13-05:13 R2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP o
n the interface GigabitEthernet0/0/1.2 has entered the UP state.
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]ar
[R2-GigabitEthernet0/0/1.2]arp broad
[R2-GigabitEthernet0/0/1.2]arp broadcast en
[R2-GigabitEthernet0/0/1.2]arp broadcast enable
[R2-GigabitEthernet0/0/1.2]
[R2-GigabitEthernet0/0/1.2]dis th
[V200R003C00]
#
interface GigabitEthernet0/0/1.2
dot1q termination vid 2
ip address 10.0.4.254 255.255.255.0
arp broadcast enable
#
return
[R2-GigabitEthernet0/0/1.2]interface GigabitEthernet 0/0/1.3
[R2-GigabitEthernet0/0/1.3]
[R2-GigabitEthernet0/0/1.3]arp broadcast enable
Error: This interface is not a termination interface.
[R2-GigabitEthernet0/0/1.3]
[R2-GigabitEthernet0/0/1.3]dot1q termination vid 3
[R2-GigabitEthernet0/0/1.3]
[R2-GigabitEthernet0/0/1.3]arp broadcast enable
[R2-GigabitEthernet0/0/1.3]
[R2-GigabitEthernet0/0/1.3]ip address 10.0.8.254 255.255.255.0
[R2-GigabitEthernet0/0/1.3]
Jan 28 2021 18:15:00-05:13 R2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP o
n the interface GigabitEthernet0/0/1.3 has entered the UP state.
[R2-GigabitEthernet0/0/1.3]
[R2-GigabitEthernet0/0/1.3]
[R2-GigabitEthernet0/0/1.3]dis th
[V200R003C00]
#
interface GigabitEthernet0/0/1.3
dot1q termination vid 3
ip address 10.0.8.254 255.255.255.0
arp broadcast enable
#
return
[R2-GigabitEthernet0/0/1.3]q
[R2]
[R2]
[R2]
[R2]

Please check whether system data has been changed, and save data in time

Configuration console time out, please press any key to log on

///////////////////////////////////////////////////////////////////////////////////
/////////

The device is running!

<Huawei>
<Huawei>
<Huawei>
<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]
[Huawei]sy
[Huawei]sysname S1
[S1]
[S1]
[S1]
Jan 28 2021 14:28:26-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 4, the chan
ge loop count is 0, and the maximum number of records is 4095.
[S1]
[S1]
[S1]vl
[S1]vlan 2
[S1-vlan2]
[S1-vlan2]
Jan 28 2021 14:28:46-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 5, the chan
ge loop count is 0, and the maximum number of records is 4095.
[S1-vlan2]
[S1-vlan2]na
[S1-vlan2]nam
[S1-vlan2]q
[S1]
[S1]
[S1]vlan 3
[S1-vlan3]
[S1-vlan3]q
[S1]
[S1]
Jan 28 2021 14:30:06-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 6, the chan
ge loop count is 0, and the maximum number of records is 4095.
[S1]
[S1]
[S1]
[S1]
[S1]int
[S1]interface fi
[S1]interface gi
[S1]interface GigabitEthernet 0/0/1
[S1-GigabitEthernet0/0/1]
[S1-GigabitEthernet0/0/1]port
[S1-GigabitEthernet0/0/1]portswitch
Error: The interface is already a L2 interface.
[S1-GigabitEthernet0/0/1]
[S1-GigabitEthernet0/0/1]port li
[S1-GigabitEthernet0/0/1]port link-t
[S1-GigabitEthernet0/0/1]port link-type acc
[S1-GigabitEthernet0/0/1]port link-type access
[S1-GigabitEthernet0/0/1]
Jan 28 2021 14:33:26-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 7, the chan
ge loop count is 0, and the maximum number of records is 4095.
[S1-GigabitEthernet0/0/1]
[S1-GigabitEthernet0/0/1]def
[S1-GigabitEthernet0/0/1]defau
[S1-GigabitEthernet0/0/1]port def
[S1-GigabitEthernet0/0/1]port default vl
[S1-GigabitEthernet0/0/1]port default vlan 2
[S1-GigabitEthernet0/0/1]
[S1-GigabitEthernet0/0/1]dis th
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 2
#
return
[S1-GigabitEthernet0/0/1]
Jan 28 2021 14:34:06-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 8, the chan
ge loop count is 0, and the maximum number of records is 4095.
[S1-GigabitEthernet0/0/1]
[S1-GigabitEthernet0/0/1]interface GigabitEthernet 0/0/4
[S1-GigabitEthernet0/0/4]
[S1-GigabitEthernet0/0/4]port link-type access
[S1-GigabitEthernet0/0/4]port default vlan 2
[S1-GigabitEthernet0/0/4]
[S1-GigabitEthernet0/0/4]
Jan 28 2021 14:34:36-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 10, the cha
nge loop count is 0, and the maximum number of records is 4095.
[S1-GigabitEthernet0/0/4]
[S1-GigabitEthernet0/0/4]
[S1-GigabitEthernet0/0/4]interface GigabitEthernet 0/0/3
[S1-GigabitEthernet0/0/3]
[S1-GigabitEthernet0/0/3]port link-type access
[S1-GigabitEthernet0/0/3]
[S1-GigabitEthernet0/0/3]
Jan 28 2021 14:35:16-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 11, the cha
nge loop count is 0, and the maximum number of records is 4095.
[S1-GigabitEthernet0/0/3]
[S1-GigabitEthernet0/0/3]port default vlan 3
[S1-GigabitEthernet0/0/3]
[S1-GigabitEthernet0/0/3]
Jan 28 2021 14:35:36-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 12, the cha
nge loop count is 0, and the maximum number of records is 4095.
[S1-GigabitEthernet0/0/3]
[S1-GigabitEthernet0/0/3]
[S1-GigabitEthernet0/0/3]interface GigabitEthernet 0/0/5
[S1-GigabitEthernet0/0/5]
[S1-GigabitEthernet0/0/5]port link-type access
[S1-GigabitEthernet0/0/5]
[S1-GigabitEthernet0/0/5]port default vlan 3
[S1-GigabitEthernet0/0/5]
[S1-GigabitEthernet0/0/5]
Jan 28 2021 14:35:56-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 14, the cha
nge loop count is 0, and the maximum number of records is 4095.
[S1-GigabitEthernet0/0/5]
[S1-GigabitEthernet0/0/5]
[S1-GigabitEthernet0/0/5]q
[S1]
[S1]
[S1]
[S1] User interface con0 is available

Please Press ENTER.

<S1>
<S1>
<S1>sy
Enter system view, return user view with Ctrl+Z.
[S1]
[S1]
[S1]int
[S1]interface gi
[S1]interface GigabitEthernet 0/0/2
[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2]port li
[S1-GigabitEthernet0/0/2]port link-t
[S1-GigabitEthernet0/0/2]port link-type tr
[S1-GigabitEthernet0/0/2]port link-type trunk
[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2]
Jan 28 2021 14:47:37-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 15, the cha
nge loop count is 0, and the maximum number of records is 4095.
[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2]por
[S1-GigabitEthernet0/0/2]port tru
[S1-GigabitEthernet0/0/2]port trunk all
[S1-GigabitEthernet0/0/2]port trunk allow-pass vl
[S1-GigabitEthernet0/0/2]port trunk allow-pass vlan ?
INTEGER<1-4094> VLAN ID
all All

[S1-GigabitEthernet0/0/2]port trunk allow-pass vlan 2 3


[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2]
Jan 28 2021 14:48:17-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 16, the cha
nge loop count is 0, and the maximum number of records is 4095.
[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2]port tr
[S1-GigabitEthernet0/0/2]port trunk pvi
[S1-GigabitEthernet0/0/2]port trunk pvid vl
[S1-GigabitEthernet0/0/2]port trunk pvid vlan 1
[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2]dis
[S1-GigabitEthernet0/0/2]display th
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 3
#
return
[S1-GigabitEthernet0/0/2]
Jan 28 2021 14:48:57-08:00 S1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1
91.3.1 configurations have been changed. The current change number is 17, the cha
nge loop count is 0, and the maximum number of records is 4095.
[S1-GigabitEthernet0/0/2]
[S1-GigabitEthernet0/0/2] User interface con0 is available

Please Press ENTER.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy