beautypg.com

Configuration files, Create and configure the subinterface ge 1/0/0.2 – Panasonic NN46240-502 User Manual

Page 71

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

4 VLAN configuration

Nortel Secure Router 8000 Series

Configuration - LAN Access and MAN Access

# Create and configure the subinterface GE 1/0/0.2.

[Router] interface gigabitethernet 1/0/0.2

[Router-GigabitEthernet1/0/0.2] vlan-type dotlq 20

[Router-GigabitEthernet1/0/0.2] ip address 10.110.5.3 255.255.255.0

[Router-GigabitEthernet1/0/0.2] quit

Step 2 Configure the interface connected with Switch A on the router.

# Create and configure the subinterface GE 2/0/0.1.

[Router] interface gigabitethernet 2/0/0.1

[Router-GigabitEthernet2/0/0.1] vlan-type dot1q 30

[Router-GigabitEthernet2/0/0.1] ip address 10.110.4.3 255.255.255.0

[Router-GigabitEthernet2/0/0.1] quit

# Create and configure the subinterface GE 1/0/0.2.

[Router] interface gigabitethernet 2/0/0.2

[Router-GigabitEthernet2/0/0.2] vlan-type dot1q 40

[Router-GigabitEthernet2/0/0.2] ip address 10.110.3.3 255.255.255.0

[Router-GigabitEthernet2/0/0.2] quit

Step 3 Verify the configuration.

After the configuration is complete, on each host, configure the IP address of the subinterface,

which belongs to the same VLAN as the local host, as the default gateway. The hosts in

VLAN10, VLAN20, VLAN30, and VLAN40 can now communicate with each other.

—End

Configuration files

#

sysname Router

#

interface GigabitEthernet1/0/0.1

vlan-type dot1q 10

ip address 10.110.6.3 255.255.255.0

#

interface GigabitEthernet1/0/0.2

vlan-type dot1q 20

ip address 10.110.5.3 255.255.255.0

#

interface GigabitEthernet2/0/0.1

vlan-type dot1q 30

ip address 10.110.4.3 255.255.255.0

#

interface GigabitEthernet2/0/0.2

vlan-type dot1q 40

ip address 10.110.3.3 255.255.255.0

#

4-12

Nortel Networks Inc.

Issue 5.3 (30 March 2009)