Huawei S6700 Series Configuration Manual page 32

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
Configuration Files
l
l
l
Issue 01 (2012-03-15)
[SwitchA] tracert 1.1.3.1
traceroute to 1.1.3.1(1.1.3.1), max hops: 30 ,packet length: 40 ,press CTRL_C
to break
1 1.1.4.2 31 ms
32 ms
2 1.1.4.6 62 ms
63 ms
Configuration file of Switch A
#
sysname SwitchA
#
vlan batch 10 30
#
interface Vlanif10
ip address 1.1.4.1 255.255.255.252
#
interface Vlanif30
ip address 1.1.1.1 255.255.255.0
#
interface XGigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
interface XGigabitEthernet0/0/2
port hybrid pvid vlan 30
port hybrid untagged vlan 30
#
ip route-static 0.0.0.0 0.0.0.0 1.1.4.2
#
return
Configuration file of Switch B
#
sysname SwitchB
#
vlan batch 10 20 40
#
interface Vlanif10
ip address 1.1.4.2 255.255.255.252
#
interface Vlanif20
ip address 1.1.4.5 255.255.255.252
#
interface Vlanif40
ip address 1.1.2.1 255.255.255.0
#
interface XGigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
interface XGigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 20
#
interface XGigabitEthernet0/0/3
port link-type access
port default vlan 40
#
ip route-static 1.1.1.0 255.255.255.0 1.1.4.1
ip route-static 1.1.3.0 255.255.255.0 1.1.4.6
#
return
Configuration file of Switch C
#
sysname SwitchC
#
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
31 ms
62 ms
1 IP Static Route Configuration
13

Advertisement

Table of Contents
loading

Table of Contents