EasyManua.ls Logo

Ruijie RG-WLAN Series

Ruijie RG-WLAN Series
1243 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Guide Configuring Interfaces
Configuring the 802.1Q VLAN Tag
Command
encapsulation dot1Q VlanID
Parameter
Description
VlanID: Indicates VLAN ID ranging from 1 to 4094.
Command
Mode
Interface configuration mode
Usage Guide
N/A
Configuration Example
Configuring Interface Attributes
Scenario
Figure 1-3
Configuration
Steps
On Switch A, configure GigabitEthernet 0/1 as a trunk interface, configure SVI 2, and configure the IP
address and the route to Switch B for SVI 2.
On Router A, enable VLAN ID encapsulation for GigabitEthernet 0/1.1, set VLAN ID to 2, and configure
the IP address; enable FR encapsulation for Serial 1/0, configure an IP address in another network
segment, and configure the RIP routing protocol to create a route to Switch B.
On Router B, enable VLAN ID encapsulation for GigabitEthernet 0/1.1, set VLAN ID to 2, and configure
the IP address; enable FR encapsulation for Serial 1/0, configure an IP address in another network
segment, and configure the RIP routing protocol to create a route to Switch A.
On Switch B, configure GigabitEthernet 0/1 as a trunk interface, configure SVI 2, and configure the IP
address and the route to Switch A for SVI 2.
Switch A
SA# configure terminal
SA(config)# interface GigabitEthernet 0/1
SA(config-if)# switchport mode trunk
SA(config-if)# exit
SA(config)# interface vlan 2
SA(config-if)# ip address 192.168.1.2 255.255.255.0
SA(config-if)# exit
SA(config)# ip route 0.0.0.0 255.255.255.0 VLAN 1 192.168.1.1
Router A
RA# configure terminal
RA(config)# interface GigabitEthernet 0/1.1

Table of Contents

Other manuals for Ruijie RG-WLAN Series

Related product manuals