14 7302 5523 operator cli config examples annex

17
© 2006 ALCATEL BELL N.V. ALL RIGHTS RESERVED Alcatel 5523 & 7302 Hands-on Broadband Access 7302/5523 Operator Hands-on CLI Configuration Examples 3FL 00324 AAAA WNZZA Ed01 Alcatel University 1

Upload: belbel4321

Post on 06-Feb-2016

94 views

Category:

Documents


12 download

DESCRIPTION

14 7302 5523 Operator CLI Config Examples Annex

TRANSCRIPT

Page 1: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

Broadband Access7302/5523 Operator

Hands-on

CLI Configuration Examples

3FL 00324 AAAA WNZZA Ed01 Alcatel University 1

Page 2: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

Table of contents

Conventions p. 3CLI Basic Operations p. 3Basic Configuration p. 4Residential Bridge p. 6Cross Connect p. 8IP Aware Bridge p. 10PPPoA to PPPoE translation p. 12PPPoE termination p. 12Initial Setup from Scratch p. 13

3FL 00324 AAAA WNZZA Ed01 Alcatel University 2

Page 3: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

Conventions

configure vlan required CLI command configure vlan optional CLI command # comment comment

CLI Basic Operations

Command Help & navigation?helpexittreebackhistory… | match exact:xxx

3FL 00324 AAAA WNZZA Ed01 Alcatel University 3

Page 4: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

Basic Configuration

Retrieval of all informationconfigure > info detail

Retrieval of equipment informationshow equipment isam detail

show equipment shelf 1/1 detailinfo configure equipment shelf 1/1

show equipment slot 1/1/4 detail # includes remote inventory infoinfo configure equipment slot 1/1/4

show equipment applique 1/1/2 detail info configure equipment applique 1/1/2

Retrieval SHUB Ethernet port informationshow interface shub portinfo configure interface shub port detail

Retrieval of XDSL-line informationshow xdsl profilesshow interface port | match exact:admin-up | match skip exact:down

info configure xdsl | match exact:profile | match exact:name

info configure xdsl | match after exact:1/1/4info configure xdsl line 1/1/4/1

info configure xdsl service-profileinfo configure xdsl spectrum-profile

info configure interface port xdsl-line:1/1/4/1 detail

show xdsl operational-data line 1/1/4/1show xdsl operational-data near-end line 1/1/4/1 show xdsl operational-data far-end line 1/1/4/1

Retrieval of ATM Termination informationshow atm interface 1/1/4/1info configure atm

3FL 00324 AAAA WNZZA Ed01 Alcatel University 4

Page 5: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

Configuration equipment configure equipment isam description ISAM6 # set system-id

configure equipment slot 1/1/4 planned-type eblt-aconfigure equipment applique 1/1/2 planned-type ecnc-a

For FTTN 7330:configure equipment applique 1/1/4 planned-type rvsp-b # match LT1

configure equipment slot 1/1/4 no planned-type # board removalconfigure equipment slot 1/1/4 no unlock # lock boardconfigure equipment slot 1/1/4 power-down # power down board

Configuration uplink ports SHUBconfigure interface shub port 3 port-type network

Configuration XDSL-line configure xdsl service-profile 1 name test_service > ra-mode-down operator-ctrld > plan-bitrate-down 15000 > ra-mode-up operator-ctrld > plan-bitrate-up 1000 > activeconfigure xdsl spectrum-profile 1 name test_spectrum > g992-5-a > activeconfigure xdsl line 1/1/4/1 service-profile 1 spectrum-profile 1 admin-up

# must be on one line !!!configure interface port xdsl-line:1/1/4/1 user customer_nameconfigure interface port xdsl-line:1/1/4/1 admin-up # only to unlock a locked user port

(extra: setting parameters for performance monitoring)configure xdsl line 1/1/4/1 > tca-line-threshold es-nearend 360 ses-nearend 10 uas-nearend 10 enable

(extra: user modem up/down alarm trap)configure interface port xdsl-line:1/1/4/1 link-updown-trap

Configuration Logical flowconfigure atm pvc 1/1/4/1:8:36 aal5-encap-type llc-snapconfigure atm pvc 1/1/4/1:8:36 # =equivalentconfigure bridge port 1/1/4/1:8:36

Configuration & Retrieval Link Aggregationconfigure la no disable-lacpconfigure la aggregator-port 2 …show la aggregator-info 2

Configuration RSTPconfigure rstpconfigure rstp network-port 2show rstp port-infoadmin bridge rstp port 2

3FL 00324 AAAA WNZZA Ed01 Alcatel University 5

Page 6: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

E-MAN

IP

LTSHUB

192.168.10.10192.168.20.10

10.10.151.1

10.10.151.ZZ

BRIDGED

8/36

=> DHCP

=> USER GW

VLAN

151

RESIDENTIAL BRIDGE MODE

DHCP SERVER10.10.151.2

VLAN 151

ISP E-MAN

IP

LTSHUB

192.168.10.10192.168.20.10192.168.10.10192.168.20.10

10.10.151.110.10.151.1

10.10.151.ZZ10.10.151.ZZ

BRIDGED

8/36

=> DHCP

=> USER GW

VLAN

151

RESIDENTIAL BRIDGE MODERESIDENTIAL

BRIDGE MODEDHCP SERVER10.10.151.2

VLAN 151

ISPISP

Alcatel 5523 & 7302 Hands-on

Residential Bridge

Create VLAN LT + SHUBconfigure vlan id 151 name VLAN-151 mode residential-bridge configure vlan id 151 dhcp-opt-82 circuit-id physical-id remote-id customer-id # DHCP configure vlan id 151 pppoe-relay # PPPoEconfigure vlan shub id 151 name VLAN-151 mode residential-bridge configure vlan shub id 151 egress-port lt:1/1/[4...19]configure vlan shub id 151 egress-port network:2

configure vlan shub id 151 untag-port network:2 # implicit tagging network

Create user RBconfigure bridge port 1/1/4/1:8:36 vlan-id 151configure bridge port 1/1/4/1:8:36 pvid 151configure bridge port 1/1/4/1:8:36 max-unicast-mac 4

3FL 00324 AAAA WNZZA Ed01 Alcatel University 6

Page 7: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

E-MAN LTSHUB

192.168.10.10192.168.20.10

10.10.151.1

10.10.151.ZZ

BRIDGED

8/36

=> DHCP

VLAN

151

DHCP SERVER10.10.151.2

VLAN 151

VLAN

200

IP

BRASPPPoE Server

PORT-PROTOCOL IPoE

PORT-PROTOCOLPPPoE

100.100.100.ZZ

=> PPPoE

ISP

E-MAN LTSHUB

192.168.10.10192.168.20.10192.168.10.10192.168.20.10

10.10.151.110.10.151.1

10.10.151.ZZ10.10.151.ZZ

BRIDGEDBRIDGED

8/36

=> DHCP

VLAN

151

DHCP SERVER10.10.151.2

VLAN 151

VLAN

200

IP

BRASPPPoE Server

PORT-PROTOCOL IPoE

PORT-PROTOCOL IPoE

PORT-PROTOCOLPPPoE

PORT-PROTOCOLPPPoE

100.100.100.ZZ100.100.100.ZZ

=> PPPoE

ISPISP

Alcatel 5523 & 7302 Hands-on

Residential Bridge with protocol filter

Same setup principle as above, but now add the following to provide VLAN membership based on protocol:

configure vlan port-protocol 1/1/4/1:8:36 protocol-group ipoe vlan-id 151 priority 0configure vlan port-protocol 1/1/4/1:8:36 protocol-group pppoe vlan-id 200 priority 0

Delete RBNote: before applying following commands delete any VLAN associationsconfigure vlan shub no id 151configure vlan no id 151

Retrieval of RB infoshow vlan globalshow vlan residential-bridgeshow vlan bridge-port-fdb # learned MAC addressesshow vlan fdb # learned MAC addresses ASAM coreshow vlan shub-fdb # learned MAC addresses SHUBshow vlan port-vlan-mapshow vlan shub-port-vlan-map | match exact:200configure vlan > info detailconfigure bridge port 1/1/4/1:8:36 > info detailconfigure bridge > info detail

3FL 00324 AAAA WNZZA Ed01 Alcatel University 7

Page 8: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

CROSS CONNECT

C-VLANconfigure vlan id 400 name C400 mode cross-connectconfigure vlan shub id 400 mode cross-connectconfigure vlan shub id 400 egress-port network:2configure vlan shub id 400 egress-port lt:1/1/4configure bridge port 1/1/4/1:8:36 vlan-id 400configure bridge port 1/1/4/1:8:36 pvid 400

configure vlan shub id 400 untag-port network:2

S-VLANconfigure vlan id stacked:400:0 name S400 mode cross-connectconfigure vlan shub id 400 mode cross-connectconfigure vlan shub id 400 egress-port network:2configure vlan shub id 400 egress-port lt:1/1/4configure bridge port 1/1/4/1:8:36 vlan-id stacked:400:0configure bridge port 1/1/4/1:8:36 pvid stacked:400:0

Note: can accept all types of frames – but only “untagged” frames are sent to subscriberconfigure bridge port 1/1/4/2:8:36 vlan-id stacked:400:0 accept-frame-type mixed-tagged

SC-VLANconfigure vlan id stacked:500:0 name S500 mode layer2-terminatedconfigure vlan id stacked:500:600 name SC500600 mode cross-connectconfigure vlan id stacked:500:700 name SC500700 mode cross-connectconfigure vlan shub id 500 mode cross-connectconfigure vlan shub id 500 egress-port network:2configure vlan shub id 500 egress-port lt:1/1/4configure bridge port 1/1/4/2:8:36 vlan-id stacked:500:600configure bridge port 1/1/4/2:8:36 vlan-id stacked:500:700configure bridge port 1/1/4/1:8:36 pvid stacked:500:600

Delete CC VLAN#Note: before applying following commands delete any VLAN associationsconfigure vlan shub no id 400configure vlan no id 400

Retrieval of Informationshow vlan globalshow vlan cross-connectshow vlan bridge-port-fdb # learned MAC addressesshow vlan fdb # learned MAC addresses ASAM coreshow vlan shub-fdb # learned MAC addresses SHUB

3FL 00324 AAAA WNZZA Ed01 Alcatel University 8

E-MANNetwork

LT

CC

Service Hub/NT

CC Transparant bit pipe

E-MANNetwork

LT

CC

Service Hub/NT

CC

LT

CCCC

Service Hub/NT

CCCC Transparant bit pipe

Page 9: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

show vlan port-vlan-mapconfigure vlan > info detailconfigure bridge port 1/1/4/1:8:36 > info detail

3FL 00324 AAAA WNZZA Ed01 Alcatel University 9

Page 10: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

IP Aware Bridge

Single IP pool - one VLAN, static user IP addresses

Create VLAN:configure vlan id 170 name VLAN-170 mode layer2-terminatedconfigure vlan shub id 170 name VLAN-170 mode layer2-terminatedconfigure vlan shub id 170 egress-port network:2configure vlan shub id 170 egress-port lt:1/1/[4...19]

Create VRF on the LT:configure ip vrf 17 name ipaware mode forwarder

Define IP Interface on the NT and the LT:configure ip vrf 17 network-itf 170 unnumbered arp-policy trustedconfigure ip vrf 17 user-itf bridgeport 1/1/4/1:8:36

Assign a static IP address to the default gateway:configure ip vrf 17 gateway-itf ip-address 10.10.170.1/24

Create default route towards the network:configure ip vrf 17 route-dest 0.0.0.0/0 next-hop 10.10.170.1:network:vlan:170

Create a static route towards the user and assign a static IP address:configure ip vrf 17 route-dest 10.10.170.100/32 next-hop direct:user-bridgeport:1/1/4/1:8:36

3FL 00324 AAAA WNZZA Ed01 Alcatel University 10

Page 11: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

Single IP pool - one VLAN, DHCP

Create VLAN:configure vlan id 170 name VLAN-170 mode layer2-terminatedconfigure vlan shub id 170 name VLAN-170 mode layer2-terminatedconfigure vlan shub id 170 egress-port network:2configure vlan shub id 170 egress-port lt:1/1/[4...19]

Create VRF on the LT:configure ip vrf 17 name ipaware mode forwarder

Define IP Interface on the NT and the LT:configure ip vrf 17 network-itf 170 unnumbered arp-policy trustedconfigure ip vrf 17 user-itf bridgeport 1/1/4/1:8:36

Create default route towards the network:configure ip vrf 17 route-dest 0.0.0.0/0 next-hop 10.10.170.1:network:vlan:170

Create DHCP functionality:configure dhcp-relay agent 17 option-82 circuit-id customer-idconfigure dhcp-relay agent 17 bcast-vlan l2-vlan:170

Retrieval of informationconfigure vlan id 170 > info detailconfigure vlan shub id 170 > info detailconfigure ip > info detailshow ip vrf-mapping # list VRFshow ip vrf-media # all learned IP addresses in the VRFshow ip vrf-interface user bridgeport # all configured user bridgeports + statisticsshow ip vrf-interface user port # all configured user ports + statisticsshow ip vrf-statistics 17 # ip forwarding statistics

Remove default gatewayconfigure ip vrf 17 gateway-itf > no ip-address 10.10.170.1/24

Remove static routeconfigure ip vrf 17 > no route-dest 10.10.170.100/32 next-hop direct:user-bridgeport:1/1/4/1:8:36

Create another static route to end userconfigure ip vrf 17 route-dest 10.10.170.101/32 next-hop direct:user-bridgeport:1/1/4/1:8:36

3FL 00324 AAAA WNZZA Ed01 Alcatel University 11

Page 12: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

PPPoA to PPPoE translation

Create VLANconfigure vlan id 200 name 200 mode residential-bridgeconfigure vlan shub id 200 mode residential-bridgeconfigure vlan shub id 200 egress-port network:2configure vlan shub id 200 egress-port lt:1/1/4

Create ATM logical flowconfigure atm pvc 1/1/4/5:0:35 aal5-encap-type llc-nlpid

Create PPPox-relay engineconfigure pppox-relay cross-connect global-sessionconfigure pppox-relay cross-connect engine 200 name 200

configure pppox-relay cross-connect client-port 1/1/4/5:0:35 vlan-id 200 max-cc 2 default-priority 0

PPPoE termination

Retrieval of PPPoE termination informationconfigure ip > info detailconfigure pppoe pppox-interface 1/1/8/5:8:36 > info detail

3FL 00324 AAAA WNZZA Ed01 Alcatel University 12

POTS,ISDN

CPE

7302 ISAM

LTE-MAN

Network

GE

Aggr.

IB

translationto PPPoEby PPPoE client

BRAS POTS,ISDN

CPE

7302 ISAM

LTE-MAN

Network

GE

Aggr.

IB

translationto PPPoEby PPPoE client

POTS,ISDN

CPE

POTS,ISDN

CPE

7302 ISAM

LTE-MAN

NetworkE-MAN

Network

GE

Aggr.

IBIB

translationto PPPoEby PPPoE client

BRAS

Page 13: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

Initial Setup from Scratch

ORVAL => 172.31.79.132

Connect via serial cable to ACU board / select C for full CLI accesslogin: isadmin, password: i$@mad- (change password to ANS#150)Setup below is for single IP address only.

For Single IP address option:configure system single-public-ip

Management IP addresses (here: ISAM IP = 172..31.79.153)configure system management host-ip-address manual:172.31.79.153/25configure system management default-route 172.31.79.129

Outband management on port 1configure interface shub port 1 port-type outband-mngtconfigure interface shub port 1 admin-status auto-up

# either use management vlan different from the default MGT-VLAN 4093:configure system mgnt-vlan-id 456configure system shub entry vlan ext-vlan-id 456# hereby is mgnt vlan automatically created on shubconfigure vlan shub id 456 egress-port network:1configure vlan shub id 456 untag-port network:1 # only if untagged mgt-portconfigure bridge shub port 1 pvid 456 # only if untagged mgt-port

# or use the default MGT-VLAN 4093 / untaggedconfigure vlan shub id 4093 egress-port network:1configure vlan shub id 4093 untag-port network:1configure bridge shub port 1 pvid 4093

Enable port 2 on SHUB for Network traffic (no VLAN memberships yet)configure interface shub port 2 port-type networkconfigure interface shub port 2 admin-status auto-up

3FL 00324 AAAA WNZZA Ed01 Alcatel University 13

UNTAGGED

LTSHUB

LAN AUA => 172.31.79.0/25 NETWORK PORT 1

E-MANPORT 2

IP

AWS AUADUVEL => 172.31.79.134BENGEL

=> 172.31.79.133

MGT IP ISAM1 => 172.31.79.151

MGT IPISAM2 => 172.31.79.152

…MGT IP ISAM6 => 172.31.79.156

NETWORK PORT

OUTBAND MGT PORT

MGT VLAN => 4093

ISP

UNTAGGED

LTSHUB

PORT 1

E-MANPORT 2

IP

Page 14: 14 7302 5523 Operator CLI Config Examples Annex

© 2

006

ALC

ATEL

BELL

N.V

. A

LL R

IGH

TS

R

ES

ER

VED

Alcatel 5523 & 7302 Hands-on

AWS Management (Access Filter, SNMP)# Note: you can also specify: 0.0.0.0/0 to grant any IP station accessconfigure system security snmp community public host-address 172.31.79.0/24 context nt privilege read-write

# Note: you can also specify: 0.0.0.0/0 to grant any IP station accessconfigure system security snmp community NETMAN host-address 172.31.79.0/24 context shub privilege read-write

Optional commands: Save and reset SHUBadmin software-mngt shub database saveadmin equipment reboot-shub systemreset

3FL 00324 AAAA WNZZA Ed01 Alcatel University 14